[postprocessor/ffmpeg] Disable "Last message repeated" messages which cause non-zero...
authorSergey M <dstftw@gmail.com>
Mon, 28 Jan 2019 15:59:00 +0000 (22:59 +0700)
committerGitHub <noreply@github.com>
Mon, 28 Jan 2019 15:59:00 +0000 (22:59 +0700)
1  2 
youtube_dl/postprocessor/ffmpeg.py

index fff2021ff39bceb092167285a8cdae9f6cb791db,8ef03f43bda594e8f7173e3dd5ba8192d79ad682..33dbcad9fa989999b601f5e077d1496a780f32f1
@@@ -218,6 -218,7 +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)])
@@@ -407,9 -408,6 +408,9 @@@ class FFmpegEmbedSubtitlePP(FFmpegPostP
              # Don't copy the existing subtitles, we may be running the
              # postprocessor a second time
              '-map', '-0:s',
 +            # Don't copy Apple TV chapters track, bin_data (see #19042, #19024,
 +            # https://trac.ffmpeg.org/ticket/6016)
 +            '-map', '-0:d',
          ]
          if information['ext'] == 'mp4':
              opts += ['-c:s', 'mov_text']