-
-
Save luong-komorebi/6d4d91cf41aeebe50701b525279132ec to your computer and use it in GitHub Desktop.
Generate a MP4 Video for your Git project commits using Gource!
This file contains hidden or 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.install avconv | |
git clone git://git.libav.org/libav.git | |
cd libav | |
# it will take 3-5 minutes to complie, be patient. | |
./configure --disable-yasm | |
make && make install | |
# 3.generate a video for you repo. | |
$ cd your_repo_dir | |
$ gource \ | |
-s .06 \ | |
-1280x720 \ | |
--auto-skip-seconds .1 \ | |
--multi-sampling \ | |
--stop-at-end \ | |
--key \ | |
--highlight-users \ | |
--hide filenames,mouse,progress \ | |
--file-idle-time 0 \ | |
--max-files 0 \ | |
--background-colour 000000 \ | |
--logo logo1.png \ | |
--font-size 22 \ | |
--title "Employment Hero 2017 look back by Luong Vo" \ | |
--output-ppm-stream - \ | |
--output-framerate 30 \ | |
| avconv -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K movie.mp4 | |
# It's Done! Just share the video with your teammates, Have fun! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment