Skip to content

Commit b3c86c1

Browse files
committed
Update gource scripts
Signed-off-by: Bensuperpc <[email protected]>
1 parent 31dc352 commit b3c86c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

video/gource-h265.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if (($# == 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
2525
gource --fullscreen --disable-input --multi-sampling --output-framerate 60 --seconds-per-day 0.3 \
26-
--hide mouse --filename-time 5 --max-files 0 --bloom-multiplier 0.8 --highlight-users --file-extension-fallback --path . \
26+
--hide mouse --filename-time 3 --max-files 0 --bloom-multiplier 0.8 --highlight-users --file-extension-fallback --path . \
2727
--auto-skip-seconds 0.9 --background-colour 000000 --key --stop-at-end --title "$git_url" --output-ppm-stream - | ffmpeg -y -r 60 \
2828
-f image2pipe -vcodec ppm -i - -vcodec libx265 -preset medium \
2929
-pix_fmt yuv420p -crf 18 -bf 0 "$1"

video/gource-nvenc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if (($# == 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
2525
gource --fullscreen --disable-input --multi-sampling --output-framerate 60 --seconds-per-day 0.1 \
26-
--hide mouse --filename-time 5 --max-files 0 --bloom-multiplier 0.8 --highlight-users --file-extension-fallback --path . \
26+
--hide mouse --filename-time 3 --max-files 0 --bloom-multiplier 0.8 --highlight-users --file-extension-fallback --path . \
2727
--auto-skip-seconds 0.1 --background-colour 000000 --key --stop-at-end --title "$git_url" --output-ppm-stream - | ffmpeg -y -r 60 \
2828
-f image2pipe -vcodec ppm -i - -vcodec hevc_nvenc -preset:v p7 -tune:v hq -rc:v vbr -cq:v 18 -b:v 0 -minrate:v 5M -maxrate:v 60M -bufsize:v 300M "$1"
2929
else

0 commit comments

Comments
 (0)