Skip to content

Instantly share code, notes, and snippets.

@eon01
Created February 19, 2019 14:34
Show Gist options
  • Save eon01/1c15dd189fd8cc4e0a910fb51d5f01ee to your computer and use it in GitHub Desktop.
Save eon01/1c15dd189fd8cc4e0a910fb51d5f01ee to your computer and use it in GitHub Desktop.
ffmpeg -i <video.mp4|flv> -vf scale=640:-1 -r 10 -f image2pipe -vcodec ppm - | convert -delay 5 -loop 0 - gif:- | convert -layers Optimize - <output.gif>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment