[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)
youtube_dl/postprocessor/ffmpeg.py

index 8ef03f43bda594e8f7173e3dd5ba8192d79ad682..33dbcad9fa989999b601f5e077d1496a780f32f1 100644 (file)
@@ -408,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']