pv3, change tbr (target bitrate) to 1000k and allow overshoot to still take it to 2000k like doing with h264.

This commit is contained in:
me
2026-09-15 07:12:39 -07:00
parent fd2720eb6c
commit 2ee0fd2c31
+22 -3
View File
@@ -1070,6 +1070,25 @@ function pv3 {
out="$2"
echo "Processing '$org' to '$out' using AV1 and OPUS."
## Versions ##
# v0
preset=0 # took 20 minutes where preset 2 was under 2 minutes
crf=18
vbr=2000k # this is creating 2Mbps files, not maxxing at 2.
overshoot=0
undershoot=100
# v1
preset=2 # WAY faster and still great.
crf=28 # much smaller filesize
# v2
vbr=1000k
overshoot=100
## Main ##
echo -e "\n * Original File * \n"
ffprobe -i "$org"
@@ -1079,10 +1098,10 @@ function pv3 {
ffmpeg -nostdin -hide_banner -loglevel level+warning \
-i "$org" \
-c:v libsvtav1 \
-preset 2 \
-preset $preset \
-filter:v scale=-1:720 \
-crf 28 \
-svtav1-params rc=1:tbr=2000k:overshoot-pct=0:undershoot-pct=100 \
-crf $crf \
-svtav1-params rc=1:tbr=${vbr}:overshoot-pct=${overshoot}:undershoot-pct=${undershoot} \
-c:a libopus \
-filter:a dynaudnorm=f=33:g=65:p=0.66:m=33.3 \
-movflags +faststart \