Netflix / photon

Photon is a Java implementation of the Interoperable Master Format (IMF) standard. IMF is a SMPTE standard whose core constraints are defined in the specification st2067-2:2013
Apache License 2.0
234 stars 76 forks source link

Identifying incorrect tagging of MCATagName Values #230

Open bholter opened 5 years ago

bholter commented 5 years ago

We have examples of CPL's where the MCA tagging values for MCATagName values are invalid. This should be caught by Photon.

Example (INVALID):

<r0:SoundfieldGroupLabelSubDescriptor>
<r1:MCALabelDictionaryID>urn:smpte:ul:060e2b34.0401010d.03020220.09000000</r1:MCALabelDictionaryID>
<r1:MCATagName>LtRt</r1:MCATagName>
</r0:SoundfieldGroupLabelSubDescriptor>          

<r0:AudioChannelLabelSubDescriptor>
<r1:MCALabelDictionaryID>urn:smpte:ul:060e2b34.0401010d.03020120.03000000</r1:MCALabelDictionaryID>
<r1:MCATagName>Lt</r1:MCATagName>
</r0:AudioChannelLabelSubDescriptor>          

<r0:AudioChannelLabelSubDescriptor>
<r1:MCALabelDictionaryID>urn:smpte:ul:060e2b34.0401010d.03020120.04000000</r1:MCALabelDictionaryID>
<r1:MCATagName>Rt</r1:MCATagName>
</r0:AudioChannelLabelSubDescriptor>      

Example (VALID):

<r0:SoundfieldGroupLabelSubDescriptor>
<r1:MCALabelDictionaryID>urn:smpte:ul:060e2b34.0401010d.03020220.09000000</r1:MCALabelDictionaryID>
<r1:MCATagName>Lt-Rt</r1:MCATagName>
</r0:SoundfieldGroupLabelSubDescriptor>          

<r0:AudioChannelLabelSubDescriptor>
<r1:MCALabelDictionaryID>urn:smpte:ul:060e2b34.0401010d.03020120.03000000</r1:MCALabelDictionaryID>
<r1:MCATagName>Left Total</r1:MCATagName>
</r0:AudioChannelLabelSubDescriptor>          

<r0:AudioChannelLabelSubDescriptor>
<r1:MCALabelDictionaryID>urn:smpte:ul:060e2b34.0401010d.03020120.04000000</r1:MCALabelDictionaryID>
<r1:MCATagName>Right Total</r1:MCATagName>
</r0:AudioChannelLabelSubDescriptor>

Thanks - Brian