You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yt-dlp/youtube_dl
Yen Chi Hsuan 23495d6a39
Revert "[ffmpeg] Fix embedding subtitles (#9063)"
This reverts commit ccff2c404d.

Fixes #10081.

The new approach breaks embedding subtitles into video-only or
audio-only files. FFMpeg provides a trick: add '?' after the argument of
'-map' so that a missing stream is ignored. For example:

opts = [
    '-map', '0:v?',
    '-c:v', 'copy',
    '-map', '0:a?',
    '-c:a', 'copy',
    # other options...
]

Unfortunately, such a format is not implemented in avconv, either.
I guess adding '-ignore_unknown' if self.basename == 'ffmpeg' is the
best solution. However, the example mentioned in #9063 no longer serves
problematic files, so I can't test it. I'll reopen #9063 and wait for
another example so that I can test '-ignore_unknown'.
8 years ago
..
downloader [downloader/f4m] Fix for Rai live streams 8 years ago
extractor [syfy] fix extraction(closes #9087)(closes #3820)(closes #2388) 8 years ago
postprocessor Revert "[ffmpeg] Fix embedding subtitles (#9063)" 8 years ago
YoutubeDL.py Rename --cn-verfication-proxy to --geo-verification-proxy 8 years ago
__init__.py Rename --cn-verfication-proxy to --geo-verification-proxy 8 years ago
__main__.py [refactor] Single quotes consistency 9 years ago
aes.py
cache.py
compat.py [compat] Fix test_cmdline_umlauts on Python 2.6 8 years ago
jsinterp.py [jsinterp] Relax JS function regex (Closes #9863) 9 years ago
options.py [options] Rollback old behavior for configuratio files' encoding 8 years ago
socks.py Fix misspelling 8 years ago
swfinterp.py
update.py
utils.py [brightcove] skip ism manifests 8 years ago
version.py release 2016.07.13 8 years ago