Created
June 25, 2014 02:21
-
-
Save shihanng/34b753969beac7b8aa62 to your computer and use it in GitHub Desktop.
Convert mov-file from a screencast into gif-file
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
ffmpeg -i [source-mov] -vf "scale=min(iw\,600):-1" -vcodec png -r 20 out%4d.png | |
sips -s format gif *.png --out . | |
gifsicle *.gif --colors 128 --optimize=3 --delay=3 --loopcount > [target-gif] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment