diff --git a/lib/svtplay_dl/fetcher/dash.py b/lib/svtplay_dl/fetcher/dash.py index 2781cf4..2070ac7 100644 --- a/lib/svtplay_dl/fetcher/dash.py +++ b/lib/svtplay_dl/fetcher/dash.py @@ -160,6 +160,8 @@ def adaptionset(attributes, elements, url, baseurl=None): codec = "h264" elif codecs and codecs[:3] == "hvc": codec = "hevc" + elif codecs and codecs[:3] == "dvh": + codec = "dvhevc" else: codec = codecs if not resolution and "maxWidth" in i.attrib and "maxHeight" in i.attrib: diff --git a/lib/svtplay_dl/fetcher/hls.py b/lib/svtplay_dl/fetcher/hls.py index 6eedd5c..a9c01ec 100644 --- a/lib/svtplay_dl/fetcher/hls.py +++ b/lib/svtplay_dl/fetcher/hls.py @@ -115,6 +115,9 @@ def _hlsparse(config, text, url, output, **kwargs): vcodec = "hevc" if i["CODECS"][:3] == "avc": vcodec = "h264" + if i["CODECS"][:3] == "dvh": + vcodec = "dvhevc" + if "AUDIO" in i: audio_group = i["AUDIO"] urls = get_full_url(i["URI"], url)