Hello,
This is a “very low bug” i think.
Any capable user can avoid this issue manually opening the video, converting it with another software and use it with flavours.
But why my phone cant share the original mp4? Neither Album (sony app for gallery) nor whatsapp or Twitter show generated movies, and if i do the manual search, the file shows up grayed out (see screenshot).
Perhaps is Android 8.1 that lacks support for this codec?
I downloaded the demo app from github, and trying to save a file with custom settings and H.263 (the codec that i saw used by your implementation) is all fine, the video is saved and shows up into gallery.
I will try to play tetris with demoapp settings for further analysis.
After creating a video with same properties than Flowx do, i began to minds on the storing location.
If i record a Flowx video, then i move out the video from /movies/flowx using any File Manager, my phone recognize it as a movie and index it. It come up on Twitter “last used video list”, shows up on Album… Then, if the video is moved to the original directory, it maintains visibility, playability and is sharable.
That behaviour is not reproducible using the Demo App, movies created by this app are immediatly indexed and shows up on phone media apps.
Is it possible to have an option to export as video or an animated GIF? A GIF might be a workaround of this particular issue and it would also solve a problem I have where the video is compressed automatically by my messaging app (Signal) before sharing.
An animated GIF is possible but it’ll still be recording to a MP4 first, then I’d have to find a library to convert the MP4 to an animated GIF. It’s been on the todo list for ages but not a high priority at the moment.