浏览代码

[postprocessor/ffmpeg] Disable "Last message repeated" messages which cause non-zero exit status (#19025)

Sergey M 6 年之前
父节点
当前提交
1397a790ff
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      youtube_dl/postprocessor/ffmpeg.py

+ 1 - 0
youtube_dl/postprocessor/ffmpeg.py

@@ -218,6 +218,7 @@ class FFmpegPostProcessor(PostProcessor):
                 encodeFilename(self._ffmpeg_filename_argument(path), True)
             ])
         cmd = ([encodeFilename(self.executable, True), encodeArgument('-y')] +
+               ['-loglevel', 'repeat+info'] +
                files_cmd +
                [encodeArgument(o) for o in opts] +
                [encodeFilename(self._ffmpeg_filename_argument(out_path), True)])