Skip to content

Instantly share code, notes, and snippets.

@seyfer
Forked from cgoldberg/gource.sh
Last active November 18, 2020 14:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seyfer/7f6b6174bc7820c656341823edd8031f to your computer and use it in GitHub Desktop.
Save seyfer/7f6b6174bc7820c656341823edd8031f to your computer and use it in GitHub Desktop.
Gource - Mir development video
# 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 "dev" \
--output-ppm-stream - \
--output-framerate 30 \
--start-date "2020-01-01"
| avconv -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K movie.mp4
# this will create movie.mp4
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