mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
parent
b2db8102dc
commit
5df1ac92bd
|
@ -197,7 +197,7 @@ def stream_copy_opts(copy=True, *, ext=None):
|
||||||
yield from ('-map', '0')
|
yield from ('-map', '0')
|
||||||
# Don't copy Apple TV chapters track, bin_data
|
# 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
|
# 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:
|
if copy:
|
||||||
yield from ('-c', 'copy')
|
yield from ('-c', 'copy')
|
||||||
# For some reason, '-c copy -map 0' is not enough to copy subtitles
|
# For some reason, '-c copy -map 0' is not enough to copy subtitles
|
||||||
|
|
Loading…
Reference in New Issue
Block a user