aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/postprocessor/ffmpeg.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-06-23 08:13:15 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-06-23 09:17:34 +0530
commitf67baae17e76997c13d35f65f50be633106837e0 (patch)
treef8d462dadc8eb2a08fc5c810bc00978b03909298 /yt_dlp/postprocessor/ffmpeg.py
parent37e40d693b508c6be4a8013cfb7fe7e5b4934042 (diff)
downloadhypervideo-pre-f67baae17e76997c13d35f65f50be633106837e0.tar.lz
hypervideo-pre-f67baae17e76997c13d35f65f50be633106837e0.tar.xz
hypervideo-pre-f67baae17e76997c13d35f65f50be633106837e0.zip
[ffmpeg] Write full output to debug on error
Bug in f0c9fb96827ff798a48626e7e5d32a9c5de7b97e
Diffstat (limited to 'yt_dlp/postprocessor/ffmpeg.py')
-rw-r--r--yt_dlp/postprocessor/ffmpeg.py1
1 files changed, 1 insertions, 0 deletions
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 @@ 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: