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.
The vframe attribute holds the frame number, along with some flags:
- 0x00FFFFFF – the frame number mask
- 0x40000000 – the hidden frame flag
- 0x1F000000 – the color tags (version 5.2 and newer)
The color tags (version 5.2 and newer) are:
- 0x01000000 – red
- 0x02000000 – green
- 0x04000000 – blue
- 0x08000000 – orange
- 0x10000000 – purple
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!