View Bug Details

IDProjectCategoryView StatusLast Update
0001328DCP-o-maticBugspublic2021-01-08 00:45
Reporteroverlookmotel Assigned Tocarl  
PriorityhighSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
PlatformMacOSMac OSOS Version10.12.6
Product Version2.12.0 
Summary0001328: Error when trying to make DCP from Quicktime + DCP where trim set on both
Description

I tried to make a DCP from 2 bits of content together:

  1. Quicktime ProRes file (25fps, 42s00f long)
  2. DCP (made by DCP-o-matic 2.12.6) (25fps, approx 1h30m long)

I set start trim on the ProRes to 00s01f.
I set start trim on the DCP to 41s24f.

To explain: I already made a DCP of this film, but now need to make amendments to the opening sequence. So am trying to insert the new opening sequence (ProRes) and copy rest of the frames from the 1st DCP. The reason for the 1 frame discrepancy between length of ProRes (42s00f) and trim on source DCP (41s24f) is that the first frame of the ProRes is blank and being trimmed off.

Making the DCP as 25fps. Container size is Flat (both in the source DCP and output DCP). So the frames from the source DCP are not being re-encoded.

I click "Make DCP" and after a while it stops with error:
"Error: Programming error at ../src/lib/reel_writer.cc:383 2 vs 138063"

I'm not sure at what point in the process the error came up as I set it going and then left it alone for a while. The error was there when I came back.

DCP-o-matic 2.12.6 on an iMac. No network encoding nodes.

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work requiredUnknown

Activities

overlookmotel

2018-06-25 17:18

developer   ~0002488

Further observation:

I also tried to get around the problem by:

  • encoding the short ProRes to DCP (trimming off the first frame in the process)
  • creating a new DCP-o-matic project to join that DCP with the main DCP (same one as used above)
  • DCP 1 had no trim applied
  • DCP 2 had start trim set to 41s24f (as above)

I got the same error as above.
Error happened at the end of the "computing digests" stage.

It appears it either DOM does not like joining 2 DCPs together or (more likely) it doesn't like the trim start on 2nd source DCP.

overlookmotel

2018-06-25 19:45

developer   ~0002489

Further update:

I finally succeeded by:

  • Creating DCP from DCP 2 only with start trim applied (i.e. creating new DCP with the opening sequence trimmed off the start) - call this DCP 3
  • Creating DCP from DCP 1 + DCP 3 with no trim on either source DCP

This did not produce an error.

I therefore conclude that what caused the error was: trying to create a DCP from 2 sources where trim is applied to the 2nd source and the 2nd source is a DCP. I have not tested to see if the same problem occurs if the 2nd source is a Quicktime file.

Sorry it's taken me 3 posts to properly pin down the problem!

carl

2018-07-09 19:31

administrator   ~0002523

Do you know what your reel mode setting ("reels" in the DCP tab) was?

overlookmotel

2018-07-10 16:56

developer   ~0002527

Thanks for looking into this. Reel mode setting was "Single reel".

carl

2019-02-07 21:52

administrator   ~0003051

Could possibly be fixed by 3af7c0760164299e425a834b952846151109d137

carl

2019-02-08 21:31

administrator   ~0003059

If you get the chance, perhaps you could test this again once 2.14.0 is released, to see if it's still a problem.

overlookmotel

2019-02-09 14:29

developer   ~0003062

Thanks Carl. Yes I will do when it's released.

overlookmotel

2020-01-06 21:59

developer   ~0003704

I this has now been fixed. I've not checked this exact scenario on newer versions of DCP-o-matic, but I think it likely related to incorrect calculations of trim, which have now been fixed.

So I think this issue can be closed.

carl

2020-01-06 22:03

administrator   ~0003707

Thanks for following up.

Bug History

Date Modified Username Field Change
2018-06-25 17:03 overlookmotel New Bug
2018-06-25 17:18 overlookmotel Note Added: 0002488
2018-06-25 17:27 carl Target Version => 2.14.0
2018-06-25 19:45 overlookmotel Note Added: 0002489
2018-07-09 16:17 carl Priority normal => high
2018-07-09 19:31 carl Assigned To => carl
2018-07-09 19:31 carl Status new => feedback
2018-07-09 19:31 carl Note Added: 0002523
2018-07-10 16:56 overlookmotel Note Added: 0002527
2018-07-10 16:56 overlookmotel Status feedback => assigned
2019-02-07 21:52 carl Note Added: 0003051
2019-02-08 21:31 carl Status assigned => feedback
2019-02-08 21:31 carl Note Added: 0003059
2019-02-08 21:31 carl Target Version 2.14.0 =>
2019-02-09 14:29 overlookmotel Note Added: 0003062
2019-02-09 14:29 overlookmotel Status feedback => assigned
2020-01-06 21:59 overlookmotel Note Added: 0003704
2020-01-06 22:03 carl Status assigned => resolved
2020-01-06 22:03 carl Resolution open => fixed
2020-01-06 22:03 carl Note Added: 0003707
2021-01-08 00:45 carl Status resolved => closed