Skip to content

Instantly share code, notes, and snippets.

@alvinthen
Created December 19, 2016 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alvinthen/4fdb897705edf39a195f6d5b5450b08e to your computer and use it in GitHub Desktop.
Save alvinthen/4fdb897705edf39a195f6d5b5450b08e to your computer and use it in GitHub Desktop.
Convert .mov to .gif with speed up and reduced file size
mkdir output
ffmpeg -i Untitled.mov -vf scale=640:-1 -r 3 output/ffout%3d.png
convert -delay 1 -loop 0 output/ffout*.png output/output.gif     
convert output/output.gif -fuzz 10% -layers Optimize output/result.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment