transcode : fix AV1 scaling.

This commit is contained in:
Dmitry Voronin 2023-11-27 16:01:31 +03:00
parent 1f79575eb6
commit 1ac242f75c

View file

@ -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.