File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2222if (( $# == 1 )) ; then
2323 git_url=$( git config --get remote.origin.url)
2424 # -2560x1440 # If not --fullscreen # --date-format "%Y-%m-%d" --elasticity 0.1 --max-user-speed 500
25- # FFMPEG -pix_fmt yuv420p
25+ # FFMPEG -pix_fmt yuv420p yuvj420p rgb0
2626 gource --fullscreen --disable-input --multi-sampling --output-framerate 60 --seconds-per-day 0.1 \
2727 --hide mouse --filename-time 2 --max-files 0 --bloom-multiplier 0.8 --highlight-users --file-extension-fallback --path . \
2828 --auto-skip-seconds 0.1 --background-colour 000000 --key --stop-at-end --title " $git_url " --output-ppm-stream - | ffmpeg -y -r 60 \
29- -f image2pipe -vcodec ppm -i - -vcodec hevc_nvenc -preset:v p7 -tune:v hq -rc:v vbr -cq:v 12 -b:v 0 -minrate:v 10M -maxrate:v 200M -bufsize:v 800M " $1 "
29+ -f image2pipe -vcodec ppm -i - -vcodec hevc_nvenc -pix_fmt rgb0 - preset:v p7 -tune:v hq -rc:v vbr -cq:v 12 -b:v 0 -minrate:v 10M -maxrate:v 200M -bufsize:v 800M " $1 "
3030else
3131 echo " Usage: ${0##*/ } <ouput file>"
3232 exit 1
You can’t perform that action at this time.
0 commit comments