mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 15:14:14 +01:00
postprocess: only do merge to mp4 no need for remux.
This commit is contained in:
parent
3497e0577d
commit
f9718902a9
@ -232,11 +232,11 @@ def get_one_media(stream):
|
||||
stream.get_thumbnail(stream.config)
|
||||
|
||||
post = postprocess(fstream, fstream.config, subfixes)
|
||||
if fstream.audio and post.detect:
|
||||
post.merge()
|
||||
if fstream.audio and not post.detect and fstream.finished:
|
||||
logging.warning("Cant find ffmpeg/avconv. audio and video is in seperate files. if you dont want this use -P hls")
|
||||
if fstream.name == "hls" or fstream.config.get("remux"):
|
||||
elif fstream.audio and post.detect:
|
||||
post.merge()
|
||||
elif fstream.name == "hls" or fstream.config.get("remux"):
|
||||
post.remux()
|
||||
if fstream.config.get("silent_semi") and fstream.finished:
|
||||
logging.log(25, "Download of %s was completed" % fstream.options.output)
|
||||
|
Loading…
Reference in New Issue
Block a user