[ffmpeg] Ignore unknown streams

Closes #2307
pull/2315/head
pukkandan 3 years ago
parent b2db8102dc
commit 5df1ac92bd
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

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

Loading…
Cancel
Save