Skip to content

Instantly share code, notes, and snippets.

@zenware
Last active March 5, 2019 21:56
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 zenware/c94aa47e4444929de8eb9ac690470308 to your computer and use it in GitHub Desktop.
Save zenware/c94aa47e4444929de8eb9ac690470308 to your computer and use it in GitHub Desktop.
I figured out that you can include your options in a configuration file... so that you don't have to have an insanely long command with all of them set.
[display]
multi-sampling=true
output-framerate=25
output-ppm-stream=gource.ppm
viewport=1920x1080
[gource]
auto-skip-seconds=1
bloom-intensity=0.25
bloom-multiplier=0.75
dir-name-depth=2
dir-name-position=1.0
file-idle-time=0
hide=filenames,progress
highlight-dirs=true
key=true
max-file-lag=0.1
seconds-per-day=0.25
title=Puppet Dev
user-scale=5
gource --load-config gource.cfg
# I should learn more about the ffmpeg flags
ffmpeg -y -r 25 -f image2pipe -vcodec ppm -i gource.ppm -vcodec libx264 -preset medium -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment