MediaArea / MediaInfo

Convenient unified display of the most relevant technical and tag data for video and audio files.
https://MediaArea.net/MediaInfo
BSD 2-Clause "Simplified" License
1.33k stars 161 forks source link

MediaInfo show HDR format not correctly #833

Open uwaorg opened 4 months ago

uwaorg commented 4 months ago

Hi,there:

We found that MediaInfo show HDR Vivid stream incorrect HDR format :

Issue 1: for stream A created via Davinci Resolve, it is a 10 bit HLG HDR Vivid stream. but the HDR format showing "SMPTE ST 2086 / HDR Vivid, Version 1" we consider the stream is HLG but "STMPTE ST 2086 " indicates it as HDR 10 format. so this must be corrected!

Issue 2: for stream B (tools created it unknown) ,it is 10 bit HLG HDR Vivid stream , but the HDR format showing only "HDR Vivid, Version 1" We think in this case, it is better to add more information to indicate it is HLG. (although the "Transfer characteristics " already indicated it as HLG).

Could you please have a look at these 2 issues?

Thank you for your help! Best regards, Houxiang ZHU

uwaorg commented 4 months ago
20240508_incorrect_show_HDR_format
JeromeMartinez commented 4 months ago

but "STMPTE ST 2086 " indicates it as HDR 10 format

SMPTE ST 2086 is "Mastering Display Color Volume Metadata Supporting High Luminance and Wide Color Gamut Images" and does not indicates HDR10 (SMPTE ST 2086 is needed for HDR10 but it is not the only requirement, e.g. HLG + SMPTE ST 2086 is not HDR10).

Doesn't your file have SMPTE ST 2086 formatted metadata? If so, it is legitimate to show "SMPTE ST 2086" in HDR format in addition to Vivid as a non Vivid TV would display some HDR stuff thanks to SMPTE ST 2086 metadata, or correct me if I am wrong there (and saying why SMPTE ST 2086 metadata is there if it is not useful).

We think in this case, it is better to add more information to indicate it is HLG. (although the "Transfer characteristics " already indicated it as HLG).

This line is about the format standard, not a specific value somewhere else. We have a bug with Dolby Vision which show "HLG" on this line but it is a bug and we plan to remove it, rather than adding it for everything. Duplicating a value is not good. If it is not a duplicate, e.g. you may have something like "Vivid HLG and "BT.2020 Transfer characteristics", please share a sample file and indicate where in the Vivid metadata HLG is indicated.