Open Bug 1642854 (hdr-video-linux) Opened 4 years ago Updated 5 days ago

HDR video support for Linux

Categories

(Core :: Audio/Video: Playback, enhancement)

76 Branch
Desktop
Linux
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: romulasry, Assigned: stransky)

References

(Depends on 3 open bugs, Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

Go to https://www.youtube.com/channel/UCve7_yAZHFNipzeAGBI5t9g/ and view a video on Linux.

Actual results:

VIdeos were in SDR

Expected results:

Been in HDR

Depends on: 1576020
Hardware: Unspecified → Desktop

(In reply to romulasry from comment #0)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

Go to https://www.youtube.com/channel/UCve7_yAZHFNipzeAGBI5t9g/ and view a video on Linux.

Actual results:

VIdeos were in SDR

Expected results:

Been in HDR

OS: Unspecified → Linux

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Alias: hdr-video-linux
No longer depends on: 1576020
Summary: HDR Linux support for video → HDR video support for Linux
Blocks: HDR

To have a roadmap here let's point out some tasks we need to finish to have HDR support on Linux:

  • Extend existing NativeLayerWayland() to support external images (that's how video frames are injected to renderer). MacOS variant is here: https://phabricator.services.mozilla.com/D84638
  • Extend DMABufSurfaces to hold HDR YUV surfaces (10-bit formats)
  • Extend DMABufSurfaces to hold HDR color data
  • Pass HDR data from FFmpeg decoder via DMABufSurfaces to MozContainer (or something else) and apply them during wl_surface_commit
  • Propagate Linux/HDR support so web playes can serve us HDR content (i.e. clips in bt.2020 color space with yuv420p10 bit planes)
  • Optionally update NativeLayerRootWayland to do local composition (by GL?) and send to Wayland compositor as less subsurfaces as possible.
Depends on: 1711461, 1743631
Attached patch hdr-wip-2.patch (obsolete) — Splinter Review

WIP v.2 patch, mostly contains unification for layer and multi buffer code.

Assignee: nobody → stransky
Attachment #9435843 - Attachment is obsolete: true
Attachment #9435927 - Attachment description: WIP: Bug 1642854 [Wayland] hdr patch → Bug 1642854 [Wayland] hdr patch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: