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

Getting a wrong Essence SampleRate Error on Subtitle #305

Open mvfernandez-Disney opened 2 years ago

mvfernandez-Disney commented 2 years ago

I ran a photon verification check on an IMF I created using the Colorfront Transkoder 2022 IMF Photon Validation. The contains an IMSC subtitle mxf file.

Here is the error I am getting:

==#11=== CPL is valid ========================================================== [INFO ] [IMPAnalyzer]: Analyzing file CPL_21c43a8a-b81e-43f9-a87e-9d3a753f3a27.xml [INFO ] [IMPAnalyzer]: CPL_21c43a8a-b81e-43f9-a87e-9d3a753f3a27.xml has 1 errors and 0 warnings [ERROR] [IMPAnalyzer]: ERROR-This Composition represented by the ID 21c43a8a-b81e-43f9-a87e-9d3a753f3a27 is invalid since the VirtualTrack represented by ID d7f402cd-f9f1-410e-a13e-8a618584ee85 has a Resource represented by ID urn:uuid:28e8e717-4962-4b46-b22f-7823d83ac378 that refers to a EssenceDescriptor in the CPL's EssenceDescriptorList represented by the ID urn:uuid:348dfe53-11fb-4572-9951-900d633ac95e whose indicated SampleRate value is =================== EditRate ===================== numerator = 24000, denominator = 1001 , however the Resource Edit Rate is =================== EditRate ===================== numerator = 8000, denominator = 1 [Photon version: 4.9.0-SNAPSHOT] FAILED

The edit rate of the Resource elements may be set to any value since Timed Text Essence does not define an Edit Rate. It is usually set to the Composition Edit Rate.

Please review (ST 2067-2:2020, 6.3.3)

please let me know if you have any further questions, mike.fernandez.-nd@diseny.com