diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-06-14 01:59:05 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-06-14 01:59:05 +0700 |
commit | b85eae0f057a0afdf1da9d6034c19327c8de33cf (patch) | |
tree | 10a60e1d8dba70c9738d03c0014824871161f4d1 /youtube_dl | |
parent | 28cc2241e44ff0c0704cfffaca6d47d377041aa5 (diff) |
[youtube] Hardcode codec metadata for av01 video only formats (closes #21381)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 963c73a2d..7b630b191 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -500,6 +500,12 @@ class YoutubeIE(YoutubeBaseInfoExtractor): # RTMP (unnamed) '_rtmp': {'protocol': 'rtmp'}, + + # av01 video only formats sometimes served with "unknown" codecs + '394': {'acodec': 'none', 'vcodec': 'av01.0.05M.08'}, + '395': {'acodec': 'none', 'vcodec': 'av01.0.05M.08'}, + '396': {'acodec': 'none', 'vcodec': 'av01.0.05M.08'}, + '397': {'acodec': 'none', 'vcodec': 'av01.0.05M.08'}, } _SUBTITLE_FORMATS = ('srv1', 'srv2', 'srv3', 'ttml', 'vtt') |