[ffmpeg] Ignore unknown streams

Closes #2307
This commit is contained in:
pukkandan 2022-01-13 16:09:19 +05:30
parent b2db8102dc
commit 5df1ac92bd
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
1 changed files with 1 additions and 1 deletions

View File

@ -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