Skip to content

Instantly share code, notes, and snippets.

@gugat
Last active March 2, 2018 06:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gugat/9826024b0c1c0fcbbb657ff0a4e7d13a to your computer and use it in GitHub Desktop.
Save gugat/9826024b0c1c0fcbbb657ff0a4e7d13a to your computer and use it in GitHub Desktop.

Convert .mov to .gif

Useful when you want to share in Github how a change in your code is working, or how to reproduce a bug. I use QuickTimePlayer to record the screen, then ffmpeg to convert the mov file to gif.

ffmpeg -i video.mov -r "15" video.gif

This example sets the frame rate to 15.

The output now can be uploaded to Github.

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