pv3, a few more tweaks as we learn more about AV1.

This commit is contained in:
me
2026-09-15 17:52:41 -07:00
parent c3d845e98e
commit 9ce76da18d
+15 -1
View File
@@ -1144,6 +1144,19 @@ function pv3 {
# Fix weird aspect ratios.
scale="1280:720,setsar=1"
# v4
# Assuming it was just a weird Pixel phone video issue.
scale=-1:720
# Remove CRF since we are using VBR.
crf=""
# Still not 100% on these but seems like a good ballpark.
preset=6
vbr=800k
overshoot=50
undershoot=100
# Add audio bitrate.
abr=128k
## Main ##
echo -e "\n * Original File * \n"
@@ -1157,14 +1170,15 @@ function pv3 {
-c:v libsvtav1 \
-preset $preset \
-filter:v scale=$scale \
-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 \
-b:a $abr \
-movflags +faststart \
"$out"
status="$?"
set +x
# -crf $crf \
if [[ "$status" != 0 || ! -s "$out" ]]; then
echo "Failed, deleting output."