Skip to content

Instantly share code, notes, and snippets.

@icaoberg
Last active December 28, 2015 03:19
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 icaoberg/7434217 to your computer and use it in GitHub Desktop.
Save icaoberg/7434217 to your computer and use it in GitHub Desktop.
Version control visualization using gource
#!/bin/bash
#COMMENT: I used brew to install gource and ffmpeg in MacOSX
#To install brew and the two packages in terminal run
#ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
#brew install gource
#brew install ffmpeg
OUTPUT=$1
gource --seconds-per-day 1 --auto-skip-seconds 1 -1280x720 -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 $OUTPUT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment