[ffmpeg] Write full output to debug on error

Bug in f0c9fb9682
This commit is contained in:
pukkandan 2022-06-23 08:13:15 +05:30
parent 37e40d693b
commit f67baae17e
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -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: