mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 01:02:13 +01:00
parent
b2db8102dc
commit
5df1ac92bd
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue