Skip to content

Instantly share code, notes, and snippets.

@tigattack
Last active August 25, 2023 17: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 tigattack/a445c31fbd346d010c4b875f18c0587e to your computer and use it in GitHub Desktop.
Save tigattack/a445c31fbd346d010c4b875f18c0587e to your computer and use it in GitHub Desktop.
tig's Gource config
[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
#!/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