mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add hevc level 6.2 check
Signed-off-by: imtsuki <me@qjx.app>
This commit is contained in:
parent
44eee5be6e
commit
c1161c7c5a
1 changed files with 7 additions and 0 deletions
|
@ -1079,6 +1079,13 @@ export default function (options) {
|
|||
hevcProfiles = 'main|main 10';
|
||||
}
|
||||
|
||||
// hevc main10 level 6.2
|
||||
if (videoTestElement.canPlayType('video/mp4; codecs="hvc1.2.4.L186"').replace(/no/, '')
|
||||
|| videoTestElement.canPlayType('video/mp4; codecs="hev1.2.4.L186"').replace(/no/, '')) {
|
||||
maxHevcLevel = 186;
|
||||
hevcProfiles = 'main|main 10';
|
||||
}
|
||||
|
||||
let maxAv1Level = 15; // level 5.3
|
||||
const av1Profiles = 'main'; // av1 main covers 4:2:0 8 & 10 bits
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue