generated from me/template-mit
pv3, speed up while also using more compressed crf.
This commit is contained in:
+5
-2
@@ -1074,18 +1074,21 @@ function pv3 {
|
|||||||
ffprobe -i "$org"
|
ffprobe -i "$org"
|
||||||
|
|
||||||
echo -e "\n * Starting Processing *\n"
|
echo -e "\n * Starting Processing *\n"
|
||||||
|
date
|
||||||
|
set -x
|
||||||
ffmpeg -nostdin -hide_banner -loglevel level+warning \
|
ffmpeg -nostdin -hide_banner -loglevel level+warning \
|
||||||
-i "$org" \
|
-i "$org" \
|
||||||
-c:v libsvtav1 \
|
-c:v libsvtav1 \
|
||||||
-preset 0 \
|
-preset 2 \
|
||||||
-filter:v scale=-1:720 \
|
-filter:v scale=-1:720 \
|
||||||
-crf 18 \
|
-crf 28 \
|
||||||
-svtav1-params rc=1:tbr=2000k:overshoot-pct=0:undershoot-pct=100 \
|
-svtav1-params rc=1:tbr=2000k:overshoot-pct=0:undershoot-pct=100 \
|
||||||
-c:a libopus \
|
-c:a libopus \
|
||||||
-filter:a dynaudnorm=f=33:g=65:p=0.66:m=33.3 \
|
-filter:a dynaudnorm=f=33:g=65:p=0.66:m=33.3 \
|
||||||
-movflags +faststart \
|
-movflags +faststart \
|
||||||
"$out"
|
"$out"
|
||||||
status="$?"
|
status="$?"
|
||||||
|
set +x
|
||||||
|
|
||||||
if [[ "$status" != 0 || ! -s "$out" ]]; then
|
if [[ "$status" != 0 || ! -s "$out" ]]; then
|
||||||
echo "Failed, deleting output."
|
echo "Failed, deleting output."
|
||||||
|
|||||||
Reference in New Issue
Block a user