Last active
February 24, 2016 03:02
-
-
Save kimar/2e6d1993df3fae299c88 to your computer and use it in GitHub Desktop.
Use ffmpeg and giscicle to convert video to gif, add this to your .bashrc (or equivalent) and be happy
This file contains hidden or 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
movToGif() { | |
TARGET="${2:-$1.gif}" | |
ffmpeg -i $1 -r 10 -f gif - | gifsicle --optimize=3 --delay=6 > $TARGET | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment