Created
March 17, 2016 08:13
-
-
Save cubicleDowns/8e4ebb610734bd28292a to your computer and use it in GitHub Desktop.
Script to output a source tree video of all commits via 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
# install brew | |
# | |
# download gource | |
# brew install all pre-reqs for gource. | |
# | |
# configure, make, make install | |
# | |
# use following script to output a movie. | |
# -s is seconds per day. In this example, 1 second is 10 days. 1/10 == 0.1 You'll want to tweak this value. | |
# | |
# Run this from within' a git directory. It'll automagically parse your git history and create a video for you. | |
gource --hide filenames,dirnames,mouse -o - -highlight-all-users -s 0.1 | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 YOUR_PROJECT_NAME.gource.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment