[meta] Add HDR support to Gecko
Categories
(Core :: Audio/Video: Playback, enhancement)
Tracking
()
People
(Reporter: jya, Unassigned)
References
(Depends on 7 open bugs, Blocks 2 open bugs)
Details
(Keywords: meta)
This is a meta bug to track what it would take to support HDR content in Firefox/Gecko
Reporter | ||
Updated•6 years ago
|
Comment hidden (advocacy) |
Comment hidden (me-too) |
Comment hidden (me-too) |
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Updated•3 years ago
|
Comment hidden (advocacy) |
Comment hidden (admin-reviewed) |
Updated•2 years ago
|
Comment hidden (advocacy) |
Comment 11•2 years ago
|
||
Is this meta-bug only for video, or are HDR still images (f.ex. in AVIF format) also in scope?
Many people today have OLED HDR-capable screens on their smartphone, and I think support for HDR video can be important among especially young people. But personally, I'm just as interested in still image support. HDR-capable desktop displays are probably not so common yet, but my guess is that the number of HDR-capable desktop display soon will start to climb pretty fast with increased interest in HDR images (and video) to follow as a consequence.
There's not much software yet to produce/process HDR still images, but just wanted to tip about the work Nicholas Hayes has started on his AVIF Photoshop plugin. Release notes from his latest beta-release:
Added support for loading and saving monochrome images as grayscale documents.
Added support for loading and saving some of the AVIF HDR formats.
The supported HDR transfer characteristics are Rec. 2100 PQ and SMPTE 428-1.
See the README for more details.
Removed the bit-depth restrictions on lossless compression.
10-bit and 12-bit images can now be saved using lossless compression.
Generate an ICC profile from supported NCLX profiles when loading images without an embedded ICC profile
Automatically convert the saved image to the Rec. 2020 or sRGB color space if necessary
Rec. 2020 is required for HDR images saved as Rec. 2100 PQ or SMPTE 428-1
SDR images without an embedded color profile will be converted to sRGB and tagged as such in the CICP metadata
Fixed a few issues with the plug-in scripting support
Known issues
The Rec. 2100 HLG transfer characteristic is not currently supported, these images will be loaded as SDR 16-bits-per-channel documents.
The discussion/issue that probably triggered Nicholas' latest development: https://github.com/0xC0000054/avif-format/issues/8
Comment 12•2 years ago
|
||
(In reply to Stig Nygaard from comment #11)
Is this meta-bug only for video, or are HDR still images (f.ex. in AVIF format) also in scope?
We'll use this metabug for HDR still image work, also. We probably haven't filed as many of those Bugs, and we definitely haven't connected them to this metabug, but they should be blockers.
Comment 13•2 years ago
|
||
Is there a roadmap for HDR photo support in FireFox? There is now true HDR support in Chrome, Brave, and Opera. Safari now supports tone mapping (currently in Tech Preview).
Bug for HDR images: https://bugzilla.mozilla.org/show_bug.cgi?id=1793091
Comment 14•2 years ago
|
||
(In reply to Stig Nygaard from comment #11)
There's not much software yet to produce/process HDR still images, but just wanted to tip about the work Nicholas Hayes has started on his AVIF Photoshop plugin. Release notes from his latest beta-release:
Adobe Camera RAW (ACR) v15.1 also added support to export HDR AVIF images. Here's an example of how to use ACR to create an HDR AVIF: https://gregbenzphotography.com/other/acr-v15-1-adds-avif-exports-and-hdro-support-for-windows/
ACR's exports include HDR metadata which helps provide improved tonemapping.
Example HDR metadata:
Ccv primaries xy : 0.7079,0.2920,0.1700,0.7970,0.1310,0.0460
Ccv white xy : 0.3127,0.3290
Ccv min luminance nits : 1.083943
Ccv max luminance nits : 932.613141
Ccv avg luminance nits : 59.356759
Support for this metadata was added in Chrome 110 back in February, and it shows clear benefits over the previous tone mapping approach (it matches the original image extremely well and avoids rendering the image a bit dark).
Comment hidden (advocacy) |
Comment hidden (me-too) |
Comment 17•8 months ago
|
||
So Windows has HDR, and Nvidia just came out with a new update to Their RTX drivers an "AI SDR to HDR" for video. Does that make it easier to get HDR video in Firefox? I think AMD has something similar. I don't do Intel CPUs so I don't know about them.
Comment 18•8 months ago
|
||
Gamescope and KDE Plasma now have some basic HDR support under Linux. Official Wayland implementation is currently in development
Comment hidden (off-topic) |
Comment 20•7 months ago
|
||
Using KDE Plasma 6 and would love to see Firefox support HDR on GNU/Linux
Comment hidden (me-too) |
Comment 22•6 months ago
|
||
Linux depends on HDR support on system level which is not ready yet:
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/14
Comment hidden (me-too) |
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment hidden (off-topic) |
Updated•3 months ago
|
Comment 27•3 months ago
|
||
Updated•3 months ago
|
Comment hidden (advocacy) |
Comment hidden (metoo) |
Comment 30•20 days ago
|
||
I offer to donate some volunteer coding time to create HDR tests (using my TestUFO engine).
I helped influence some web standards (committed a change to W3C HTML 5.2 standard for frame rate related stuff, which was accepted).
Contact me at standards [at] blurbusters.com as I am active in other communities
Updated•11 days ago
|
Description
•