From 43d6937b65664c6b04d90b8708670f29cacf11e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oleksis=20Fraga=20Men=C3=A9ndez?= <44526468+oleksis@users.noreply.github.com> Date: Thu, 30 Jul 2020 17:12:12 -0400 Subject: [PATCH] Add Codecs Parameter String Some videos use the codecs like: 'vp09.00.11.08' 'vp09.00.20.08' 'vp09.00.21.08' 'vp09.00.30.08' 'vp09.00.31.08' See more in: https://www.webmproject.org/vp9/mp4/ --- youtube_dl/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index d1eca3760..fa2b0f1fc 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -4210,7 +4210,7 @@ def parse_codecs(codecs_str): vcodec, acodec = None, None for full_codec in splited_codecs: codec = full_codec.split('.')[0] - if codec in ('avc1', 'avc2', 'avc3', 'avc4', 'vp9', 'vp8', 'hev1', 'hev2', 'h263', 'h264', 'mp4v', 'hvc1', 'av01', 'theora'): + if codec in ('avc1', 'avc2', 'avc3', 'avc4', 'vp09', 'vp08', 'vp9', 'vp8', 'vp10', 'hev1', 'hev2', 'h263', 'h264', 'mp4v', 'hvc1', 'av01', 'theora'): if not vcodec: vcodec = full_codec elif codec in ('mp4a', 'opus', 'vorbis', 'mp3', 'aac', 'ac-3', 'ec-3', 'eac3', 'dtsc', 'dtse', 'dtsh', 'dtsl'):