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:
parent
4c8cb7c5d2
commit
22614e1aa6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user