[ffmpeg] Write full output to debug on error

Bug in f0c9fb9682
pull/4165/head
pukkandan 2 years ago
parent 37e40d693b
commit f67baae17e
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -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…
Cancel
Save