From 442d2e7d3d9438a330ce6e151f957452f9fd24cb Mon Sep 17 00:00:00 2001 From: Ferdinand Niedermann Date: Wed, 9 Jan 2013 13:31:52 +0100 Subject: [PATCH] fix audio conversion not working with newer versions of ffmpeg --- youtube_dl/PostProcessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/PostProcessor.py b/youtube_dl/PostProcessor.py index a04828518b1..77f11bda9f6 100644 --- a/youtube_dl/PostProcessor.py +++ b/youtube_dl/PostProcessor.py @@ -110,7 +110,7 @@ def run_ffmpeg(self, path, out_path, codec, more_opts): acodec_opts = ['-acodec', codec] cmd = ([self._exes['avconv'] or self._exes['ffmpeg'], '-y', '-i', encodeFilename(path), '-vn'] + acodec_opts + more_opts + - ['--', encodeFilename(out_path)]) + [encodeFilename(out_path)]) p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout,stderr = p.communicate() if p.returncode != 0: