From 22614e1aa6740f5bf1a60dcfe210708d6eb112be Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Tue, 22 Mar 2016 23:31:32 +0100 Subject: [PATCH] postprocess: dont hardcode avconv --- lib/svtplay_dl/postprocess/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/postprocess/__init__.py b/lib/svtplay_dl/postprocess/__init__.py index a84d4c7..07edfb0 100644 --- a/lib/svtplay_dl/postprocess/__init__.py +++ b/lib/svtplay_dl/postprocess/__init__.py @@ -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()