<div dir="auto">was looking at  how exactly HDR info travels in production environment.<div dir="auto"><br></div><div dir="auto"><a href="https://community.adobe.com/t5/premiere-pro-beta-discussions/discuss-color-management-improvements-h264-hevc-xavc-l-and-xavc-slog/m-p/12390588" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://community.adobe.com/t5/premiere-pro-beta-discussions/discuss-color-management-improvements-h264-hevc-xavc-l-and-xavc-slog/m-p/12390588</a></div><div dir="auto"><br></div><div dir="auto">=====</div><div dir="auto"><br></div><div dir="auto">  Francis-Crossman</div><div dir="auto">Adobe Employee Sep 17, 2021</div><div dir="auto"><br></div><div dir="auto">This expands the list of color managed codecs.  H264/HEVC represents the majority of DSLR and mirrorless prosumer cameras on the market, and XAVC-L / XAVC Slog are heavily used in broadcast HDR workflows.</div><div dir="auto"><br></div><div dir="auto"> </div><div dir="auto"><br></div><div dir="auto">“Color managed” means that Premiere Pro read the color tags in the file metadata and accurately converts the file to the sequence color space. If the color spaces of the file and sequence are the same, the Premiere Pro passes the colors through to the sequence without conversion. Color management is necessary for HDR production.</div><div dir="auto"><br></div><div dir="auto"> </div><div dir="auto"><br></div><div dir="auto">Codecs that are not color managed will always be interpreted as Rec709, which worked just fine for a long time.  But with HDR becoming more and more mainstream, proper color management is necessary.</div><div dir="auto"><br></div><div dir="auto"> </div><div dir="auto"><br></div><div dir="auto">Full list of color managed codecs</div><div dir="auto"><br></div><div dir="auto">Codec</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">    </span></div><div dir="auto"><br></div><div dir="auto">Wrapper</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">        </span></div><div dir="auto"><br></div><div dir="auto">Color Space</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">    </span></div><div dir="auto"><br></div><div dir="auto">New?</div><div dir="auto"><br></div><div dir="auto">Apple ProRes</div><div dir="auto"><br></div><div dir="auto">·      422 HQ</div><div dir="auto"><br></div><div dir="auto">·      4444</div><div dir="auto"><br></div><div dir="auto">·      4444 XQ</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">     </span></div><div dir="auto"><br></div><div dir="auto">.MOV</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">   </span></div><div dir="auto"><br></div><div dir="auto">Rec. 709</div><div dir="auto"><br></div><div dir="auto">Rec. 2100 HLG</div><div dir="auto"><br></div><div dir="auto">Rec. 2100 PQ</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">  </span></div><div dir="auto"><br></div><div dir="auto">Previously supported</div><div dir="auto"><br></div><div dir="auto">Sony XAVC-I (all intra)</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">  </span></div><div dir="auto"><br></div><div dir="auto">.MXF</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">   </span></div><div dir="auto"><br></div><div dir="auto">Rec. 709</div><div dir="auto"><br></div><div dir="auto">Rec. 2100 HLG</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">        </span></div><div dir="auto"><br></div><div dir="auto">Previously supported</div><div dir="auto"><br></div><div dir="auto">Sony XAVC-L (long GOP)</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">   </span></div><div dir="auto"><br></div><div dir="auto">.MXF</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">   </span></div><div dir="auto"><br></div><div dir="auto">Rec. 709</div><div dir="auto"><br></div><div dir="auto">Rec. 2100 HLG</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">        </span></div><div dir="auto"><br></div><div dir="auto">NEW</div><div dir="auto"><br></div><div dir="auto">H.264 / HEVC (H.264)</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">      </span></div><div dir="auto"><br></div><div dir="auto">.MP4, .MOV</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">     </span></div><div dir="auto"><br></div><div dir="auto">Rec. 709</div><div dir="auto"><br></div><div dir="auto">Rec. 2100 HLG</div><div dir="auto"><br></div><div dir="auto">Rec. 2100 PQ</div><div dir="auto"><span style="white-space:pre-wrap;white-space:normal">  </span></div><div dir="auto"><br></div><div dir="auto">NEW</div><div dir="auto"><br></div><div dir="auto">=====</div><div dir="auto"><br></div><div dir="auto">so in this case he talked about importing colorspace-tagged material, not embedded icc or display side.</div><div dir="auto"><br></div><div dir="auto">x264 support for XVAC-intra + HDR metadata was merged few years ago:</div><div dir="auto"><br></div><div dir="auto"><a href="https://forum.doom9.org/showthread.php?p=1950549" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://forum.doom9.org/showthread.php?p=1950549</a></div><div dir="auto"><br></div><div dir="auto"><a href="https://forum.doom9.org/showthread.php?p=1940382" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://forum.doom9.org/showthread.php?p=1940382</a></div><div dir="auto"><br></div><div dir="auto"><a href="https://code.videolan.org/videolan/x264/-/merge_requests/5" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://code.videolan.org/videolan/x264/-/merge_requests/5</a></div><div dir="auto"><br></div><div dir="auto">I still wonder how you get those values for mastering display?</div><div dir="auto"><br></div><div dir="auto">G(x,y)B(x,y)R(x,y)WP(x,y)L(max,min)</div><div dir="auto"><br></div><div dir="auto">hm may be like here, vua libdisplayinfo/EDID </div><div dir="auto"><br></div><div dir="auto"><a href="https://github.com/doitsujin/dxvk/blob/master/src/wsi/wsi_edid.cpp#L14" rel="noreferrer noreferrer noreferrer" target="_blank">https://github.com/doitsujin/dxvk/blob/master/src/wsi/wsi_edid.cpp#L14</a></div><div dir="auto"><br></div><div dir="auto">from</div><div dir="auto"><br></div><div dir="auto"><a href="https://github.com/libsdl-org/SDL/issues/6587" rel="noreferrer noreferrer" target="_blank">https://github.com/libsdl-org/SDL/issues/6587</a></div><div dir="auto"><br></div><div dir="auto">but ofc there us dev blog saying edid can be incomplete/inaccurate:</div><div dir="auto"><br></div><div dir="auto"><a href="https://planet.kde.org/xavers-blog-2024-05-10-hdr-and-color-management-in-kwin-part-3/" target="_blank" rel="noreferrer">https://planet.kde.org/xavers-blog-2024-05-10-hdr-and-color-management-in-kwin-part-3/</a></div><div dir="auto"><br></div><div dir="auto">====</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">There is a fourth option though: Use the color information from the display’s EDID. In Plasma 6.1, you can simply select this in the display settings.</div><div dir="auto"><br></div><div dir="auto">color profile settings</div><div dir="auto"><br></div><div dir="auto">Note that it comes with some caveats too:</div><div dir="auto"><br></div><div dir="auto">    the EDID only describes colors with the default display settings, so if you change the “picture mode” or similar things in the display settings, the values may not be correct anymore</div><div dir="auto">    the manufacturer may not measure every panel and just put generic values for the display model into the EDID</div><div dir="auto">    the manufacturer may put completely wrong values in there (which is why this is disabled by default)</div><div dir="auto">    even when correct values are provided, ICC profiles have much more detailed information on the display’s behavior than the EDID can contain</div><div dir="auto"><br></div><div dir="auto">====</div><div dir="auto"><br></div><div dir="auto">but at least this round of search shows that SDL(2.x, 3?) does have some support for HDR now,  so may be it also an option!</div></div><div dir="auto"><br></div></div>