Extract Markers from a DCP

Anything and everything to do with DCP-o-matic.
chrusli
Posts: 22
Joined: Sun Jul 17, 2022 12:32 pm

Extract Markers from a DCP

Post by chrusli »

Is it possible to read/extract the DCP markers from a DCP (not the project). I can't find them in any XML. Is it also possible if the DCP is protected by a KDM?
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Extract Markers from a DCP

Post by carl »

They should be in the CPL inside a tag called MainMarkers so yes, it should be possible also with encrypted content.
Carsten
Posts: 2804
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: Extract Markers from a DCP

Post by Carsten »

Current release version of DCP-o-matic will allow you to extract Markers from an imported DCP and reuse them in the current project.

DCP-o-matic will also show markers above the playback cursor, and in timeline view.


And yes, they are visible in the CPL XML, even in encrypted DCPs.


I guess it would also be a good idea if the player would indicate markers.

Bildschirmfoto 2024-11-20 um 15.47.30.png



<MainMarkers>
<Id>urn:uuid:b43634d8-33d1-47c1-9934-f40987cc6af6</Id>
<EditRate>25 1</EditRate>
<IntrinsicDuration>2810</IntrinsicDuration>
<MarkerList>
<Marker>
<Label>FFOC</Label>
<Offset>1</Offset>
</Marker>
<Marker>
<Label>LFOC</Label>
<Offset>2809</Offset>
</Marker>
<Marker>
<Label>FFTC</Label>
<Offset>0</Offset>
</Marker>
<Marker>
<Label>LFTC</Label>
<Offset>38</Offset>
</Marker>
<Marker>
<Label>FFOI</Label>
<Offset>953</Offset>
</Marker>
<Marker>
<Label>LFOI</Label>
<Offset>1085</Offset>
</Marker>
<Marker>
<Label>FFEC</Label>
<Offset>1332</Offset>
</Marker>
<Marker>
<Label>LFEC</Label>
<Offset>1788</Offset>
</Marker>
<Marker>
<Label>FFMC</Label>
<Offset>2135</Offset>
</Marker>
<Marker>
<Label>LFMC</Label>
<Offset>2775</Offset>
</Marker>
</MarkerList>
</MainMarkers>
You do not have the required permissions to view the files attached to this post.
chrusli
Posts: 22
Joined: Sun Jul 17, 2022 12:32 pm

Re: Extract Markers from a DCP

Post by chrusli »

Thank you Carl and Carsten for the reply. I create all my DCPs with DCP-o-matic and I always include the "First frame of end credits" and "First frame of moving credits".

2024-11-21 07_28_08-Markers.jpg

In the DCP folder there is no file called CPL and none of the XML includes markers information.

2024-11-21 07_30_27-StandByMe_FTR-1_F-184_EN-XX_51_2K_20241002_SMPTE_OV.jpg

Am I missing something?
You do not have the required permissions to view the files attached to this post.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Extract Markers from a DCP

Post by carl »

Can you attach your cpl_2f8f73f4-e301... file (or email it to carl@dcpomatic.com) ?
chrusli
Posts: 22
Joined: Sun Jul 17, 2022 12:32 pm

Re: Extract Markers from a DCP

Post by chrusli »

I don't know how, but I did miss this cpl xml. It's there and the markers are in it. Thank you!