Skip to content

Instantly share code, notes, and snippets.

@davo

davo/README.md

Forked from mbostock/.block
Last active Aug 29, 2015
Embed
What would you like to do?
  1. If you haven’t already: brew install ffmpeg gifsicle imagemagick.
  2. Open QuickTime Player.
  3. File > New Screen Recording.
  4. Record.
  5. Save as recording.mov.
  6. mkdir frames
  7. ffmpeg -i recording.mov -r 24 recording-%03d.png
  8. convert recording-001.png palette.gif
  9. convert -dither none -remap palette.gif recording-*.png recording-uncompressed.gif
  10. gifsicle --optimize=3 --delay=4 < recording-uncompressed.gif > recording.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment