wolfgangw / backports

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

JPEG2000 Decomposition Levels #68

Open liloneum opened 7 years ago

liloneum commented 7 years ago

For 4K contents. Mixing essences with different decomposition levels won't work when playing on a 2K system.

E.G.

Reel 1 -- JPEG 2000 Metadata -- ImageComponents: bits h-sep v-sep 12 1 1 12 1 1 12 1 1 Scod: 1 ProgressionOrder: 4 NumberOfLayers: 1 MultiCompTransform: 1 DecompositionLevels: 6 CodeblockWidth: 3 CodeblockHeight: 3 CodeblockStyle: 0 Transformation: 0 Precincts: 7 precinct dimensions: 1: 128 x 128 2: 256 x 256 3: 256 x 256 4: 256 x 256 5: 256 x 256 6: 256 x 256 7: 256 x 256

Reel 2 -- JPEG 2000 Metadata -- ImageComponents: bits h-sep v-sep 12 1 1 12 1 1 12 1 1 Scod: 1 ProgressionOrder: 4 NumberOfLayers: 1 MultiCompTransform: 1 DecompositionLevels: 5 CodeblockWidth: 3 CodeblockHeight: 3 CodeblockStyle: 0 Transformation: 0 Precincts: 6 precinct dimensions: 1: 128 x 128 2: 256 x 256 3: 256 x 256 4: 256 x 256 5: 256 x 256 6: 256 x 256

liloneum commented 7 years ago

It seems that it is reproduced on any system.

wolfgangw commented 7 years ago

Good one, thanks

liloneum commented 6 years ago

The error appears in case of version files (if a "referenced asset file not listed in Assetmap dictionary"). It should not.

AndreiGravelle commented 6 years ago

I have noticed that running dcp inspect with the --as asset store command in the case of version files avoids getting this error. Empirically, it is a false error as if instead of reading the VF as incomplete, it reports an error on picture. Once the VF is linked to the OV, the error disappears.

overlookmotel commented 10 months ago

PR #84 prevents these errors on VF DCPs where the relevant asset is not present in the ASSETMAP.

wolfgangw commented 10 months ago

@overlookmotel thanks, see https://github.com/wolfgangw/backports/issues/93#issue-2028902692

Both issues - wrong error for VF/Supplemental wrt picture decomposition levels and sound channel format - should be fixed with https://github.com/wolfgangw/backports/commit/1356204b24cfeab316fbb67db576f35454b48e9f and https://github.com/wolfgangw/backports/commit/67d0d38a2f84deb5485ce9178b3ee635e924db6c

Can you confirm?