From e48f6d1b9cd2f22ccd8f8f957879e74dc35e6321 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 5 Sep 2013 21:20:43 +0200 Subject: added gource directory --- gource/gource-multiple-repositories-create-video.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 gource/gource-multiple-repositories-create-video.sh (limited to 'gource/gource-multiple-repositories-create-video.sh') diff --git a/gource/gource-multiple-repositories-create-video.sh b/gource/gource-multiple-repositories-create-video.sh new file mode 100755 index 0000000..4ff1a1f --- /dev/null +++ b/gource/gource-multiple-repositories-create-video.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +# Generates gource video (h.264) out of multiple repositories. +# Pass the repositories in command line arguments. +# Example: +# /path/to/repo1 /path/to/repo2 + +outfile="leap-combined.webm" +config='leap_platform_combined.conf' +tmpvid='/tmp/tmpgource.webm' +audio='fire_at_will.mp3' + +time gource $combined_log --load-config $config -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libvpx -b 10000K $tmpvid +rm $outfile +ffmpeg -i $tmpvid -i $audio -map 0 -map 1 -vcodec copy -shortest $outfile -- cgit v1.2.3