Преглед на файлове

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

Andrew Udvare преди 6 години
родител
ревизия
2b3afe6b0f
променени са 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)
                 encodeFilename(self._ffmpeg_filename_argument(path), True)
             ])
             ])
         cmd = ([encodeFilename(self.executable, True), encodeArgument('-y')] +
         cmd = ([encodeFilename(self.executable, True), encodeArgument('-y')] +
+               ['-loglevel', 'repeat+info'] +
                files_cmd +
                files_cmd +
                [encodeArgument(o) for o in opts] +
                [encodeArgument(o) for o in opts] +
                [encodeFilename(self._ffmpeg_filename_argument(out_path), True)])
                [encodeFilename(self._ffmpeg_filename_argument(out_path), True)])