Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Decent HD gource settings
#!/bin/bash
# Using ffmpeg 2.8
SIZE=1920x1080
SPEED=.5
CAMERA_MODE=track
FRAMERATE=30
gource \
-r $FRAMERATE \
-s $SPEED \
-$SIZE \
--camera-mode $CAMERA_MODE \
--dir-name-depth 4 \
--padding 1.4 \
--auto-skip-seconds 1.0 \
--multi-sampling \
--stop-at-end \
--key \
--highlight-users \
--bloom-multiplier 0.7 \
--hide mouse,progress,filenames \
--file-idle-time 0 \
--max-files 0 \
--user-scale 2 \
--filename-time 2.0 \
--background-colour 000000 \
--dir-colour 222222 \
--filename-colour 222222 \
--dir-colour 888888 \
--caption-size 5 \
--font-size 20 \
--title "Dev history" \
--output-ppm-stream - \
--output-framerate 30 \
| ffmpeg -y -r $FRAMERATE -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset medium -pix_fmt yuv420p -crf 8 -threads 0 -bf 0 gource.mp4
ffmpeg -i gource.mp4 -vcodec libx264 -crf 20 output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.