Skip to content

Instantly share code, notes, and snippets.

@Frozenfire92
Forked from XueshiQiao/gource.sh
Last active December 8, 2015 03:56
Show Gist options
  • Save Frozenfire92/2e4054b022595297c129 to your computer and use it in GitHub Desktop.
Save Frozenfire92/2e4054b022595297c129 to your computer and use it in GitHub Desktop.
Generate a MP4 Video for your Git project commits using Gource!
gource \
-1920x1080 \
--seconds-per-day 2 \
--camera-mode overview \
--auto-skip-seconds .5 \
--stop-at-end \
--key \
--hide mouse,progress \
--file-idle-time 0 \
--max-files 0 \
--background-colour 000000 \
--font-size 22 \
--title "Title" \
--date-format "%B %d %Y" \
--output-ppm-stream - \
--disable-bloom \
| ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 -b 65536K repo.mp4 \
&& ffmpeg -i repo.mp4 reposm.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment