View Bug Details

IDProjectCategoryView StatusLast Update
0001643DCP-o-maticBugspublic2023-09-01 21:48
Reportercarl Assigned Tocarl  
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version2.14.14 
Summary0001643: PE: writer.cc 763/764
Description

Make a DCP with a project containing 2 DCPs, first not quite at 0 and the second with a gap after the first, reel mode "video". Programming error at writer.cc:764 in v2.14.x.

Tagsnext
Branch
Estimated weeks required
Estimated work requiredUndecided

Activities

carl

2019-10-31 16:30

administrator  

metadata.xml (14,446 bytes)   
<?xml version="1.0" encoding="UTF-8"?>
<Metadata>
  <Version>37</Version>
  <Name>test</Name>
  <UseISDCFName>1</UseISDCFName>
  <DCPContentType>FTR</DCPContentType>
  <Container>185</Container>
  <Resolution>2K</Resolution>
  <J2KBandwidth>150000000</J2KBandwidth>
  <ISDCFMetadata>
    <ContentVersion>1</ContentVersion>
    <AudioLanguage></AudioLanguage>
    <Territory></Territory>
    <Rating></Rating>
    <Studio></Studio>
    <Facility></Facility>
    <TempVersion>0</TempVersion>
    <PreRelease>0</PreRelease>
    <RedBand>0</RedBand>
    <Chain></Chain>
    <TwoDVersionOfThreeD>0</TwoDVersionOfThreeD>
    <MasteredLuminance></MasteredLuminance>
  </ISDCFMetadata>
  <VideoFrameRate>24</VideoFrameRate>
  <ISDCFDate>20191031</ISDCFDate>
  <AudioChannels>6</AudioChannels>
  <ThreeD>0</ThreeD>
  <Sequence>0</Sequence>
  <Interop>1</Interop>
  <Signed>1</Signed>
  <Encrypted>0</Encrypted>
  <Key>799c3c48eb01e3c17a1997a10de9e8fc</Key>
  <ContextID>473166ee-77ce-433d-ab60-07573394fadb</ContextID>
  <ReelType>1</ReelType>
  <ReelLength>2000000000</ReelLength>
  <UploadAfterMakeDCP>0</UploadAfterMakeDCP>
  <ReencodeJ2K>0</ReencodeJ2K>
  <UserExplicitVideoFrameRate>0</UserExplicitVideoFrameRate>
  <Playlist>
    <Content>
      <Type>DCP</Type>
      <Path mtime="1571348548">/home/cah/DCP/Examples/BohemianRhapsody_TLR-7_S_DE-XX_DE_51_2K_TCFG_20180514_TM_IOP_OV/ASSETMAP</Path>
      <Path mtime="1571348548">/home/cah/DCP/Examples/BohemianRhapsody_TLR-7_S_DE-XX_DE_51_2K_TCFG_20180514_TM_IOP_OV/5bd6e64c-695c-43fd-b437-5450c8c1fe37_j2c.mxf</Path>
      <Path mtime="1571348554">/home/cah/DCP/Examples/BohemianRhapsody_TLR-7_S_DE-XX_DE_51_2K_TCFG_20180514_TM_IOP_OV/CPL_666a21ab-c7e6-452f-a465-37f76258af75.xml</Path>
      <Path mtime="1571348554">/home/cah/DCP/Examples/BohemianRhapsody_TLR-7_S_DE-XX_DE_51_2K_TCFG_20180514_TM_IOP_OV/c33c1153-64ab-4060-a9d8-448a2b070632_pcm.mxf</Path>
      <Path mtime="1571348554">/home/cah/DCP/Examples/BohemianRhapsody_TLR-7_S_DE-XX_DE_51_2K_TCFG_20180514_TM_IOP_OV/VOLINDEX</Path>
      <Path mtime="1571348554">/home/cah/DCP/Examples/BohemianRhapsody_TLR-7_S_DE-XX_DE_51_2K_TCFG_20180514_TM_IOP_OV/PKL_6b025686-8b24-42f5-bbd5-947fbe3ff93d.xml</Path>
      <Digest>a214cea62815cbc183aa75770337b4591470</Digest>
      <Position>468000</Position>
      <TrimStart>0</TrimStart>
      <TrimEnd>0</TrimEnd>
      <VideoFrameRate>24</VideoFrameRate>
      <VideoLength>2152</VideoLength>
      <VideoWidth>2048</VideoWidth>
      <VideoHeight>858</VideoHeight>
      <VideoFrameType>2d</VideoFrameType>
      <LeftCrop>0</LeftCrop>
      <RightCrop>0</RightCrop>
      <TopCrop>0</TopCrop>
      <BottomCrop>0</BottomCrop>
      <Scale>
        <Ratio>239</Ratio>
      </Scale>
      <YUV>0</YUV>
      <FadeIn>0</FadeIn>
      <FadeOut>0</FadeOut>
      <AudioGain>0</AudioGain>
      <AudioDelay>0</AudioDelay>
      <AudioFrameRate>48000</AudioFrameRate>
      <AudioLength>2152</AudioLength>
      <AudioMapping>
        <InputChannels>6</InputChannels>
        <OutputChannels>16</OutputChannels>
        <Gain Input="0" Output="0">1</Gain>
        <Gain Input="0" Output="1">0</Gain>
        <Gain Input="0" Output="2">0</Gain>
        <Gain Input="0" Output="3">0</Gain>
        <Gain Input="0" Output="4">0</Gain>
        <Gain Input="0" Output="5">0</Gain>
        <Gain Input="0" Output="6">0</Gain>
        <Gain Input="0" Output="7">0</Gain>
        <Gain Input="0" Output="8">0</Gain>
        <Gain Input="0" Output="9">0</Gain>
        <Gain Input="0" Output="10">0</Gain>
        <Gain Input="0" Output="11">0</Gain>
        <Gain Input="0" Output="12">0</Gain>
        <Gain Input="0" Output="13">0</Gain>
        <Gain Input="0" Output="14">0</Gain>
        <Gain Input="0" Output="15">0</Gain>
        <Gain Input="1" Output="0">0</Gain>
        <Gain Input="1" Output="1">1</Gain>
        <Gain Input="1" Output="2">0</Gain>
        <Gain Input="1" Output="3">0</Gain>
        <Gain Input="1" Output="4">0</Gain>
        <Gain Input="1" Output="5">0</Gain>
        <Gain Input="1" Output="6">0</Gain>
        <Gain Input="1" Output="7">0</Gain>
        <Gain Input="1" Output="8">0</Gain>
        <Gain Input="1" Output="9">0</Gain>
        <Gain Input="1" Output="10">0</Gain>
        <Gain Input="1" Output="11">0</Gain>
        <Gain Input="1" Output="12">0</Gain>
        <Gain Input="1" Output="13">0</Gain>
        <Gain Input="1" Output="14">0</Gain>
        <Gain Input="1" Output="15">0</Gain>
        <Gain Input="2" Output="0">0</Gain>
        <Gain Input="2" Output="1">0</Gain>
        <Gain Input="2" Output="2">1</Gain>
        <Gain Input="2" Output="3">0</Gain>
        <Gain Input="2" Output="4">0</Gain>
        <Gain Input="2" Output="5">0</Gain>
        <Gain Input="2" Output="6">0</Gain>
        <Gain Input="2" Output="7">0</Gain>
        <Gain Input="2" Output="8">0</Gain>
        <Gain Input="2" Output="9">0</Gain>
        <Gain Input="2" Output="10">0</Gain>
        <Gain Input="2" Output="11">0</Gain>
        <Gain Input="2" Output="12">0</Gain>
        <Gain Input="2" Output="13">0</Gain>
        <Gain Input="2" Output="14">0</Gain>
        <Gain Input="2" Output="15">0</Gain>
        <Gain Input="3" Output="0">0</Gain>
        <Gain Input="3" Output="1">0</Gain>
        <Gain Input="3" Output="2">0</Gain>
        <Gain Input="3" Output="3">1</Gain>
        <Gain Input="3" Output="4">0</Gain>
        <Gain Input="3" Output="5">0</Gain>
        <Gain Input="3" Output="6">0</Gain>
        <Gain Input="3" Output="7">0</Gain>
        <Gain Input="3" Output="8">0</Gain>
        <Gain Input="3" Output="9">0</Gain>
        <Gain Input="3" Output="10">0</Gain>
        <Gain Input="3" Output="11">0</Gain>
        <Gain Input="3" Output="12">0</Gain>
        <Gain Input="3" Output="13">0</Gain>
        <Gain Input="3" Output="14">0</Gain>
        <Gain Input="3" Output="15">0</Gain>
        <Gain Input="4" Output="0">0</Gain>
        <Gain Input="4" Output="1">0</Gain>
        <Gain Input="4" Output="2">0</Gain>
        <Gain Input="4" Output="3">0</Gain>
        <Gain Input="4" Output="4">1</Gain>
        <Gain Input="4" Output="5">0</Gain>
        <Gain Input="4" Output="6">0</Gain>
        <Gain Input="4" Output="7">0</Gain>
        <Gain Input="4" Output="8">0</Gain>
        <Gain Input="4" Output="9">0</Gain>
        <Gain Input="4" Output="10">0</Gain>
        <Gain Input="4" Output="11">0</Gain>
        <Gain Input="4" Output="12">0</Gain>
        <Gain Input="4" Output="13">0</Gain>
        <Gain Input="4" Output="14">0</Gain>
        <Gain Input="4" Output="15">0</Gain>
        <Gain Input="5" Output="0">0</Gain>
        <Gain Input="5" Output="1">0</Gain>
        <Gain Input="5" Output="2">0</Gain>
        <Gain Input="5" Output="3">0</Gain>
        <Gain Input="5" Output="4">0</Gain>
        <Gain Input="5" Output="5">1</Gain>
        <Gain Input="5" Output="6">0</Gain>
        <Gain Input="5" Output="7">0</Gain>
        <Gain Input="5" Output="8">0</Gain>
        <Gain Input="5" Output="9">0</Gain>
        <Gain Input="5" Output="10">0</Gain>
        <Gain Input="5" Output="11">0</Gain>
        <Gain Input="5" Output="12">0</Gain>
        <Gain Input="5" Output="13">0</Gain>
        <Gain Input="5" Output="14">0</Gain>
        <Gain Input="5" Output="15">0</Gain>
      </AudioMapping>
      <Name>BohemianRhapsody_TLR-7_S_DE-XX_DE_51_2K_TCFG_20180514_TM_IOP_OV</Name>
      <Encrypted>0</Encrypted>
      <NeedsAssets>0</NeedsAssets>
      <KDMValid>1</KDMValid>
      <ReferenceVideo>0</ReferenceVideo>
      <ReferenceAudio>0</ReferenceAudio>
      <ReferenceOpenSubtitle>0</ReferenceOpenSubtitle>
      <ReferenceClosedCaption>0</ReferenceClosedCaption>
      <Standard>Interop</Standard>
      <ThreeD>0</ThreeD>
      <ContentKind>trailer</ContentKind>
      <CPL>666a21ab-c7e6-452f-a465-37f76258af75</CPL>
      <ReelLength>2152</ReelLength>
    </Content>
    <Content>
      <Type>DCP</Type>
      <Path mtime="1571045890">/home/cah/DCP/Examples/Ov_FTR-1_F-178_51_2K_20191014_IOP_OV/pkl_b94302e7-2f14-4786-ac09-0934cf420f76.xml</Path>
      <Path mtime="1571045890">/home/cah/DCP/Examples/Ov_FTR-1_F-178_51_2K_20191014_IOP_OV/cpl_cd494574-7d7f-465f-86a7-b676e31da3be.xml</Path>
      <Path mtime="1571045890">/home/cah/DCP/Examples/Ov_FTR-1_F-178_51_2K_20191014_IOP_OV/ASSETMAP</Path>
      <Path mtime="1571045888">/home/cah/DCP/Examples/Ov_FTR-1_F-178_51_2K_20191014_IOP_OV/j2c_5943c3e8-eaea-4945-a45b-06eebb02be93.mxf</Path>
      <Path mtime="1571045888">/home/cah/DCP/Examples/Ov_FTR-1_F-178_51_2K_20191014_IOP_OV/pcm_b94fb9fa-19ac-4d24-b255-dc5fc0c1f0d3.mxf</Path>
      <Path mtime="1571045890">/home/cah/DCP/Examples/Ov_FTR-1_F-178_51_2K_20191014_IOP_OV/VOLINDEX</Path>
      <Digest>0f54c735849c0a3ce1b6bdb258f511768731</Digest>
      <Position>9480000</Position>
      <TrimStart>0</TrimStart>
      <TrimEnd>0</TrimEnd>
      <VideoFrameRate>24</VideoFrameRate>
      <VideoLength>1525</VideoLength>
      <VideoWidth>1998</VideoWidth>
      <VideoHeight>1080</VideoHeight>
      <VideoFrameType>2d</VideoFrameType>
      <LeftCrop>0</LeftCrop>
      <RightCrop>0</RightCrop>
      <TopCrop>0</TopCrop>
      <BottomCrop>0</BottomCrop>
      <Scale>
        <Ratio>185</Ratio>
      </Scale>
      <YUV>0</YUV>
      <FadeIn>0</FadeIn>
      <FadeOut>0</FadeOut>
      <AudioGain>0</AudioGain>
      <AudioDelay>0</AudioDelay>
      <AudioFrameRate>48000</AudioFrameRate>
      <AudioLength>1525</AudioLength>
      <AudioMapping>
        <InputChannels>6</InputChannels>
        <OutputChannels>16</OutputChannels>
        <Gain Input="0" Output="0">1</Gain>
        <Gain Input="0" Output="1">0</Gain>
        <Gain Input="0" Output="2">0</Gain>
        <Gain Input="0" Output="3">0</Gain>
        <Gain Input="0" Output="4">0</Gain>
        <Gain Input="0" Output="5">0</Gain>
        <Gain Input="0" Output="6">0</Gain>
        <Gain Input="0" Output="7">0</Gain>
        <Gain Input="0" Output="8">0</Gain>
        <Gain Input="0" Output="9">0</Gain>
        <Gain Input="0" Output="10">0</Gain>
        <Gain Input="0" Output="11">0</Gain>
        <Gain Input="0" Output="12">0</Gain>
        <Gain Input="0" Output="13">0</Gain>
        <Gain Input="0" Output="14">0</Gain>
        <Gain Input="0" Output="15">0</Gain>
        <Gain Input="1" Output="0">0</Gain>
        <Gain Input="1" Output="1">1</Gain>
        <Gain Input="1" Output="2">0</Gain>
        <Gain Input="1" Output="3">0</Gain>
        <Gain Input="1" Output="4">0</Gain>
        <Gain Input="1" Output="5">0</Gain>
        <Gain Input="1" Output="6">0</Gain>
        <Gain Input="1" Output="7">0</Gain>
        <Gain Input="1" Output="8">0</Gain>
        <Gain Input="1" Output="9">0</Gain>
        <Gain Input="1" Output="10">0</Gain>
        <Gain Input="1" Output="11">0</Gain>
        <Gain Input="1" Output="12">0</Gain>
        <Gain Input="1" Output="13">0</Gain>
        <Gain Input="1" Output="14">0</Gain>
        <Gain Input="1" Output="15">0</Gain>
        <Gain Input="2" Output="0">0</Gain>
        <Gain Input="2" Output="1">0</Gain>
        <Gain Input="2" Output="2">1</Gain>
        <Gain Input="2" Output="3">0</Gain>
        <Gain Input="2" Output="4">0</Gain>
        <Gain Input="2" Output="5">0</Gain>
        <Gain Input="2" Output="6">0</Gain>
        <Gain Input="2" Output="7">0</Gain>
        <Gain Input="2" Output="8">0</Gain>
        <Gain Input="2" Output="9">0</Gain>
        <Gain Input="2" Output="10">0</Gain>
        <Gain Input="2" Output="11">0</Gain>
        <Gain Input="2" Output="12">0</Gain>
        <Gain Input="2" Output="13">0</Gain>
        <Gain Input="2" Output="14">0</Gain>
        <Gain Input="2" Output="15">0</Gain>
        <Gain Input="3" Output="0">0</Gain>
        <Gain Input="3" Output="1">0</Gain>
        <Gain Input="3" Output="2">0</Gain>
        <Gain Input="3" Output="3">1</Gain>
        <Gain Input="3" Output="4">0</Gain>
        <Gain Input="3" Output="5">0</Gain>
        <Gain Input="3" Output="6">0</Gain>
        <Gain Input="3" Output="7">0</Gain>
        <Gain Input="3" Output="8">0</Gain>
        <Gain Input="3" Output="9">0</Gain>
        <Gain Input="3" Output="10">0</Gain>
        <Gain Input="3" Output="11">0</Gain>
        <Gain Input="3" Output="12">0</Gain>
        <Gain Input="3" Output="13">0</Gain>
        <Gain Input="3" Output="14">0</Gain>
        <Gain Input="3" Output="15">0</Gain>
        <Gain Input="4" Output="0">0</Gain>
        <Gain Input="4" Output="1">0</Gain>
        <Gain Input="4" Output="2">0</Gain>
        <Gain Input="4" Output="3">0</Gain>
        <Gain Input="4" Output="4">1</Gain>
        <Gain Input="4" Output="5">0</Gain>
        <Gain Input="4" Output="6">0</Gain>
        <Gain Input="4" Output="7">0</Gain>
        <Gain Input="4" Output="8">0</Gain>
        <Gain Input="4" Output="9">0</Gain>
        <Gain Input="4" Output="10">0</Gain>
        <Gain Input="4" Output="11">0</Gain>
        <Gain Input="4" Output="12">0</Gain>
        <Gain Input="4" Output="13">0</Gain>
        <Gain Input="4" Output="14">0</Gain>
        <Gain Input="4" Output="15">0</Gain>
        <Gain Input="5" Output="0">0</Gain>
        <Gain Input="5" Output="1">0</Gain>
        <Gain Input="5" Output="2">0</Gain>
        <Gain Input="5" Output="3">0</Gain>
        <Gain Input="5" Output="4">0</Gain>
        <Gain Input="5" Output="5">1</Gain>
        <Gain Input="5" Output="6">0</Gain>
        <Gain Input="5" Output="7">0</Gain>
        <Gain Input="5" Output="8">0</Gain>
        <Gain Input="5" Output="9">0</Gain>
        <Gain Input="5" Output="10">0</Gain>
        <Gain Input="5" Output="11">0</Gain>
        <Gain Input="5" Output="12">0</Gain>
        <Gain Input="5" Output="13">0</Gain>
        <Gain Input="5" Output="14">0</Gain>
        <Gain Input="5" Output="15">0</Gain>
      </AudioMapping>
      <Name>Ov_FTR-1_F-178_51_2K_20191014_IOP_OV</Name>
      <Encrypted>0</Encrypted>
      <NeedsAssets>0</NeedsAssets>
      <KDMValid>1</KDMValid>
      <ReferenceVideo>0</ReferenceVideo>
      <ReferenceAudio>0</ReferenceAudio>
      <ReferenceOpenSubtitle>0</ReferenceOpenSubtitle>
      <ReferenceClosedCaption>0</ReferenceClosedCaption>
      <Standard>Interop</Standard>
      <ThreeD>0</ThreeD>
      <ContentKind>feature</ContentKind>
      <CPL>cd494574-7d7f-465f-86a7-b676e31da3be</CPL>
      <ReelLength>1525</ReelLength>
    </Content>
  </Playlist>
</Metadata>
metadata.xml (14,446 bytes)   

carl

2019-10-31 16:33

administrator   ~0003517

The first reel's period starts from the start of the first DCP, so there's no reel to put the black before the DCP in.

carl

2019-10-31 16:35

administrator   ~0003518

Probably should be a companion test to reels_test3 to check for an extra reel being added at the start (which it currently is not).

carl

2019-10-31 16:37

administrator   ~0003519

The first reel goes from the start of DCP 1 to the start of DCP 2; does this matter if we are trying to refer?

carl

2019-10-31 19:48

administrator   ~0003520

<--gap--><--DCP--><--gap--><--DCP-->

fails with refer.

carl

2019-10-31 20:47

administrator   ~0003521

First part of this is 90b1feea13c225ec9588357e4fdb179c4d3328a5 in v2.15.x-1643
Second part is 80c324b0dff6483917ae9c6f681678dd44c16914

carl

2019-10-31 23:01

administrator   ~0003526

Merged into v2.15.x; needs some thinking about for master.

carl

2019-11-11 20:29

administrator   ~0003582

Merged into master.

Bug History

Date Modified Username Field Change
2019-10-31 16:30 carl New Bug
2019-10-31 16:30 carl Tag Attached: next
2019-10-31 16:30 carl File Added: metadata.xml
2019-10-31 16:30 carl Status new => confirmed
2019-10-31 16:30 carl Estimated work required => Undecided
2019-10-31 16:33 carl Note Added: 0003517
2019-10-31 16:35 carl Note Added: 0003518
2019-10-31 16:37 carl Note Added: 0003519
2019-10-31 19:48 carl Note Added: 0003520
2019-10-31 20:47 carl Note Added: 0003521
2019-10-31 22:41 carl Target Version 2.14.x => 2.14.14
2019-10-31 23:01 carl Note Added: 0003526
2019-11-11 20:29 carl Assigned To => carl
2019-11-11 20:29 carl Status confirmed => resolved
2019-11-11 20:29 carl Resolution open => fixed
2019-11-11 20:29 carl Note Added: 0003582
2023-09-01 21:48 carl Status resolved => closed