MediaArea / MediaInfoLib

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
638 stars 177 forks source link

add HT JPEG 2000 in mxf here: #2137

Open ValeZAA opened 3 weeks ago

ValeZAA commented 3 weeks ago

https://github.com/MediaArea/MediaInfoLib/blob/master/Source/MediaInfo/Multiple/File_Mxf.cpp#L16785

this line should check for 0x08 that means HTJ2K

https://registry.smpte-ra.org/view/published/Labels.xml

<Register>Labels</Register>
<NamespaceName>http://www.smpte-ra.org/reg/400/2012</NamespaceName>
<Symbol>HTJ2KPictureCodingScheme</Symbol>
<UL>urn:smpte:ul:060e2b34.0401010d.04010202.03010800</UL>
<Kind>NODE</Kind>
<Name>High-Throughput JPEG 2000 Picture Coding Scheme</Name>
<Definition>
Identifies High-Throughput JPEG 2000 (HTJ2K) codestreams
</Definition>

See sample https://www.sandflow.com/public/mer_shrt_23976_vdm_sdr_rec709_g24_3840x2160_20170913_12bit_DCDM.4bpp.mxf

Also same sample transfer means

<Entry>
<Register>Labels</Register>
<NamespaceName>http://www.smpte-ra.org/reg/400/2012</NamespaceName>
<Symbol>TransferCharacteristic_CinemaMezzanineDCDM</Symbol>
<UL>urn:smpte:ul:060e2b34.0401010d.04010101.01130000</UL>
<Kind>LEAF</Kind>
<Name>Cinema Mezzanine DCDM Transfer Characteristic</Name>
<Definition>
Identifies the COLOR.APP4.2 transfer characteristic specified in SMPTE ST 2067-40
</Definition>
<DefiningDocument>SMPTE ST 2067-40</DefiningDocument>
<IsDeprecated>false</IsDeprecated>
</Entry>