DEV Community

Murahashi [Matt] Kenichi
Murahashi [Matt] Kenichi

Posted on

1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay