Skip to content

Instantly share code, notes, and snippets.

@nejdetckenobi
Forked from eribeiro/gource-ffmpeg.sh
Created January 30, 2018 14:16
Show Gist options
  • Select an option

  • Save nejdetckenobi/f29535c3d16c92d8d9f93eb7afbf849c to your computer and use it in GitHub Desktop.

Select an option

Save nejdetckenobi/f29535c3d16c92d8d9f93eb7afbf849c to your computer and use it in GitHub Desktop.
Run Gource on a git repo, outputs as a movie (movie.mp4) and compresses it (output.mp4)
gource -s .06 -1280x720 --auto-skip-seconds .1 --multi-sampling --stop-at-end --key --highlight-users --hide mouse,progress,files,filenames,dirnames --file-idle-time 0 --max-files 0 --background-colour 000000 --font-size 22 --title "Lucene/Solr" --output-ppm-stream - --output-framerate 30 | avconv -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K movie.mp4
&& ffmpeg -i movie.mp4 -b:v 3048780 -vcodec libx264 -crf 24 output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment