backports icon indicating copy to clipboard operation
backports copied to clipboard

png subtitles

Open liloneum opened this issue 10 years ago • 4 comments

In case of cinecanvas png subtitles, dcp_inspect only checks the presence of the assets in the assetmap. The assets must be present in the pkl too and shall be validated as any other.

liloneum avatar Jun 22 '14 20:06 liloneum

No, the DCP format does not provide that guarantee. While uncommon a DCP with

  • an asset map with N assets
  • a packing list with M entries (M < N and subset of N) is perfectly valid.

dcp_inspect builds a dictionary from a given asset map. It will lookup assets referenced by any related packing lists and do whatever the packing list's PoV allows (asset file presence and hash value).

Playback completeness is checked from the composition's PoV later on. Which is the single perspective that allows it.

wolfgangw avatar Jun 25 '14 07:06 wolfgangw

Very strange. EasyDCPPlayerDemo 2.0.4 accepts both DCP with or without images declared in pkl file without check errors but does not succeed to display the subtitles correctly. NeoDCP will not display the png files not declared in the pkl with this error: "Unable to load image file". I will have to check it on several servers...

Does your PoV mean that you even don't have any obligation to declare your font file in the pkl?

liloneum avatar Jun 25 '14 08:06 liloneum

I tried very quickly on a Doremi dcp2000 both packages. Unfortunately, I did not write the error but the message was something like "can not find the element" if the png files are not declared in the pkl (no error if declared). But the subtitles are displayed anyway.

liloneum avatar Aug 05 '14 11:08 liloneum

I'll agree that the standard use case will have exactly AssetMap's N assets in the PackingList as well. So there could be a hint in the case of a mismatch.

Keep in mind that the format allows for multi PKL in one spot as well as PKLs spread out over more than one distribution spot.

Apparently systems in the field handle ingest differently. Some ingest from PKL, some will try (and sometimes fail) to ingest from CPL.

wolfgangw avatar Aug 05 '14 20:08 wolfgangw