IENT / YUView

The Free and Open Source Cross Platform YUV Viewer with an advanced analytics toolset
http://ient.github.io/YUView
Other
1.9k stars 374 forks source link

Support for rendering HDR video on HDR displays? #585

Open cosmin opened 2 months ago

cosmin commented 2 months ago

Is your feature request related to a problem? Please describe.

For visually analyzing the quality of HDR videos it's important to be able to display the video in HDR on HDR displays. Currently the videos can only be rendered in SDR.

Describe the solution you'd like

Add support for visualizing PQ and HLG, perhaps by adding a dropdown next to the Color Conversion dropdown.

image

Describe alternatives you've considered

HLG content is reasonably backwards compatible with SDR so it works reasonably well for most issues but certain chroma artifacts in particular can look very different when viewed in HDR and SDR.

ChristianFeldmann commented 2 months ago

Hi! It is true that we do only support conversion of the YUV values to RGB 8 bit and then we display them. But I think you are thinking about HDR display on HDR display, right? I have no technical overview of what is possible on what platform. But I think this could potentially work on at least windows ... Do you have an idea how this is possible with Qt or openGL?

ValeZAA commented 2 months ago

Davinci 19 beta 4 added PQ native rendering and mpv and Camera Raw of Adobe also have it. Camera Raw may also use OpenGL + DirectX, probably not the same OpenGL that is used in Photoshop itself for SDR 10 bit color. In practice see #443, of course in Davinci 19 the 10 bit SDR is a separate option.

cosmin commented 2 months ago

@ChristianFeldmann I did some searching and it does look like Qt added at least some support for HDR rendering, I see several changes in Qt itself related to HDR video playback and HDR surfaces. But I'm not really sure about the specifics.