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)

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay