-
Notifications
You must be signed in to change notification settings - Fork 12
Example output from dcp_inspect
Here’s the composition snippet of a dcp_inspect run:
Found 1 Composition
CPL file present ✅: bcacaf02-d307-4beb-bdf3-2d99a08bdba5: Fraueninitiati_SHR-25_F-133_DE-XX_DE_51_2K_FMM_20230926_FMM_SMPTE_OV/CPL_bcacaf02-d307-4beb-bdf3-2d99a08bdba5.xml
CPL bcacaf02-d307-4beb-bdf3-2d99a08bdba5: Schema check: OK ✅
CPL bcacaf02-d307-4beb-bdf3-2d99a08bdba5: Signature check: OK ✅
Signer: (Nov 21 2018-Jun 14 2031) /dnQualifier=sinfthkEo7R3zuByoGGkMVf6WvY=/CN=CS.EASYDCPCREATOR.v3411..FILMMUSEUM.INFO/OU=.DCINEMA.FRAUNHOFER.DE/O=.DCINEMA.FRAUNHOFER.DE
Signer issuer: (Jun 21 2011-Jun 15 2031) /O=.DCINEMA.FRAUNHOFER.DE/OU=.DCINEMA.FRAUNHOFER.DE/CN=.EASYDCP-CREATOR.DCINEMA.FRAUNHOFER.DE/dnQualifier=w1KRD\/ugKFdJLb0S8PyfuNZBDcM=
CPL Id: bcacaf02-d307-4beb-bdf3-2d99a08bdba5
CPL file: Fraueninitiati_SHR-25_F-133_DE-XX_DE_51_2K_FMM_20230926_FMM_SMPTE_OV/CPL_bcacaf02-d307-4beb-bdf3-2d99a08bdba5.xml
CPL type: SMPTE (http://www.smpte-ra.org/schemas/429-7/2006/CPL)
ContentTitleText: Fraueninitiati_SHR-25_F-133_DE-XX_DE_51_2K_FMM_20230926_FMM_SMPTE_OV
Language audio and subtitles: DE-XX
AnnotationText: Fraueninitiati_SHR-25_F-133_DE-XX_DE_51_2K_FMM_20230926_FMM_SMPTE_OV
ContentKind: short
IssueDate: 2023-09-26T16:36:39+02:00 (Tuesday Sep 26 2023 16:36)
Issuer: FMM
Creator: fhg
Number of Reels: 1
Reel 1:
19120 00:12:44:20 @ 25.0 Entry 00:00:00:00 fa85a5fa MainPicture (SMPTE, 00:12:44:20, encrypted, 1998x1080, avg 39.34 Mb/s, max 63.48 Mb/s, pictures)
19120 00:12:44:20 @ 25.0 Entry 00:00:00:00 679952df MainSound (SMPTE, 00:12:44:20, encrypted, 6ch 48kHz 24bps, audio)
Total duration:
19120 00:12:44:20 @ 25.0
CPL bcacaf02-d307-4beb-bdf3-2d99a08bdba5: Composition summary: "Fraueninitiati_SHR-25_F-133_DE-XX_DE_51_2K_FMM_20230926_FMM_SMPTE_OV", SMPTE, KDM required, 2D, Flat, 2K, Avg 39.34 Mb/s, 00:12:44:20, 25.0 fps
Composition complete ✅
You can run dcp_inspect to check a whole tree of packages. For example running dcp_inspect over my test tree of DCPs (with lots of broken, corrupted and weird packages, missing or incomplete assets and compositions, schema errors etc) will produce
[ 688 error and 76 hint messages omitted here ... ]
Info: Found 142 Assetmaps
Info: Found 147 Packages with total size 22.117 GB (Listed: 3.403 TB)
Info: Found 142 Assetmaps, 147 Packages (79 signed/66 verified), 157 Compositions (89 signed/73 verified)
Info: 688 Errors, 76 Hints
If you just need an overview, consider using the --no-hash
and --no-audio-analysis
switches (short form --nh
and --na
) to speed up the inspection.
dcp_inspect will produce detailed error messages. Some examples:
Error: SMPTE Reel 1: Sound: Missing reference: CPL c1bd51a6: opendcp-test-digest/c1bd51a6-fbba-4768-91d1-283d5fc96a4e_cpl.xml
Error: Composition incomplete ❌: Broken assets: CPL a278fc5b: directcinema.de/Richter_TRL_DCP/a278fc5b-47a9-4f31-9a41-a9844eb33668_cpl.xml: ["8eaaea72-4cd7-4bd1-88ab-06a1cec63a34"]
Error: Composition incomplete: SMPTE reels require both MainPicture or MainStereoscopicPicture and MainSound: Reel 1 incomplete: CPL 6dc49d56: dcp_crossfade_1_2_3_4_5/cpl.xml
Hints are messages which you may want to look into but which are not considered to be errors. Some examples:
Hint: CPL 63cda776: Reel 2: DCSubtitle: SpotNumber 5: Font is missing 6 glyphs to render "Haben Sie 我们执行任务 oder nicht?" (UTF-8) ❌: ["我", "们", "执", "行", "任", "务"]
Hint: CPL 63cda776: Reel 2: DCSubtitle: Font testing/fonts/missing_glyphs/orphee/3c6ac7f0-9207-1e1e-a627-463109669277/Tahoma.ttf is missing some required glyphs ❌
Hint: AM 105b8ea3 UUID case mismatch: ./PIRANHA_3D_FTR_S_51_2K_100910_BBM/d34ed700-593f-4571-b6c0-27ba258ea302/Piranhas3D_FTR_einUT.xml: Listed: d34ed700-593f-4571-b6c0-27ba258ea302 Asset: D34ED700-593F-4571-B6C0-27BA258EA302
Hint: Asset UUID and filename UUID component mismatch: e2b6dd50-6313-4319-8099-f2d5984ae9f6 -> 2a48f7a7-cc49-40f9-b0aa-ce76df3fc790_picture.mxf
Hint: Composition incomplete: Supplemental/VF/External: CPL 046adcd9: o_somma_luce/O-SOMMA-LUCE_FTR-1_F_IT-DE_20-IT_2K_ANDOLFI_20100303_MIK_VF2/CPL_046adcd9-e693-4256-88c0-57390baa6960.xml
Hint: Found 1 file outside of AM (GREEN-3840X2160): AM b554866a-0f0e-41cb-a73c-47c55bd937db: "cinemaslides_2015-04-09T06_53_18+02_00.readme"
`dcp_inspect` performs extensive checks of all related signature elements. In addition there is this Siginfo section, which provides expiry info about the involved certificates.
Siginfo: CPL 63cda776-4c05-4ae3-888c-03c4aff22eda: Signature: Certificate "(LvQSOq.. < Qf4HGT..) CS.DMSJP2K-80033.DC.DC2.INTEROP" will expire in almost 2 years (Jan 1 2007-Dec 31 2025)
Siginfo: CPL 63cda776-4c05-4ae3-888c-03c4aff22eda: Signature: Certificate "(Qf4HGT.. < 10IWnv..) .DC.DMS.DC2.INTEROP" will expire in almost 2 years (Jan 1 2007-Dec 31 2025)
Siginfo: CPL 63cda776-4c05-4ae3-888c-03c4aff22eda: Signature: Certificate "(10IWnv.. < k2+ZCf..) .DMS.DC2.INTEROP" will expire in almost 2 years (Jan 1 2007-Dec 31 2025)
Siginfo: CPL 63cda776-4c05-4ae3-888c-03c4aff22eda: Signature: Certificate "(k2+ZCf.. < K9jID4..) .PRODUCTS.DC2.INTEROP" will expire in almost 2 years (Jan 1 2007-Dec 31 2025)
Siginfo: CPL 63cda776-4c05-4ae3-888c-03c4aff22eda: Signature: Certificate "(K9jID4.. < K9jID4..) .ROOT.DC2.INTEROP" will expire in almost 2 years (Jan 1 2007-Dec 31 2025)
- Use
quiet
,errors
,hints
,siginfo
,info
,debug
orcpl
to control verbosity. Specify multiple cutouts like-v errors,info
. Default isdebug
which includes everything (may be a bit much for most).-v info
will provide a useful summary.
- Run with the
-v quiet
switch to completely turn off output to the console and use the exit codes instead.
- Use the
--logfile
option to get back a full report file, independent of your verbosity setting.