1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 15:14:14 +01:00

postprocess: dont hardcode avconv

This commit is contained in:
Johan Andersson 2016-03-22 23:31:32 +01:00
parent 4c8cb7c5d2
commit 22614e1aa6

View File

@ -32,7 +32,7 @@ class postprocess(object):
if ext == "ts":
arguments += ["-bsf:a", "aac_adtstoasc"]
arguments += ["-y", tempfile]
cmd = ["avconv", "-i", orig_filename]
cmd = [self.detect, "-i", orig_filename]
cmd += arguments
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
stdout, stderr = p.communicate()