Created
August 7, 2015 17:13
-
-
Save gscottolson/4b859ccdbd57b77de5d7 to your computer and use it in GitHub Desktop.
Convert MOV to Animated GIF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ./pngs | |
ffmpeg -i src.mov -r 10 ./pngs/out%04d.png | |
mkdir ./gifs | |
sips -s format gif .pngs/*.png --out ./gifs | |
gifsicle ./gifs/* --optimize=3 --loopcount --colors 256 --resize 375x667 > ./animation.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lifted from http://chrismessina.me/b/13913393/mov-to-gif