Using ffmpeg to convert gif to mp4, the output does not play on android

I just use the following command to convert gif file to mp4, but the resulting mp4 file is not playable in the default android video player.
that I was wrong?
are there any additional steps i should take to create mp4 files to play in android?

$ ffmpeg -f gif -i infile.gif outfile.mp4

      

my test gif file: Test Gif File
My desktop played output.mp4 perfectly with VLC Media Player and also MX Player on my Android device played the video file without any errors.

+3


source to share





All Articles