Respect timestamps when extracting subtitles

This commit is contained in:
Shadowghost 2022-08-02 13:21:10 +02:00
parent feb035b9e0
commit f49a051a5f

View File

@ -570,7 +570,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
var processArgs = string.Format(
CultureInfo.InvariantCulture,
"-i {0} -map 0:{1} -an -vn -c:s {2} \"{3}\"",
"-i {0} -copyts -map 0:{1} -an -vn -c:s {2} \"{3}\"",
inputPath,
subtitleStreamIndex,
outputCodec,