1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

postprocess: only do merge to mp4 no need for remux.

This commit is contained in:
Johan Andersson 2021-05-09 21:49:58 +02:00
parent 3497e0577d
commit f9718902a9

View File

@ -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)