Skip to content

Instantly share code, notes, and snippets.

@piffy
Last active November 30, 2020 16:44
Show Gist options
  • Save piffy/afbd2fd3fc4c97e06258b30072dcd9fb to your computer and use it in GitHub Desktop.
Save piffy/afbd2fd3fc4c97e06258b30072dcd9fb to your computer and use it in GitHub Desktop.
Script per gourcevid (linux)
# installare gource
# crea il video a partire dai commit di Github
# mettere lo script nella cartella con il progetto, git pull e poi eseguire ./gourcevid.
#LOW RES
gource -1280x720 -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libvpx -b 10000K gource.webm
#HIRES
gource -1280x720 -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.mp4
# -b 65536K crea un file ad altissima risoluzione (50MB). Mettere una risoluzione più bassa aiuta.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment