Skip to content

Commit e9eeadc

Browse files
committed
Improve bitrate on gource nvenc (160M to 200M)
Signed-off-by: Bensuperpc <[email protected]>
1 parent dc96f70 commit e9eeadc

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
@@ -27,7 +27,7 @@ if (($# == 1)); then
2727
--hide mouse --filename-time 2 --max-files 0 --bloom-multiplier 0.8 --highlight-users --file-extension-fallback --path . \
2828
--auto-skip-seconds 0.9 --background-colour 000000 --key --stop-at-end --title "$git_url" --output-ppm-stream - | ffmpeg -y -r 60 \
2929
-f image2pipe -vcodec ppm -i - -vcodec libx265 -preset medium \
30-
-crf 14 -bf 0 -minrate:v 10M -maxrate:v 120M -bufsize:v 800M "$1"
30+
-crf 12 -bf 0 -minrate:v 10M -maxrate:v 200M -bufsize:v 800M "$1"
3131
else
3232
echo "Usage: ${0##*/} <ouput file>"
3333
exit 1

video/gource-nvenc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if (($# == 1)); then
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 160M -bufsize:v 800M "$1"
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"
3030
else
3131
echo "Usage: ${0##*/} <ouput file>"
3232
exit 1

0 commit comments

Comments
 (0)