Created
April 11, 2010 16:41
Revisions
-
alkavan revised this gist
Apr 14, 2010 . 1 changed file with 30 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ ################################ gource commands ################################ # basic command 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 @@ -26,12 +27,31 @@ gource --max-user-speed 500 --seconds-per-day 0.05 --file-idle-time 10 -e 0.005 # less bloom --bloom-multiplier 0.70 ################################ gource preset ################################ # RAILS full (try) [if "--dont-stop" on need to stop manually] gource -1280x720 -b 000000 --stop-position 0.80 --disable-progress --max-user-speed 600 --seconds-per-day 0.03 -a 0.5 --file-idle-time 4 -e 0.006 --bloom-multiplier 0.70 --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" -f --output-ppm-stream - > ~/ppm/rails-full.ppm & # GIT gource -1280x720 --stop-at-end --disable-progress --max-user-speed 400 --seconds-per-day 0.1 --file-idle-time 2.5 -e 0.006 --bloom-multiplier 0.70 --hide-files --multi-sampling --max-files 400 --output-ppm-stream - > ~/ppm/git.ppm -p 0.5 -f --highlight-user "Linus Torvalds" # youtube resolution best -1920x1080 -1280x720 ################################ ffmepg two pass So if you wanted to encode using two-pass VBR, the command line would be something like: ################################ #first pass (if needed to check stuff) #think it can be that "-vcodec mpeg4" for windows ffmpeg -f image2pipe -i git.ppm -an -pass 1 -vcodec libx264 -vpre fastfirstpass -b 3000000 -threads 0 git.mp4 #you can try "-vpre max" for very high quality "-b <bitrate and time you found in first pass>" #this one gives good results with -1280x720 ffmpeg -f image2pipe -i git.ppm -vcodec libx264 -vpre hq -threads 0 -mbd rd -flags mv0 -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2 -b <3000000> git.mp4 # important about ffmpeg and bitrates overall average bit rate = file size in bytes * bits per byte / duration in seconds -
alkavan revised this gist
Apr 12, 2010 . 1 changed file with 15 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ # 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 @@ -20,5 +20,18 @@ gource --max-user-speed 500 --seconds-per-day 0.05 --file-idle-time 10 -e 0.005 # 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 -
alkavan created this gist
Apr 11, 2010 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ # 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 commans # 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 # add some more stuff here! # TODO: create some bash scripts