Bug 262539 - Safari incorrectly reports that it does not support Dolby Vision Profile 8 video
Summary: Safari incorrectly reports that it does not support Dolby Vision Profile 8 video
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 17
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-03 07:14 PDT by i
Modified: 2023-12-21 15:11 PST (History)
4 users (show)

See Also:


Attachments
Safari 17 incorrectly shows that it does not support Dolby Vision Profile 8 (3.26 MB, image/png)
2023-10-25 11:34 PDT, i
no flags Details
Safari 16 correctly shows that it supports Dolby Vision Profile 8 (3.36 MB, image/png)
2023-10-25 11:35 PDT, i
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description i 2023-10-03 07:14:58 PDT
Safari is able to play Dolby Vision Profile 5 (dvh1.05.04) and Profile 8 (dvh1.08.07) videos. However Safari incorrectly reports that it does not support Dolby Vision Profile 8 in several APIs, including HTMLMediaElement.canPlayType, MediaSource.isTypeSupported and navigator.mediaCapabilities.

For example, in Safari 17, MediaSource.isTypeSupported('video/mp4;codecs="dvh1.05.04"') returns true, which is expected. But MediaSource.isTypeSupported('video/mp4;codecs="dvh1.08.07"') returns false, which is not expected.

A test case webpage can be found here:

http://ott.dolby.com/codec_test/index.html

where Safari shows correct supporting status in Dolby Vision Profile 5, it shows false and not supported in Dolby Vision Profile 8 although Safari actually is able to play it.

This bug affects some websites that use these APIs to try to detect the browser's capability of playing Dolby Vision videos, such as https://www.bilibili.com/video/BV1QX4y1i7B1/, where due to the bug mentioned above, the web page thinks that Safari does not support Dolby Vision Profile 8 video and hides the option for Dolby Vision.
Comment 1 Radar WebKit Bug Importer 2023-10-06 16:12:34 PDT
<rdar://problem/116601656>
Comment 2 i 2023-10-25 11:32:06 PDT
I can confirm that this is a new bug in Safari 17 on Sonoma. Safari 16 on Ventura does not have this bug.
Comment 3 i 2023-10-25 11:34:34 PDT
Created attachment 468337 [details]
Safari 17 incorrectly shows that it does not support Dolby Vision Profile 8
Comment 4 i 2023-10-25 11:35:03 PDT
Created attachment 468338 [details]
Safari 16 correctly shows that it supports Dolby Vision Profile 8
Comment 5 Brent Fulgham 2023-12-21 15:11:59 PST
The fix for this issue needs to be made outside of the WebKit Open Source project. Resolving as MOVED.