Last active
November 30, 2020 16:44
-
-
Save piffy/afbd2fd3fc4c97e06258b30072dcd9fb to your computer and use it in GitHub Desktop.
Script per gourcevid (linux)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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