Skip to content

Instantly share code, notes, and snippets.

@dy-dx
Created November 27, 2013 19:01
Show Gist options
  • Save dy-dx/7681225 to your computer and use it in GitHub Desktop.
Save dy-dx/7681225 to your computer and use it in GitHub Desktop.
gource & ffmpeg settings
#!/bin/bash
gource \
--user-image-dir avatars/ \
--title "viewthespace" \
--highlight-users \
--user-scale 3 \
--auto-skip-seconds 0.01 \
--file-idle-time 0 \
--highlight-colour 00FF00 \
--stop-at-end \
--hide mouse,filenames \
--multi-sampling \
--max-file-lag 2 \
--bloom-intensity 0.5 \
--bloom-multiplier 0.5 \
-e 0.02 \
--seconds-per-day 0.05 \
-1280x720 -r 30 -o - | ffmpeg -y -r 30 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 18 -b:v 3000000 -threads 0 -bf 0 gource.mp4
# adding music
# ffmpeg -i music.mp3 -i gource.mp4 -codec copy gource-final.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment