From f67baae17e76997c13d35f65f50be633106837e0 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 23 Jun 2022 08:13:15 +0530 Subject: [PATCH] [ffmpeg] Write full output to debug on error Bug in f0c9fb96827ff798a48626e7e5d32a9c5de7b97e --- yt_dlp/postprocessor/ffmpeg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 0c8d4611d..d0a917379 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -347,6 +347,7 @@ def make_args(file, args, name, number): _, 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: