Skip to content

Instantly share code, notes, and snippets.

@mokiding
Forked from cgoldberg/gource.sh
Last active March 4, 2018 23:31
Show Gist options
  • Save mokiding/05201223ccdda95e69acbc563b3e32a1 to your computer and use it in GitHub Desktop.
Save mokiding/05201223ccdda95e69acbc563b3e32a1 to your computer and use it in GitHub Desktop.
Generate a MP4 Video for your Git project commits using Gource!
# install bzr and gource
# get a branch of Mir's trunk code
# create gource video
$ sudo apt-get install bzr gource
$ bzr branch lp:mir
$ cd mir
$ gource \
-s .06 \
-1280x720 \
--auto-skip-seconds .1 \
--multi-sampling \
--stop-at-end \
--key \
--highlight-users \
--hide mouse,progress \
--file-idle-time 0 \
--max-files 0 \
--background-colour 000000 \
--font-size 22 \
--title "Mir - development ($ bzr branch lp:mir) June 2012 - June 2013" \
--output-ppm-stream - \
--output-framerate 30 \
| avconv -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K movie.mp4
# this will create movie.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment