From 5df1ac92bd85a02696f61a194d9a3a9e1ca34cfc Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 13 Jan 2022 16:09:19 +0530 Subject: [PATCH] [ffmpeg] Ignore unknown streams Closes #2307 --- yt_dlp/postprocessor/ffmpeg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 848fd584a..43c1b276d 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -197,7 +197,7 @@ class FFmpegPostProcessor(PostProcessor): yield from ('-map', '0') # Don't copy Apple TV chapters track, bin_data # See https://github.com/yt-dlp/yt-dlp/issues/2, #19042, #19024, https://trac.ffmpeg.org/ticket/6016 - yield '-dn' + yield from ('-dn', '-ignore_unknown') if copy: yield from ('-c', 'copy') # For some reason, '-c copy -map 0' is not enough to copy subtitles