Last active
February 11, 2020 17:37
-
-
Save RodrigoEspinosa/68e61f5aff3846fc974e to your computer and use it in GitHub Desktop.
Alias for OS X Screencast 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
mov-to-gif() { | |
ffmpeg -i $1 -vf "scale=1024:-1:flags=lanczos" -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=0 --delay=7 # | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is basically an alias for this gist https://gist.github.com/dergachev/4627207 with a bit optimised gif output.