Last active
December 28, 2015 03:19
-
-
Save icaoberg/7434217 to your computer and use it in GitHub Desktop.
Version control visualization using gource
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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