mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
subtitle.remux: remove copyts
copyts made that videos started at 10s and made subtitles be wrong.
This commit is contained in:
parent
3ad8c509f9
commit
c97ec9030e
@ -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"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user