2 # Generates gource video (h.264) out of multiple repositories.
3 # Pass the repositories in command line arguments.
5 # <this.sh> /path/to/repo1 /path/to/repo2
7 outfile="leap-combined.webm"
8 config='leap_platform_combined.conf'
9 tmpvid='/tmp/tmpgource.webm'
10 audio='fire_at_will.mp3'
12 time gource $combined_log --load-config $config -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libvpx -b 10000K $tmpvid
14 ffmpeg -i $tmpvid -i $audio -map 0 -map 1 -vcodec copy -shortest $outfile