Created
February 2, 2015 10:30
-
-
Save calmez/5576733c629b83dbf631 to your computer and use it in GitHub Desktop.
Making GIFs out of video files
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
#! /bin/sh | |
ffmpeg -i $1 -pix_fmt rgb24 output.gif | |
echo "Optimizing GIF" | |
convert -layers Optimize output.gif $2 | |
rm -f output.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment