[ffmpeg] Do not pass in byets to subprocess (Fixes #2717)
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 7 Apr 2014 21:32:50 +0000 (23:32 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 7 Apr 2014 21:33:05 +0000 (23:33 +0200)
youtube_dl/postprocessor/ffmpeg.py

index 98b5eccb49812e1e4f4e64ac62abf3cca21946c9..8922920cd03b35a94701677173609153fb1f7aa2 100644 (file)
@@ -53,8 +53,7 @@ class FFmpegPostProcessor(PostProcessor):
 
         if self._downloader.params.get('verbose', False):
             self._downloader.to_screen(u'[debug] ffmpeg command line: %s' % shell_quote(cmd))
-        bcmd = [self._downloader.encode(c) for c in cmd]
-        p = subprocess.Popen(bcmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+        p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
         stdout, stderr = p.communicate()
         if p.returncode != 0:
             stderr = stderr.decode('utf-8', 'replace')