From 084077b22e07494f12d57576ba3f32ee3ffdb694 Mon Sep 17 00:00:00 2001 From: desktop Date: Sun, 31 Dec 2023 16:38:06 +0300 Subject: [PATCH] Transcode : Mkv braudio make lower limit. --- .config/bash/module/Transcode.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/bash/module/Transcode.sh b/.config/bash/module/Transcode.sh index 03bb2fd..043a4d0 100644 --- a/.config/bash/module/Transcode.sh +++ b/.config/bash/module/Transcode.sh @@ -89,6 +89,7 @@ function _transcode_mkv() { local keyint=$(_ffprobe_keyint "${1}") local braudio=$(_ffprobe_ba "${1}") [[ ${braudio} -gt 128 ]] && braudio=128 + [[ ${braudio} -lt 32 ]] && braudio=32 # ffmpeg -n -i "${1}" -c:a libopus -b:a ${braudio}k -c:v libsvtav1 -crf 30 -svtav1-params "fast-decode=1:tune=0" -preset 8 -pix_fmt yuv420p10le -g ${keyint} -vf "scale=-2:min'(1080,ih)'" "${2}" ffmpeg -n -i "${1}" -map 0 -map -v -map V -map -t -c:s srt -ac 2 -c:a libopus -b:a ${braudio}k -c:v libsvtav1 -crf 30 -svtav1-params "tune=0" -pix_fmt yuv420p10le -g ${keyint} -vf "scale=-2:min'(1080,ih)'" "${2}"