Open Bug 789871 Opened 13 years ago Updated 3 months ago

The gfx.color_management.mode setting does not affect HTML5 video

Categories

(Core :: Graphics: Color Management, defect, P5)

defect

Tracking

()

People

(Reporter: drunkenf00l, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0 Build ID: 20120828083259 Steps to reproduce: Set gfx.color_management.mode to 1 so that non color-managed assets are treated as sRGB. View a non color-managed video such as http://nemu.pointysoftware.net/sink/red.webm. Actual results: The colors are not converted to sRGB. With gfx.color_management.mode set to 1, compare the example video (http://nemu.pointysoftware.net/sink/red.webm) with http://nemu.pointysoftware.net/sink/red.png on a non-sRGB monitor (e.g. wide gamut). Expected results: The color displayed when viewing http://nemu.pointysoftware.net/sink/red.webm should match the color displayed when viewing http://nemu.pointysoftware.net/sink/red.png on non-sRGB monitors.
Just checked again with Nightly 19.0a1 (2012-10-30) and it's still an issue. Also note that you'll need a non-sRGB monitor to reproduce the problem. I'm specifically the issue on a high gamut HP LP3065.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Sorry, I meant to say I'm specifically having the issue on a wide gamut monitor.
This still reproduces in the latest nightly, FWIW
Any updates on this? Viewing video online is a crucial user experience. And with popularity of wide gamut monitors nowadays, videos will look oversaturated in these monitors. Safari already has full color management for images and videos. Chrome are working on full color management for images and videos; with video color management already available to test, via a preference. What about Firefox? AFAIK, Firefox does not have video color management, as of now. It's time for Mozilla to get serious, and start working on this.
Flags: needinfo?(milan)
Any updates on this? Viewing videos online is a crucial user experience. And with the popularity of wide gamut monitors nowadays, videos will look oversaturated on these monitors. Safari already had full color management for images and videos. Chrome is working on full color management for images and videos; with video color management already available to test via a preference. What about Firefox? AFAIK, Firefox does not have video color management. It's time for Mozilla to get serious, and start working on this.
I believe you're right, and we don't do color management for video, but Anthony would know what are plans are on that side.
Flags: needinfo?(milan) → needinfo?(ajones)
You are correct. We do not support colour management at this point. We do not have any immediate plans to do so.
Flags: needinfo?(ajones)
Priority: -- → P5
Example showing oversaturated YouTube colors in Firefox vs. Chrome on OSX. I also tried Safari, which seemed similar to Chrome. From https://youtu.be/OQHFrGk0wF0?t=1m17s

I ran into this on twitter today, on this tweet: https://twitter.com/KellyO/status/1238554496533397507

The tweet has a video, which twitter initially renders as a still <img> element. When you click it, they replace it with a <video>, which results in the colors noticeably changing (if you have gfx.color_management.mode = 1), due to this bug. In Chrome, the colors remain about the same.

Blocks: 1602453
OS: Windows 7 → All
Hardware: x86_64 → All
Version: 16 Branch → Trunk

It's even worse if the profile handles gamma or contrast correction.

For video, actually just choosing sRGB is incorrect, the color space should depend on the video in question. Usually it's one of Rec. 601 (with either SECAM or PAL colors), Rec. 706 (both sRGB and gamma 2.2 variants) or rarely HDR with Rec. 2020 or Rec. 2100, both with gamma from BT.1886 or ST.2087 and HLG on top of that.
Not an easy task.

So let users define what they want to have as default in config-settings.
And I will see most videos in correct colours, no need to be 100% perfect when it easily can be done that way for 95% of online videos!

so nobody at mozilla has a wide gamut monitor or goes on youtube? is this a joke?

Hey, this makes Firefox unusable on a monitor with a color profile other than sRGB, which is basically all the new macs this days. Maybe I'm lucky that I haven't upgraded my 2014 MacBook Pro, but it's still bad with my external monitor.

Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 3 duplicates.
:aosmond, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(aosmond)

The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.

Flags: needinfo?(aosmond)

Any news on this?

See Also: → 1831132
Attached video red.webm

Attaching the video linked in comment #0.

Attached image red.png
Blocks: 1968164
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: