From 73911c52e6cc8073775cb3153b20557b8e51466d Mon Sep 17 00:00:00 2001 From: home Date: Thu, 30 Nov 2023 17:22:05 +0300 Subject: [PATCH] transcode : mkv add srt conversion. --- .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 231d6fb..260801d 100644 --- a/.config/bash/module/transcode.sh +++ b/.config/bash/module/transcode.sh @@ -122,7 +122,7 @@ _transcode_mkv() [[ ${braudio} -gt 128 ]] && braudio=128 # 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}" -c:a libopus -b:a ${braudio}k -c:v libsvtav1 -crf 30 -svtav1-params "fast-decode=1:tune=0" -pix_fmt yuv420p10le -g ${keyint} -vf "scale=-2:min'(1080,ih)'" "${2}" + ffmpeg -n -i "${1}" -c:s srt -c:a libopus -b:a ${braudio}k -c:v libsvtav1 -crf 30 -svtav1-params "fast-decode=1:tune=0" -pix_fmt yuv420p10le -g ${keyint} -vf "scale=-2:min'(1080,ih)'" "${2}" } # Export.