From 1ac242f75ca3bee9df828ec027e72c94230c7cc8 Mon Sep 17 00:00:00 2001 From: desktop Date: Mon, 27 Nov 2023 16:01:31 +0300 Subject: [PATCH] transcode : fix AV1 scaling. --- .config/bash/module/transcode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/bash/module/transcode.sh b/.config/bash/module/transcode.sh index e246dc5..81f2f2d 100644 --- a/.config/bash/module/transcode.sh +++ b/.config/bash/module/transcode.sh @@ -124,7 +124,7 @@ _transcode_mkv() [[ ${braudio} -gt 128 ]] && braudio=128 # Convert. - ffmpeg -i "${1}" -c:a libopus -b:a ${braudio}k -c:v libsvtav1 -crf 35 -svtav1-params 'fast-decode=1:tune=0' -preset 8 -g ${keyint} -vf 'scale=-1:min(1080,ih)' "${1%.*}.mkv" + ffmpeg -i "${1}" -c:a libopus -b:a ${braudio}k -c:v libsvtav1 -crf 35 -svtav1-params "fast-decode=1:tune=0" -preset 8 -g ${keyint} -vf "scale=-1:min'(1080,ih)'" "${1%.*}.mkv" } # Export.