Skip to content

Instantly share code, notes, and snippets.

@reccanti
Created April 23, 2020 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reccanti/dcf7897e63cae8f4821ec38b85c41667 to your computer and use it in GitHub Desktop.
Save reccanti/dcf7897e63cae8f4821ec38b85c41667 to your computer and use it in GitHub Desktop.
A script I use to convert .mov files generated by the MacOS cmd+shift+5 Screen Record tool into gifs. Based on this article from the Giphy Engineering Blog: https://engineering.giphy.com/how-to-make-gifs-with-ffmpeg/
ffmpeg -i BackToTopDemo.mov -filter_complex "[0:v] fps=30,scale=720:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse" BackToTopDemo.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment