diff options
author | Tatsh <Tatsh@users.noreply.github.com> | 2019-01-28 10:57:14 -0500 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2019-01-28 22:57:14 +0700 |
commit | 7f903dd8bfbc9c2de129d5b0be23ef62d8ca3df3 (patch) | |
tree | ddcb81529fe6fd0f0aa96f5af71072ea02ec26c8 /youtube_dl/postprocessor/ffmpeg.py | |
parent | e71be6ee9f239308765443d49d91358fa306e48a (diff) |
[postprocessor/ffmpeg] Do not copy Apple TV chapter tracks while embedding subtitles (closes #19042)
Related issue: https://trac.ffmpeg.org/ticket/6016
Diffstat (limited to 'youtube_dl/postprocessor/ffmpeg.py')
-rw-r--r-- | youtube_dl/postprocessor/ffmpeg.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py index b952b0970..fff2021ff 100644 --- a/youtube_dl/postprocessor/ffmpeg.py +++ b/youtube_dl/postprocessor/ffmpeg.py @@ -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'] |