Last active
September 12, 2018 15:30
-
-
Save danielreiser/16074b86d50b62885e4c1b606fdaedbc to your computer and use it in GitHub Desktop.
Convert mov to gif (slow down to 30 fps)
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
# 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