Skip to content

Instantly share code, notes, and snippets.

@saleh-old
Created July 13, 2020 13:08
Show Gist options
  • Save saleh-old/de38275fbd33f27c7db49ec97dadfa95 to your computer and use it in GitHub Desktop.
Save saleh-old/de38275fbd33f27c7db49ec97dadfa95 to your computer and use it in GitHub Desktop.

Installation:

brew install ffmpeg 
brew cask install xquartz
brew install gifsicle

usage for file with the name in.mov and output of out.gif:

ffmpeg -i in.mov -s 1400x900 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=1 > out.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment