wolfgangw / backports

Deep inspection of digital cinema packages
27 stars 12 forks source link

Asset type in pkl #26

Open liloneum opened 11 years ago

liloneum commented 11 years ago

dcp_inspect should check if element is correct in pkl. e.g. in an interop composition if

application/mxf

is declared for an interop mxf asset instead of

application/x-smpte-mxf;asdcpKind=Picture

or

application/x-smpte-mxf;asdcpKind=Sound
wolfgangw commented 11 years ago

Lilian, thanks for the hint. The possible values of the Type element in a PackingList are implied by the kind of PKL (Interop/SMPTE). I don't think there is an inherent relation to a composition (and kind of composition, Interop or SMPTE) in the first place.

Now how a mixed bag of assets would actually be treated in the field I don't know. E.g. SMPTE Assetmap and PackingList and Interop CompositionPlaylist and composition assets. Darn, I even have to check whether dcp_inspect checks for package consistency.

Gut says a check makes sense. But it's a can of worms, given the non-spec'd black hole mixed packages are.