View Bug Details

IDProjectCategoryView StatusLast Update
0001702DCP-o-maticFeaturespublic2024-02-17 23:32
Reporteroverlookmotel Assigned Tocarl  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version2.14.15 
Summary0001702: dcpomatic2_cli --dump output include length of resulting DCP

This is picking up on Carl's suggestion in 0001700 to have some API to determine the length of a DCP before it is encoded.

It feels to me that rather than adding a new command, this could fit quite neatly into the existing dcpomatic2_cli --dump command.

i.e. What I'm suggesting is to add duration of DCP to the first section of dcpomatic2_cli --dump's output:

DCI Flat at 2K
Duration 00:10:12:05
Output 25fps 2D 48kHz
SMPTE unencrypted

Duration could be expressed either as timecode or number of frames.

This would fulfil the use cases outlined in 0001701.

TagsNo tags attached.
Estimated weeks required
Estimated work requiredTiny



2019-12-23 13:45

developer   ~0003677

I would be very happy (hell, I'm keen!) to implement this myself. It's a pretty small change, so could be a good opportunity to start getting my hands dirty in the DOM codebase, without trying to solve a complex problem at the same time.

Please let me know if you'd be willing to accept a patch/PR for this, and it'd be helpful if you could point me to the right place in the codebase to start.


2019-12-23 21:37

administrator   ~0003678

Great! It might also be useful to think about why dcpomatic2_create does not do what you need.

To modify dcpomatic2_cli you need to look in src/tools/ Let me know if you need any help, and don't hesistate to submit a PR on github (or whatever other way is easiest).


2019-12-23 23:45

developer   ~0003686

OK great. I'll delve into this in the new year. Just to warn you, I've never written a line of C/C++ in my life, so it might take me a while to work it out. About time I learned though...


2024-02-17 23:32

administrator   ~0006326


Bug History

Date Modified Username Field Change
2019-12-23 13:21 overlookmotel New Bug
2019-12-23 13:45 overlookmotel Note Added: 0003677
2019-12-23 21:37 carl Note Added: 0003678
2019-12-23 23:45 overlookmotel Note Added: 0003686
2023-12-22 22:33 carl Status new => acknowledged
2024-01-04 00:54 carl Estimated work required => Tiny
2024-02-17 23:32 carl Assigned To => carl
2024-02-17 23:32 carl Status acknowledged => resolved
2024-02-17 23:32 carl Resolution open => fixed
2024-02-17 23:32 carl Note Added: 0006326