DEV Community

Murahashi [Matt] Kenichi
Murahashi [Matt] Kenichi

Posted on

mp4 to gif

I converted mp4 file to animation gif.
ffmpeg is better than imagemagick on my purpose.

At first I tried convert command (imagemagick). It took 5 minutes and more, 100x file size, and it didn't finish!
convert from.mp4 to.gif

mp4 size is 5MB, 30 seconds.

Next I try ffmpeg. It took 10 seconds. It's enough for me.
ffmpeg -i from.mp4 to.gif

https://askubuntu.com/questions/648603/how-to-create-an-animated-gif-from-mp4-video-via-command-line

Top comments (0)