Closed Bug 1486371 Opened 6 years ago Closed 6 years ago

Browser ignores color management preference when playing back video

Categories

(Core :: Graphics: Color Management, defect)

61 Branch
x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 789871
Tracking Status
firefox61 --- affected
firefox62 --- affected
firefox63 --- affected

People

(Reporter: tail.of.the.squonk, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15 Steps to reproduce: Note: In order to see the effects of this bug, you must have a screen with a larger color gamut than sRGB (e.g. a MacBook Pro from 2016 or later) Step 1: Load any site you like with video on Firefox and another browser Step 2: Play the same video in each browser (you might try pausing in roughly the same place in each browser to make the comparison easier) Step 3: Compare the color of the video in Firefox to that of the same video playing in another browser (e.g. Chrome, Safari) Since I lack a wide gamut screen on anything apart from my MacBook Pro, I have only been able to test this for the macOS version of Firefox. Actual results: On Firefox, on my wide gamut screen, the colors in the video appear too saturated. The browser is not constraining the color gamut to sRGB, despite having color management explicitly enabled (value 1) for the gfx.color_management.mode preference in about:config. Specifically pointing to my color profile in the gfx.color_management.display_profile preference yields no change, and as it is not an icc 4 profile, enabling that preference universally breaks browser color management (i.e. everything becomes too saturated, rather than just video playback). Non-video page elements respect the color management preference. Expected results: The colors of the video should match those rendered by other browsers (I tested Safari and Chrome), which properly constrain the gamut to sRGB.
I have attempted to reproduce this issue on Mac Mini and a MacBook Pro 2017 (13 inch). A small difference could be observed when comparing Chrome and Firefox on the same video, but apparently only in the case of the MacBook Pro 2017. I will confirm the issue and set the component to (Core) Layout. I will leave the professional opinions to the developers. If the component is incorrect, please tolerate my mistake and set it correctly. Thank you!
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
OS: Unspecified → Mac OS X
Product: Firefox → Core
Hardware: Unspecified → x86_64
I should point out that, for those testing this, videos with large, saturated green portions will demonstrate the difference best, as both the DCI-P3 color space (used for the wide gamut screens in recent Apple products) and Adobe RGB color space feature expanded coverage in the green part of the spectrum.
Sounds like either an issue in media, or one in gfx color management. Let's try media module. It doesn't sound like a layout issue at all.
Component: Layout → Audio/Video: Playback
Looks like a dup of Bug 789871.
Status: NEW → RESOLVED
Closed: 6 years ago
Component: Audio/Video: Playback → GFX: Color Management
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.