Last active
February 11, 2022 16:23
-
-
Save eribeiro/5b7179f432bfffffe53d to your computer and use it in GitHub Desktop.
Run Gource on a git repo, outputs as a movie (movie.mp4) and compresses it (output.mp4)
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
gource -s .06 -1280x720 --auto-skip-seconds .1 --multi-sampling --stop-at-end --key --highlight-users --hide mouse,progress,files,filenames,dirnames --file-idle-time 0 --max-files 0 --background-colour 000000 --font-size 22 --title "Lucene/Solr" --output-ppm-stream - --output-framerate 30 | avconv -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K movie.mp4 | |
&& ffmpeg -i movie.mp4 -b:v 3048780 -vcodec libx264 -crf 24 output.mp4 |
tips on how to get gource running with a bare repo?
tried it and it says avconv: command not found
tried installing it using sudo apt-get install libav-tools
which results in E: Package 'libav-tools' has no installation candidate
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Saved me so much time today, thanks!