Created
May 21, 2015 10:00
-
-
Save arnaudlimbourg/7f184af61e45022bc71b to your computer and use it in GitHub Desktop.
Convert video to animated gif with ffmpeg and gifsicle
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
# found on the net, here to remember the exact command | |
brew install gifsicle | |
ffmpeg -i input_file -vf "scale=min(iw\,600):-1" -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=7 --colors 256 > outfile.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment