The take.xml file has a “<scen:edl>” element, with an array of “<scen:vframe>” elements.
<scen:vframe> has two attributes:
- vframe: The frame number in the timeline
- file: The file number on disk
When you delete frames from the timeline, those files get dropped from the edl.
If you hide a frame, the ‘vframe’ attribute is ORed with 0x40000000.
Examples
You start a new scene and capture four frames:
<scen:edl>
<scen:vframe vframe="1" file="1"/>
<scen:vframe vframe="2" file="2"/>
<scen:vframe vframe="3" file="3"/>
<scen:vframe vframe="4" file="4"/>
</scen:edl>
Then you decide you want hold the second frame for two frames:
<scen:edl>
<scen:vframe vframe="1" file="1"/>
<scen:vframe vframe="2" file="2"/>
<scen:vframe vframe="3" file="2"/> <!-- same file # repeated here -->
<scen:vframe vframe="4" file="3"/>
<scen:vframe vframe="5" file="4"/>
</scen:edl>
Then you cutback to frame 4 and reshoot frames 4 and 5:
<scen:edl>
<scen:vframe vframe="1" file="1"/>
<scen:vframe vframe="2" file="2"/>
<scen:vframe vframe="3" file="2"/>
<scen:vframe vframe="4" file="5"/> <!-- new file numbers for frames 4 and 5, since we deleted and then reshot them -->
<scen:vframe vframe="5" file="6"/>
</scen:edl>
Then you hide frame 3:
<scen:edl>
<scen:vframe vframe="1" file="1"/>
<scen:vframe vframe="2" file="2"/>
<scen:vframe vframe="1073741827" file="2"/> <!-- 0x40000000 + 3 -->
<scen:vframe vframe="4" file="5"/>
<scen:vframe vframe="5" file="6"/>
</scen:edl>
That’s it!