Example output from dcp_inspect

wolfgangw edited this page Apr 26, 2013 · 9 revisions
Clone this wiki locally

Compositions

dcp_inspect started out as an overview tool in dietrich, to easily see what a composition (CPL, CompositionPlaylist) was made of. Here’s the composition snippet of a dcp_inspect run:

 CPL eece17de-77e8-4a55-9347-b6bab5724b9f: Schema check: OK
 CPL eece17de-77e8-4a55-9347-b6bab5724b9f: Signature check: OK
 Signer:           /O=wolfgangw.github.com/OU=ca.wolfgangw.github.com/CN=CS.wolfgangw.smpte-430-2.leaf/dnQualifier=OxfjWkgv2eJdAoe6h+MWU+bJpZQ=
 Signer issuer:    /O=wolfgangw.github.com/OU=ca.wolfgangw.github.com/CN=.wolfgangw.smpte-430-2.intermediate/dnQualifier=tFRIKbZGHS41l8izvl2bUdVyXBQ=
 CPL Id:           eece17de-77e8-4a55-9347-b6bab5724b9f
 CPL file:         TONEPLATES-SMPTE-ENCRYPTED_TST_F_XX-XX_ITL-TD_51-XX_2K_WOE_20111001_WOE_OV/cpl_eece17de-77e8-4a55-9347-b6bab5724b9f_.xml
 CPL type:         SMPTE (http://www.smpte-ra.org/schemas/429-7/2006/CPL)
 ContentTitleText: TONEPLATES-SMPTE-ENCRYPTED_TST_F_XX-XX_ITL-TD_51-XX_2K_WOE_20111001_WOE_OV
 	Language audio and subtitles: XX-XX
 AnnotationText:   TONEPLATES-SMPTE-ENCRYPTED_TST_F_XX-XX_ITL-TD_51-XX_2K_WOE_20111001_WOE_OV
 ContentKind:      test
 IssueDate:        2011-10-01T17:00:48+02:00 (Saturday Oct 1 2011 17:00)
 Issuer:           WOE
 Creator:          cinemaslides v0.2011.10.01 smpte cpl
 Number of Reels:  1
 Reel 1:
    144  00:00:06+00 @ 24.0  6196fa54-cb27-45f0-a3a9-c0130b2f698e  MainPicture	(SMPTE, 00:00:06+00, encrypted, 1998x1080, pictures)
    144  00:00:06+00 @ 24.0  5c851c7b-79fd-411d-86ad-dd78e0e8f31a  MainSound	(SMPTE, 00:00:06+00, encrypted, 6 channels, 48 kHz, 24 bps, audio)
 Total duration:
    144  00:00:06+00 @ 24.0
 Composition kind: 2D/Monoscopic
 Composition type: SMPTE
 Composition complete

Package trees

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 or outright weird packages, missing or incomplete assets and compositions, schema errors and all that) 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

Error messages

dcp_inspect will produce detailed error messages with a 1:1 mapping: Each problem its own message. No dumbing it down here. Some example error messages:

 Error: SMPTE Reel 1: Sound: Missing reference: CPL c1bd51a6-fbba-4768-91d1-283d5fc96a4e: opendcp-test-digest/c1bd51a6-fbba-4768-91d1-283d5fc96a4e_cpl.xml
 Error: Signature: a24f20b6-cbf1-4653-8e8c-d65042c104de: ./plugfests/gdc/GDC_Interop_Test_Content_V3/CPL_a24f20b6-cbf1-4653-8e8c-d65042c104de.xml: {"/dnQualifier=y4ClhlYtHRJhlLJjg4PS9yHhlL0=/OU=CA.GDC-TECH.COM/O=CA.GDC-TECH.COM/CN=LE MD SM SPB.E00012.EN1000.ENCODERS.PRODUCTS.CA.GDC-TECH.COM"=>[], "/dnQualifier=DMfgRGgaWX93ODhb5hCqhwF1ybU=/OU=CA.GDC-TECH.COM/O=CA.GDC-TECH.COM/CN=.EN1000.ENCODERS.PRODUCTS.CA.GDC-TECH.COM"=>["basicConstraints not marked critical"], "/dnQualifier=GYc6UTFI5Z5mDW9YfqvN9Z3Idv8=/OU=CA.GDC-TECH.COM/O=CA.GDC-TECH.COM/CN=.ENCODERS.PRODUCTS.CA.GDC-TECH.COM"=>["basicConstraints not marked critical"], "/dnQualifier=X5jH73PRiV9VLZCknh46mFpvgBA=/OU=CA.GDC-TECH.COM/O=CA.GDC-TECH.COM/CN=.PRODUCTS.CA.GDC-TECH.COM"=>["basicConstraints not marked critical"], "/dnQualifier=8WpVF0ZLGuBdAYIBY7lxeYTSzYg=/OU=CA.GDC-TECH.COM/O=CA.GDC-TECH.COM/CN=.CA.GDC-TECH.COM"=>["basicConstraints not marked critical"]}
 Error: Composition incomplete: Broken assets: CPL a278fc5b-47a9-4f31-9a41-a9844eb33668: 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 and MainSound: Reel 1 incomplete: CPL 6dc49d56-feab-4975-af3c-e4e8bcd7b003: dcp_crossfade_1_2_3_4_5/cpl.xml

Hints

Hints are messages which you may want to look into but which are not considered to be errors. Wide range of possible messages here and I’m not done with these either. Some examples:

 Hint: UUID case mismatch: AM 105b8ea3-b689-4fcf-a080-6507930fd7c6 PIRANHA_3D_FTR_S_51_2K_100910_BBM/ASSETMAP: ./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-e693-4256-88c0-57390baa6960: 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: Composition type: Mixed: Supplemental/VF/External: CPL bffdf82a-a475-4219-8ede-d9b0a28dad29: dcp_subtitles_interop_pngs/cpl.xml: ["SMPTE", "SMPTE", "SMPTE", "Interop"]

Full report

Here is the dcp_inspect output for Mike Radford’s test package TKR-TEST-1-22-2012 (raw pastie):

dcp_inspect v1.2013.04.20: ["."]
Found 1 Assetmap candidate: ["fe7481c2-1831-4aae-855c-ebde55fb3112/ASSETMAP.xml"]
AM a8c83950-f025-4ee6-beba-31eaa1cda87a: Schema check: OK: ./fe7481c2-1831-4aae-855c-ebde55fb3112/ASSETMAP.xml

Found 1 Assetmap
AM a8c83950-f025-4ee6-beba-31eaa1cda87a: fe7481c2-1831-4aae-855c-ebde55fb3112/ASSETMAP.xml
AM a8c83950-f025-4ee6-beba-31eaa1cda87a lists 4 assets:
15a8f1e3-0c15-4a2a-a015-9db226995841: fe7481c2-1831-4aae-855c-ebde55fb3112/pkl-15a8f1e3-0c15-4a2a-a015-9db226995841.xml
dda733ad-8051-428f-98a0-757ba38e4823: fe7481c2-1831-4aae-855c-ebde55fb3112/dda733ad-8051-428f-98a0-757ba38e4823.mxf
fe7481c2-1831-4aae-855c-ebde55fb3112: fe7481c2-1831-4aae-855c-ebde55fb3112/cpl-fe7481c2-1831-4aae-855c-ebde55fb3112.xml
ec51f11a-5168-4cc6-93bf-a52c006a516c: fe7481c2-1831-4aae-855c-ebde55fb3112/ec51f11a-5168-4cc6-93bf-a52c006a516c.mxf
Assetmap a8c83950-f025-4ee6-beba-31eaa1cda87a lists 1 PKL:
PKL file present: 15a8f1e3-0c15-4a2a-a015-9db226995841: ./fe7481c2-1831-4aae-855c-ebde55fb3112/pkl-15a8f1e3-0c15-4a2a-a015-9db226995841.xml

Found 1 Package
PKL file present: 15a8f1e3-0c15-4a2a-a015-9db226995841: ./fe7481c2-1831-4aae-855c-ebde55fb3112/pkl-15a8f1e3-0c15-4a2a-a015-9db226995841.xml

PKL 15a8f1e3-0c15-4a2a-a015-9db226995841: ./fe7481c2-1831-4aae-855c-ebde55fb3112/pkl-15a8f1e3-0c15-4a2a-a015-9db226995841.xml
PKL 15a8f1e3-0c15-4a2a-a015-9db226995841: Schema check: OK
PKL 15a8f1e3-0c15-4a2a-a015-9db226995841: Signature check: OK
Signer:        /O=Twentieth Century Fox Film Corporation D-Cinema/OU=Fox Technology Packager Oscar/CN=CS.OSCAR.FTG.NA.DISTRIBUTION.DC.FOX.COM/dnQualifier=MuC+5zXb8ZX+FNfZer3gj3wwuxM=
Signer issuer: /O=Twentieth Century Fox Film Corporation D-Cinema/OU=Fox Technology Certificate Authority/CN=.CA.FTG.NA.DISTRIBUTION.DC.FOX.COM/dnQualifier=1SsYEHm+MOOFdtXqqUL6rvwFB9w=
PKL 15a8f1e3-0c15-4a2a-a015-9db226995841 lists 3 assets
dda733ad-8051-428f-98a0-757ba38e4823: application/mxf: fe7481c2-1831-4aae-855c-ebde55fb3112/dda733ad-8051-428f-98a0-757ba38e4823.mxf
dda733ad-8051-428f-98a0-757ba38e4823: Checking hash value: OK
fe7481c2-1831-4aae-855c-ebde55fb3112: text/xml: fe7481c2-1831-4aae-855c-ebde55fb3112/cpl-fe7481c2-1831-4aae-855c-ebde55fb3112.xml
fe7481c2-1831-4aae-855c-ebde55fb3112: Checking hash value: OK
ec51f11a-5168-4cc6-93bf-a52c006a516c: application/mxf: fe7481c2-1831-4aae-855c-ebde55fb3112/ec51f11a-5168-4cc6-93bf-a52c006a516c.mxf
ec51f11a-5168-4cc6-93bf-a52c006a516c: Checking hash value: OK
PKL 15a8f1e3-0c15-4a2a-a015-9db226995841: Package size: 5.0 GB
PKL 15a8f1e3-0c15-4a2a-a015-9db226995841 lists 1 composition
CPL file present: fe7481c2-1831-4aae-855c-ebde55fb3112: ./fe7481c2-1831-4aae-855c-ebde55fb3112/cpl-fe7481c2-1831-4aae-855c-ebde55fb3112.xml

Found 1 Composition
CPL file present: fe7481c2-1831-4aae-855c-ebde55fb3112: ./fe7481c2-1831-4aae-855c-ebde55fb3112/cpl-fe7481c2-1831-4aae-855c-ebde55fb3112.xml

CPL fe7481c2-1831-4aae-855c-ebde55fb3112: Schema check: OK
CPL fe7481c2-1831-4aae-855c-ebde55fb3112: Signature check: OK
Signer:           /O=Twentieth Century Fox Film Corporation D-Cinema/OU=Fox Technology Packager Oscar/CN=CS.OSCAR.FTG.NA.DISTRIBUTION.DC.FOX.COM/dnQualifier=MuC+5zXb8ZX+FNfZer3gj3wwuxM=
Signer issuer:    /O=Twentieth Century Fox Film Corporation D-Cinema/OU=Fox Technology Certificate Authority/CN=.CA.FTG.NA.DISTRIBUTION.DC.FOX.COM/dnQualifier=1SsYEHm+MOOFdtXqqUL6rvwFB9w=
CPL Id:           fe7481c2-1831-4aae-855c-ebde55fb3112
CPL file:         ./fe7481c2-1831-4aae-855c-ebde55fb3112/cpl-fe7481c2-1831-4aae-855c-ebde55fb3112.xml
CPL type:         SMPTE (http://www.smpte-ra.org/schemas/429-7/2006/CPL)
ContentTitleText: TKR-TEST-1-22-2012
AnnotationText:   TKR-TEST-1-22-2012
ContentKind:      test
IssueDate:        2012-01-22T16:51:19-08:00 (Sunday Jan 22 2012 16:51)
TKR Base URL:     http://tkr.foxpico.com/kdm/fe7481c2-1831-4aae-855c-ebde55fb3112/c22e3057c2/
Creator:          radford
CompositionMetadataAsset:
                  ReleaseRegion: US
                  Distributor: 20th Century Fox
                  Facility: 20th Century Fox
                  StereoscopicLuminance: 4
                  MainSoundConfiguration: 5.1
                  MainPictureActiveArea: 4096x2160
                  TKRBaseURL: http://tkr.foxpico.com/kdm/fe7481c2-1831-4aae-855c-ebde55fb3112/c22e3057c2/
Number of Reels:  3
Reel 1:
   554  00:00:23+02 @ 24.0  dda733ad-8051-428f-98a0-757ba38e4823  MainPicture	(SMPTE, 00:02:46+18, encrypted, 4096x2160, pictures)
   554  00:00:23+02 @ 24.0  ec51f11a-5168-4cc6-93bf-a52c006a516c  MainSound	(SMPTE, 00:02:46+17, encrypted, 6 channels, 48 kHz, 24 bps, audio)
Reel 2:
    24  00:00:01+00 @ 24.0  dda733ad-8051-428f-98a0-757ba38e4823  MainPicture	(SMPTE, 00:02:46+18, encrypted, 4096x2160, pictures)
    24  00:00:01+00 @ 24.0  ec51f11a-5168-4cc6-93bf-a52c006a516c  MainSound	(SMPTE, 00:02:46+17, encrypted, 6 channels, 48 kHz, 24 bps, audio)
Reel 3:
  3423  00:02:22+15 @ 24.0  dda733ad-8051-428f-98a0-757ba38e4823  MainPicture	(SMPTE, 00:02:46+18, encrypted, 4096x2160, pictures)
  3423  00:02:22+15 @ 24.0  ec51f11a-5168-4cc6-93bf-a52c006a516c  MainSound	(SMPTE, 00:02:46+17, encrypted, 6 channels, 48 kHz, 24 bps, audio)
Total duration:
  4001  00:02:46+17 @ 24.0
Composition kind: 2D/Monoscopic
Composition type: SMPTE
Composition complete

Hint: CPL fe7481c2-1831-4aae-855c-ebde55fb3112: Reel 2: Reel duration less than 5 seconds. Doremi TB 65 suggests a 5 second minimum for safe playback on Doremi systems
Hint: CPL fe7481c2-1831-4aae-855c-ebde55fb3112: Naming convention: Part film_title "TKR-TEST-1-22-2012" of "TKR-TEST-1-22-2012" does not match strict form
Hint: CPL fe7481c2-1831-4aae-855c-ebde55fb3112: Naming convention: Part film_title "TKR-TEST-1-22-2012" has 18 characters instead of max 14
Hint: CPL fe7481c2-1831-4aae-855c-ebde55fb3112: Naming convention: ContentTitleText "TKR-TEST-1-22-2012" has only 1 part. Expected 11 (missing {:content_type=>false, :aspect_ratio=>false, :language=>false, :territory_rating=>false, :audio_type=>false, :resolution=>false, :studio=>false, :date=>false, :facility=>false, :package_type=>false})
Hint: CPL fe7481c2-1831-4aae-855c-ebde55fb3112: Naming convention: 1 part matching: film_title:"TKR-TEST-1-22-2012"
Hint: CPL fe7481c2-1831-4aae-855c-ebde55fb3112: Naming convention: 10 parts missing: content_type, aspect_ratio, language, territory_rating, audio_type, resolution, studio, date, facility, package_type
Info: CPL fe7481c2-1831-4aae-855c-ebde55fb3112: Composition TKR-TEST-1-22-2012 was issued over 1 year ago
Info: dcp_inspect v1.2013.04.20 on Friday Apr 26 2013 21:16
Info: Inspected: [...]/plugfests/fox/som-tkr
Info: Found 1 Package with total size 5.0 GB
Info: Found 1 Assetmap, 1 Package (1 signed/1 verified), 1 Composition (1 signed/1 verified)
Info: 0 Errors, 6 Hints

Verbosity and exit codes

  • Run dcp_inspect with the -v quiet switch to completely turn off output to the console and use its exit codes instead.
  • Use --verbosity errors, hints, info or cpl to further control verbosity.
  • Use the --logfile option to get back a full report file, independent of your verbosity setting.