diff options
author | varac <varacanero@zeromail.org> | 2013-09-05 21:20:43 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-09-05 21:20:43 +0200 |
commit | e48f6d1b9cd2f22ccd8f8f957879e74dc35e6321 (patch) | |
tree | b644be4738fff1f6da302200bd5fe7351b761eb0 /gource/gource-multiple-repositories-create-video.sh | |
parent | 8da9a98a714fa0e80c55872ab1e5e0c464a8e2c7 (diff) |
added gource directory
Diffstat (limited to 'gource/gource-multiple-repositories-create-video.sh')
-rwxr-xr-x | gource/gource-multiple-repositories-create-video.sh | 14 |
1 files changed, 14 insertions, 0 deletions
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: +# <this.sh> /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 |