transcode : enable 10 bit for av1.

This commit is contained in:
Dmitry Voronin 2023-11-27 22:51:29 +03:00
parent f4ec896c79
commit 84f2e89dd4

View file

@ -117,7 +117,7 @@ _transcode_mkv()
local braudio=$(_ffprobe_ba "${1}")
[[ ${braudio} -gt 128 ]] && braudio=128
ffmpeg -i "${1}" -c:a libopus -b:a ${braudio}k -c:v libsvtav1 -crf 30 -svtav1-params "fast-decode=1:tune=0" -preset 6 -g ${keyint} -vf "scale=-2:min'(1080,ih)'" "${2}"
ffmpeg -i "${1}" -c:a libopus -b:a ${braudio}k -c:v libsvtav1 -crf 30 -svtav1-params "fast-decode=1:tune=0" -preset 6 -pix_fmt yuv420p10le -g ${keyint} -vf "scale=-2:min'(1080,ih)'" "${2}"
}
_ffprobe_fps()