mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[ffmpeg] Do not pass in byets to subprocess (Fixes #2717)
This commit is contained in:
parent
aafddb2b0a
commit
269aecd0c0
1 changed files with 1 additions and 2 deletions
|
@ -53,8 +53,7 @@ def run_ffmpeg_multiple_files(self, input_paths, out_path, opts):
|
|||
|
||||
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')
|
||||
|
|
Loading…
Reference in a new issue