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 77 forks source link

OPL validation fails if aliases are defined in header #201

Closed cfadamp closed 7 years ago

cfadamp commented 7 years ago

Photon fails if "alias" is defined in the header. Validation fails even if I don't use any alias handle later. I read the corresponding standard documents (ST2067-100:2014 Section 8) and I don't know what I am doing wrong. Could you please check?

Attached are a working and a failing OPL file with Photon logs. OPL_files_and_logs.zip

Thank you in advance, Adam

svenkatrav commented 7 years ago

Hi Adam,

Thanks for pointing this out. Photon version 4.5.6 has the fix for using alias as macro input. This should fix many of the errors that you are seeing. However there is still one issue with the OPL where it is missing "alias/" prefix for image-scale-1 macro.

Thanks, Subbu

cfadamp commented 7 years ago

Hi Subbu,

I just tried it and it worked for me without errors.

Thanks, Adam