Last active
August 25, 2023 17:56
-
-
Save tigattack/a445c31fbd346d010c4b875f18c0587e to your computer and use it in GitHub Desktop.
tig's Gource config
This file contains 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] | |
fullscreen=true | |
high-dpi=true | |
multi-sampling=true | |
output-framerate=60 | |
output-ppm-stream=- | |
screen=2 | |
[gource] | |
auto-skip-seconds=0.1 | |
key=true | |
seconds-per-day=0.25 | |
max-file-lag=2 | |
stop-at-end=true | |
time-scale=2.5 | |
logo=/path/to/bottom-right-logo.png | |
bloom-intensity=0.5 | |
filename-time=2 | |
disable-input=true |
This file contains 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
#!/usr/bin/env bash | |
gource --load-config ./gource.conf | \ | |
ffmpeg -r 60 -f image2pipe -vcodec ppm \ | |
-i - -vcodec libx264 -pix_fmt yuv420p \ | |
-crf 15 -threads 12 -bf 0 gource.mp4 | |
# Or to use hardware encoding on a Mac: | |
# gource --load-config ./gource.conf | \ | |
# ffmpeg -r 60 -f image2pipe -vcodec \ | |
# ppm -i - -c:v hevc_videotoolbox \ | |
# -b:v 21000k -pix_fmt yuv420p \ | |
# -threads 12 -bf 0 gource2.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment