wolfgangw / backports

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

dcp_inspect: Check integrity with only CPL and assets #20

Open matmat opened 11 years ago

matmat commented 11 years ago

This would be a useful feature when dealing with certain servers that only export a CPL and the corresponding assets when copying to an extarnal storage media. E.g. ASSETMAP[.xml], VOLINDEX[.xml] and PKL are missing.

This probably requires a command line switch to specify the CPL to target and also some policy as where in the filesystem to search for the (from the CPL) referenced assets.

wolfgangw commented 11 years ago

Hey, thanks for the feedback.

The scenario you describe is one area where this would be quite useful. As it stands now dcp_inspect will indeed be blind without an AssetMap.

The other scenario is where one would want to inspect 1 composition out of a package's collection of compositions -- rather than all of them without any way to shortcut.

I need to think about how to do it, though. You do remember the funny issue you ran into on a Dolby Cat. 862 where the subtitle engine choked and died when confronted with a non-AM'ed package and multiple identical (non-replacing) subtitle assets? Ignoring AM or trying to be smarter than what AM provides (read being Dolby) opens the door to all kinds of issues. Without a proper AM there is really no way to pick the correct asset when you're seeing Subtitle_Reel_01.xml and Subtitle_Reel_01 (2).xml, both with identical Id's, is there?

But I do want this feature, too.