install the following pre-requisites:
add debian multimedia repo – http://debian-multimedia.org
$ sudo apt-get install x264 ffmpeg gource
make sure you’ll get the latest on all projects:
$ cd ~/icinga/gource $ git clone git://git.icinga.org/icinga-core.git $ git clone git://git.icinga.org/icinga-doc.git $ git clone git://git.icinga.org/icinga-api.git $ git clone git://git.icinga.org/icinga-web.git
$ cd icinga-core
optional: if you want to use gravatars, fetch that perl script and run it. it will place fetched avatars in .git/avatar which can be used in below’s example. if you are omitting this, remove the param in the commands below.
$ perl grab_avatars.pl
for each project, we need to get the git log from the past year (or similar period)
$ git log --pretty=format:user:%aN%n%at --reverse --raw --encoding=UTF-8 --no-renames --since="1 year ago" > git.log
1 second per day should be enough speed (-s 1). 720p for youtube is also good 🙂
$ gource --path git.log --user-image-dir .git/avatar/ -s 1 --auto-skip-seconds 0.1 --file-idle-time 50 --max-files 500 --multi-sampling -1280x720 --stop-at-end --elasticity 0.1 -b 000000 --disable-progress --user-friction .2 --disable-bloom --output-ppm-stream - | ffmpeg -an -threads 4 -y -vb 4000000 -aspect 16:9 -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -vpre slow gource.mp4
take the gource.mp4 and upload to wherever you want.
Hi Michael, I’ve posted a link from my blog to this blog post for the explanation on how to set-up gource and the use of grab_avatars.pl 😉