Skip to content

Understanding clip's timecode

fisuKlonkku edited this page Apr 9, 2012 · 6 revisions

Most of the things done so far regarding genericEDL is pretty straigt forward and probably ease to understand from the code to anyone that has experience on editing and EDLs, However, there are some things that need a bit more explanation. Clip's timecode is one of those.

Baseclip object (aBaseClip) contains three different time codes or time spaces: range's TC, clip's TC and media's TC. The difference between range's and clips TC is that clip's TC is modified by clip's speed. That's why clip's duration and OUT point are always relative. Of course if clip's speed is 1 clip's and range's TCs are identical. Media's TC is similiar to clip's TC but it get modified also with clip's offset.

Clip's and range's IN points are always in sync. This creates a pivotal point for speeding the clip. Here's and example of clip that has range with duration IN point at 2, duration of 3 (resulting OUT point at 5). Clip's media start from frame 5. Clips's speed is 2 and offset is 5 - so media's start frame 5 is offsetted to clip's time 0.
Image

Clone this wiki locally