Skip to content

Instantly share code, notes, and snippets.

@thpoiani
Created March 4, 2016 22:03
Show Gist options
  • Save thpoiani/f75182e06252521941e2 to your computer and use it in GitHub Desktop.
Save thpoiani/f75182e06252521941e2 to your computer and use it in GitHub Desktop.
#!/bin/sh
git log --pretty=format:user:%aN%n%ct --reverse --raw --encoding=UTF-8 --no-renames --no-merges > gource-git.log
gource \
-1280x720 \
--seconds-per-day 1.5 \
--auto-skip-seconds 0.5 \
--multi-sampling \
--stop-at-end \
--highlight-users \
--hide mouse,progress,filenames,bloom \
--file-idle-time 13 \
--max-files 0 \
--output-framerate 30 \
-o - \
gource-git.log \
| ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment