changeset 614:bc793415259c

Script for generating gource videos of commits.
author Simon Cross <hodgestar@gmail.com>
date Sun, 24 Apr 2011 20:46:06 +0200
parents 303087bcf1fa
children e71e13dbd570
files scripts/gource-vid.sh
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/gource-vid.sh	Sun Apr 24 20:46:06 2011 +0200
@@ -0,0 +1,11 @@
+#!/bin/sh
+# generate video for .py and .json commits
+gource --highlight-all-users -800x600 --stop-position 0.95 \
+       --file-filter '^(?>.*\.)(?!py|json$)' --output-ppm-stream - \
+    | ffmpeg -y -b 6000K -r 30 -f image2pipe -vcodec ppm -i - \
+             -vcodec mpeg4 -vtag xvid skaapsteker-coding.mp4
+# generate video for all commits
+gource --highlight-all-users -800x600 --stop-position 0.95 \
+       --output-ppm-stream - \
+    | ffmpeg -y -b 6000K -r 30 -f image2pipe -vcodec ppm -i - \
+             -vcodec mpeg4 -vtag xvid skaapsteker-all.mp4
\ No newline at end of file