Skip to content

Instantly share code, notes, and snippets.

@Swop
Last active December 11, 2015 10:48
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Swop/4588969 to your computer and use it in GitHub Desktop.
Save Swop/4588969 to your computer and use it in GitHub Desktop.
Simple steps to create a GIF from a screencast (OSX but works with Linux)
# Install ffmepg (for the screencast) & imagemagick (to optimize the GIF file for web usage)
brew install ffmpeg
brew install imagemagick
# Make the screencast and compress it
ffmpeg -i ScreenFlow.mov -pix_fmt rgb24 output.gif
convert -layers Optimize output.gif output_optimized.gif
# Upload it somewere in the cloud...
# ... and use the file in the desire website. Here's the markdown syntax:
# ![My demo](http://path_to_my_file/output_optimized.gif)
# Thanks to Schneems (Richard Schneeman) http://schneems.com/post/41104255619/use-gifs-in-your-pull-request-for-good-not-evil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment