Created
October 20, 2016 17:06
-
-
Save smdern/a8d2bae2c4712cd2f4a00b29f593c8c1 to your computer and use it in GitHub Desktop.
git-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
#!/usr/bin/env bash | |
git log --pretty=format:user:%aN%n%at --reverse --raw \ | |
--encoding=UTF-8 --no-renames --after={4.weeks.ago} \ | |
> git.log | |
gource \ | |
--seconds-per-day .001 \ | |
-1280x720 \ | |
--auto-skip-seconds .001 \ | |
--multi-sampling \ | |
--stop-at-end \ | |
--file-idle-time 15 \ | |
--max-files 0 \ | |
--output-ppm-stream - \ | |
--output-framerate 30 \ | |
git.log \ | |
| ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -an -threads 0 -bf 0 gource.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment