Extract Markers from a DCP
-
- Posts: 22
- Joined: Sun Jul 17, 2022 12:32 pm
Extract Markers from a DCP
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?
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: Extract Markers from a DCP
They should be in the CPL inside a tag called MainMarkers so yes, it should be possible also with encrypted content.
-
- Posts: 2804
- Joined: Tue Apr 15, 2014 9:11 pm
- Location: Germany
Re: Extract Markers from a DCP
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.
<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>
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.
<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.
-
- Posts: 22
- Joined: Sun Jul 17, 2022 12:32 pm
Re: Extract Markers from a DCP
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".
In the DCP folder there is no file called CPL and none of the XML includes markers information.
Am I missing something?
In the DCP folder there is no file called CPL and none of the XML includes markers information.
Am I missing something?
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: Extract Markers from a DCP
Can you attach your cpl_2f8f73f4-e301... file (or email it to carl@dcpomatic.com) ?
-
- Posts: 22
- Joined: Sun Jul 17, 2022 12:32 pm
Re: Extract Markers from a DCP
I don't know how, but I did miss this cpl xml. It's there and the markers are in it. Thank you!