We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f77f6f3 commit 1dc0ee8Copy full SHA for 1dc0ee8
resources/lib/MSLv2.py
@@ -403,8 +403,11 @@ def __tranform_to_dash(self, manifest):
403
for stream in video_track['streams']:
404
405
codec = 'h264'
406
- if 'hevc' in stream['content_profile']:
407
- codec = 'hevc'
+ if stream['content_profile'].startswith('hevc'):
+ if stream['content_profile'].startswith('hevc-dv'):
408
+ codec = 'dvhe'
409
+ else:
410
+ codec = 'hevc'
411
elif 'vp9' in stream['content_profile']:
412
lp = re.search('vp9-profile(.+?)-L(.+?)-dash', stream['content_profile'])
413
codec = 'vp9.' + lp.group(1) + '.' + lp.group(2)
0 commit comments