mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-18 01:06:49 +01:00
[ffmpeg] Write full output to debug on error
Bug in f0c9fb96827ff798a48626e7e5d32a9c5de7b97e
This commit is contained in:
parent
37e40d693b
commit
f67baae17e
@ -347,6 +347,7 @@ class FFmpegPostProcessor(PostProcessor):
|
||||
_, stderr, returncode = Popen.run(
|
||||
cmd, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
|
||||
if returncode not in variadic(expected_retcodes):
|
||||
self.write_debug(stderr)
|
||||
raise FFmpegPostProcessorError(stderr.strip().splitlines()[-1])
|
||||
for out_path, _ in output_path_opts:
|
||||
if out_path:
|
||||
|
Loading…
x
Reference in New Issue
Block a user