]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/postprocessor/ffmpeg.py
[postprocessor/ffmpeg] Disable "Last message repeated" messages which cause non-zero...
[youtube-dl.git] / youtube_dl / postprocessor / ffmpeg.py
index b952b0970a12940caf4ece032566452511a4de5c..33dbcad9fa989999b601f5e077d1496a780f32f1 100644 (file)
@@ -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)])
@@ -407,6 +408,9 @@ class FFmpegEmbedSubtitlePP(FFmpegPostProcessor):
             # 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']