Example for rendering a Gource video from a Git repository between two dates corresponding to two tags:
# List tag dates in ISO format
$ git for-each-ref --format="%(refname:short) | %(creatordate:iso)" "refs/tags/*"
...
1.220.0 | 2024-05-14 12:26:53 +0200
1.222.0 | 2024-06-20 17:25:44 +0200
...
# Using gravatar images with user-image-dir
# Gource Automation https://gist.github.com/mkoertgen/61ef2e75e3e09659791b77d7f63f67aa
$ gource --user-image-dir .git/avatar/
# Interactive
$ gource --start-date "2024-05-14" --stop-date "2024-06-20"
# Show all options
$ gource -H
# Render video
$ gource --start-date "2024-05-14" --stop-date "2024-06-20" -o gource.ppm
# Convert to mp4 (should be good compression)
$ ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i gource.ppm -vcodec libx264 -preset medium -pix_fmt yuv420p -f mp4 gource.mp4
# Add music
$ ffmpeg -i gource.mp4 -i music.mp3 -c:v copy -c:a aac -strict experimental gource-music.mp4
# Convert to webm
$ ffmpeg -i gource.mp4 -c:v libvpx -b:v 1M -c:a libvorbis gource.webm
Automation Examples