Skip to content

Instantly share code, notes, and snippets.

@sdiehl
Created August 23, 2010 19:56
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 sdiehl/546201 to your computer and use it in GitHub Desktop.
Save sdiehl/546201 to your computer and use it in GitHub Desktop.
# SVN Gource
# Download http://gource.googlecode.com/files/svn-gource-1.2.tar.gz and place svn-source.py in directory
# 1 Day = 0.05 seconds
COMPRESSION=0.05
svn log --verbose --xml > my-project.log
python svn-gource.py --filter-dirs my-project.log > data_unsorted.log
sort -t'|' -k1 data_unsorted.log > data_sorted.log
gource --log-format custom data_sorted.log -s $(COMPRESSION) --disable-progress --stop-at-end --output-ppm-stream - | ffmpeg -y -b 3000K -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -vpre libx264-default gource.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment