Skip to content

Instantly share code, notes, and snippets.

@danielreiser
Last active September 12, 2018 15:30
Show Gist options
  • Save danielreiser/16074b86d50b62885e4c1b606fdaedbc to your computer and use it in GitHub Desktop.
Save danielreiser/16074b86d50b62885e4c1b606fdaedbc to your computer and use it in GitHub Desktop.
Convert mov to gif (slow down to 30 fps)
# Prerequisites ffmpeg (`brew install ffmpeg`) & gifsicle (`brew install gifsicle`)
# 1. Record screen with quicktime
# 2. Save as *.mov
# 3. Convert with ffmpeg & gifsicle :ok_hand:
ffmpeg -i input.mov -s 600x400 -pix_fmt rgb24 -r 30 -f gif - | gifsicle --optimize=3 --delay=3 > output.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment