-
-
Save mbuckley/aacbd14ef284e06e256f6a61a34520e6 to your computer and use it in GitHub Desktop.
Generate a MP4 Video for your Git project commits 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
# 1.install gource using HomeBrew | |
$ brew install gource | |
# 2. generate a video for you repo. | |
$ cd your_repo_dir | |
$ gource \ | |
-s .1 \ | |
-1280x720 \ | |
--auto-skip-seconds .1 \ | |
--multi-sampling \ | |
--stop-at-end \ | |
--key \ | |
--highlight-users \ | |
--hide mouse,progress,filenames \ | |
--file-idle-time 0 \ | |
--max-files 0 \ | |
--background-colour 000000 \ | |
--font-size 22 \ | |
--title "The Making of Clio: A Commit-umentary" \ | |
--user-image-dir .git/avatar/ \ | |
--background-image ~/Desktop/gource/background.jpg \ | |
-o - \ | |
| ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 video_name.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment