]> jfr.im git - yt-dlp.git/commitdiff
[ffmpeg] Write full output to debug on error
authorpukkandan <redacted>
Thu, 23 Jun 2022 02:43:15 +0000 (08:13 +0530)
committerpukkandan <redacted>
Thu, 23 Jun 2022 03:47:34 +0000 (09:17 +0530)
Bug in f0c9fb96827ff798a48626e7e5d32a9c5de7b97e

yt_dlp/postprocessor/ffmpeg.py

index 0c8d4611d7e204a3e99715e0fe7281bd298bd046..d0a917379aa9360dd6a1d21ffa8e6987659a3cbb 100644 (file)
@@ -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: