]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[postprocessor/ffmpeg] Do not copy Apple TV chapter tracks while embedding subtitles...
authorTatsh <Tatsh@users.noreply.github.com>
Mon, 28 Jan 2019 15:57:14 +0000 (10:57 -0500)
committerSergey M <dstftw@gmail.com>
Mon, 28 Jan 2019 15:57:14 +0000 (22:57 +0700)
Related issue: https://trac.ffmpeg.org/ticket/6016

youtube_dl/postprocessor/ffmpeg.py

index b952b0970a12940caf4ece032566452511a4de5c..fff2021ff39bceb092167285a8cdae9f6cb791db 100644 (file)
@@ -407,6 +407,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']