Skip to content

Instantly share code, notes, and snippets.

@garyhtou
Last active February 27, 2024 02:57
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garyhtou/b0d81358a45c7199d4e61d67fedb0c0c to your computer and use it in GitHub Desktop.
Save garyhtou/b0d81358a45c7199d4e61d67fedb0c0c to your computer and use it in GitHub Desktop.
Creating Hack Club Bank gource

Creating Hack Club Bank gource

  1. Install gource and ffmpeg
    brew install gource
    brew install ffmpeg
  2. Place bank-bg-dark.png in the root of your local copy of the Bank repo
  3. cd /your/bank/repo/location
  4. gource -1920x1080 --auto-skip-seconds 1 --disable-bloom --background-image bank-bg-dark.png  --hide mouse,progress --user-scale 1.5 --highlight-users -s 0.5 -r 60 --key --date-format "%B %d, %Y %T" -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -crf 1 -threads 0 -bf 0 bank-gource.mp4
  5. tada 🎉! You get a file called bank-gource.mp4

bank-bg-dark.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment