Skip to content

Instantly share code, notes, and snippets.

@lest
Created February 10, 2012 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lest/1790141 to your computer and use it in GitHub Desktop.
Save lest/1790141 to your computer and use it in GitHub Desktop.
#!/bin/sh
REPO="$1"
OUTFILE="$2"
gource -s 2 -i 20 -a 1 --stop-at-end \
--output-ppm-stream - --output-framerate 25 \
--multi-sampling \
--highlight-all-users "$REPO" | \
\
ffmpeg -y -b 6000K -r 25 -f image2pipe -vcodec ppm -i - -vcodec h264 "$OUTFILE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment