diff --git a/rc_shared.sh b/rc_shared.sh index a2e30f3..59b4984 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -1073,6 +1073,7 @@ function pv3 { ## Versions ## # v0 + scale=-1:720 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. @@ -1084,9 +1085,14 @@ function pv3 { crf=28 # much smaller filesize # v2 + # Try to mimic h264 better. vbr=1000k overshoot=100 + # v3 + # Fix weird aspect ratios. + scale="1280:720,setsar=1" + ## Main ## echo -e "\n * Original File * \n" @@ -1099,7 +1105,7 @@ function pv3 { -i "$org" \ -c:v libsvtav1 \ -preset $preset \ - -filter:v scale=-1:720 \ + -filter:v scale=$scale \ -crf $crf \ -svtav1-params rc=1:tbr=${vbr}:overshoot-pct=${overshoot}:undershoot-pct=${undershoot} \ -c:a libopus \