Skip to content

Instantly share code, notes, and snippets.

@alkavan
Created April 11, 2010 16:41
Show Gist options
  • Save alkavan/362860 to your computer and use it in GitHub Desktop.
Save alkavan/362860 to your computer and use it in GitHub Desktop.
Gource and ffmpeg Commands
# gource commands
# for big and long projects
gource --max-user-speed 500 --seconds-per-day 0.05 --file-idle-time 10 -e 0.005 -f --max-files 300 --hide-files
# some easy to understand commands
# for output file
--output-ppm-stream ~/ppm/ppm-kohana
# if a lot of files
--max-files 200
# for keeping users on screen
--highlight-all-users
# more elastic tree
-e 0.01
# longer days:
--seconds-per-day 1
# less files on screen
--max-files 400
# less bloom
--bloom-multiplier 0.70
# add some more stuff here!
# TODO: create some bash scripts
# rails : Mon Jul 11 05:17:22 2005 +0000
gource -704x480 --max-user-speed 400 --seconds-per-day 0.04 --file-idle-time 2 -e 0.006 --bloom-multiplier 0.70 -f --hide-files --multi-sampling --max-files 400 --highlight-user "David Heinemeier Hansson" --highlight-user "Nicholas Seckar" --highlight-user "Leon Breedt" --highlight-user "Jamis Buck" --highlight-user "Sam Stephenson" --output-ppm-stream ~/ppm/rails.pp
# encode with ffmpeg
# "-vpre hq" for less quality
ffmpeg -f image2pipe -i rails.ppm -vcodec libx264 -vpre max -crf 22 -threads 0 rails.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment