gource & ffmpeg
This file contains 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
#!/bin/bash | |
# https://github.com/acaudwell/Gource | |
# brew install gource | |
# brew install ffmpeg | |
cd "/Users/user/Documents/repositories/my-favorite-project" | |
gource \ | |
-s 1 \ | |
--start-date "2022-02-02 00:00:00 +0" \ | |
-title "my-favorite-project-title" \ | |
-1920x1080 \ | |
--auto-skip-seconds .1 \ | |
--multi-sampling \ | |
--stop-at-end \ | |
--key \ | |
--highlight-users \ | |
--date-format "%d/%m/%y" \ | |
--hide mouse,filenames \ | |
--file-idle-time 0 \ | |
--max-files 0 \ | |
--background-colour 000000 \ | |
--font-size 25 \ | |
--output-ppm-stream - \ | |
--output-framerate 30 \ | |
| ffmpeg -f image2pipe -framerate 30 -i - -c:v libx264 -vf format=yuv420p -r 30 -movflags +faststart "/Users/user/Documents/repositories/video.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment