1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00

subtitle.remux: remove copyts

copyts made that videos started at 10s and made subtitles be wrong.
This commit is contained in:
Johan Andersson 2018-07-12 00:53:55 +02:00
parent 3ad8c509f9
commit c97ec9030e

View File

@ -117,7 +117,7 @@ class postprocess(object):
log.info(u"Muxing {0} into {1}".format(orig_filename, new_name))
tempfile = u"{0}.temp".format(orig_filename)
arguments = ["-map", "0:{}".format(videotrack), "-map", "0:{}".format(audiotrack), "-c", "copy", "-copyts", "-f", "mp4"]
arguments = ["-map", "0:{}".format(videotrack), "-map", "0:{}".format(audiotrack), "-c", "copy", "-f", "mp4"]
if ext == ".ts":
arguments += ["-bsf:a", "aac_adtstoasc"]