Skip to content

Instantly share code, notes, and snippets.


Christopher Bunn mypetyak

View GitHub Profile
mypetyak /
Last active Mar 29, 2020 — forked from tskaggs/
Creating GIFs from .MOV files in OSX using FFmpeg and ImageMagick

Convert .mov to .gif

# produce frames
❯ ffmpeg -i -vf scale=200:-1 -r 5 output/ffout%3d.png

# compose the .gif
❯ convert -delay 8 -loop 0 output/ffout*.* output/animation.gif

# shrink the file
❯ mogrify -layers 'optimize' -fuzz 7% output/animation.gif