Instantly share code, notes, and snippets.

Embed
What would you like to do?
Alias for OS X Screencast to animated GIF
mov-to-gif() {
ffmpeg -i $1 -vf "scale=1024:-1:flags=lanczos" -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=0 --delay=7 #
}
@RodrigoEspinosa

This comment has been minimized.

Owner

RodrigoEspinosa commented Apr 5, 2015

This is basically an alias for this gist https://gist.github.com/dergachev/4627207 with a bit optimised gif output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment