| Summary: | REGRESSION (iOS16): Component above video is turning gray on iOS | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Peter <peter.m.coles> | ||||
| Component: | Compositing | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Major | CC: | jer.noble, simon.fraser, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 16 | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | iOS 16 | ||||||
| Attachments: |
|
||||||
|
Description
Peter
2023-01-18 17:08:14 PST
Also, you can grab all the source from the demo page, but here are the URLs for the two videos: * Example 1: https://mrcoles.com/media/test2/superset/overlay-test/ex1-fade.mp4 (generated via AWS Elemental MediaConvert) * Example 2: http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 (the common free license video demo from online) Is it possible that there’s something in the compression or codecs of “Example 1” that is triggering this issue? I think what's happening here is that the video is HDR, and when you play it, the screen brightness ramps up accordingly. The "white" text is SDR white, so appears gray when composited on top of the HDR video. RE SDR vs HDR—is the iPhone expected to not support HDR videos? Either way, is there more information on how what formats the iPhone works best with? (In reply to Peter from comment #4) > RE SDR vs HDR—is the iPhone expected to not support HDR videos? > > Either way, is there more information on how what formats the iPhone works > best with? No, the problem is that the iPhone _does_ support HDR videos. But the "white" in the HDR video is brighter than the "white" of the text, which is why the text looks grey when overlayed atop the HDR video content. This looks like it's behaving correctly. The whole point of HDR videos is that they're "brighter" than CSS #FFFFFF, and "darker" than CSS #000000. Their dynamic range is high. In order to display the "high dynamic range" colors in the video, the device's backlight ramps up to produce more visible light. SDR content is then ramped down by an equal amount to account for this. The SDR text colors are perceived as "grey" when displayed next to the super white colors of the video. So this is HDR videos behaving correctly, or at least, as expected. > In order to display the "high dynamic range" colors in the video, the device's backlight ramps up to produce more visible light. SDR content is then ramped down by an equal amount to account for this. The SDR text colors are perceived as "grey" when displayed next to the super white colors of the video.
>
> So this is HDR videos behaving correctly, or at least, as expected.
Does it make sense that the text initially appears white and slowly fades to *appearing* gray over the course of a couple seconds?
Is there any way to counteract this apart from re-encoding the color space as something like Rec. 709?
(In reply to Peter from comment #6) > Does it make sense that the text initially appears white and slowly fades to > *appearing* gray over the course of a couple seconds? That's a side effect of a way the OS ramps the display brightness gradually when starting to show HDR content. |