Last active
March 5, 2019 21:56
-
-
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.
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 characters
[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 |
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 characters
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