Skip to content

Instantly share code, notes, and snippets.

@Blunderchips
Created August 1, 2019 04:59
Show Gist options
  • Save Blunderchips/f7bb57998160bdde2838087340886892 to your computer and use it in GitHub Desktop.
Save Blunderchips/f7bb57998160bdde2838087340886892 to your computer and use it in GitHub Desktop.
#!/bin/bash
git clone https://github.com/kubernetes/kubernetes kubernetes #specify dir just to be safe
cd kubernetes
# https://github.com/acaudwell/Gource/wiki/Gravatar-Example
curl https://gist.githubusercontent.com/Blunderchips/35f5416fc4fe130efb68d1172448f774/raw/9eab3e439eb86ac17d8ab9c0b40859bfda043b34/gource-gravatar.perl -O
perl gource-gravatar.perl
gource --user-image-dir .git/avatar/ \
--multi-sampling --title "Kubernetes - https://github.com/kubernetes/kubernetes" \
--file-idle-time 0 -s 0.02 \
--hide mouse,progress,filenames,dirnames \
-f -3840x2160 --font-size 64 --output-framerate 60 --stop-at-end -o - \
| ffmpeg.exe -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset veryslow -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment