VideoTrack
Bring in your footage and cut it like an editor. Trim it, split it at the playhead, slip it inside the clip and change its speed.


After: The VideoTrack's Offset at 0.55 seconds, so it shows the beam frame 25 frames in.
A VideoTrack is a clip of a CookVideo that plays its Source, a VideoContent, an ImageSequence or a still image, while the playhead is between InPoint and OutPoint. It shows the source at Offset + (time - InPoint) × Speed, decoded at the size it is drawn. Right-click the Cook window, Add video file, to make one; a video with sound gets a sound clip over the same range. S splits it and Alt drag slips it.
Properties
Scripts
| Name | Type | Default |
|---|---|---|
| DrawnFrom | Camera | scripts only |
| Path | string | scripts only |
Video
| Offset | number | 0 any value | The time in the source, in seconds, shown at the clip's InPoint. |
| Source | Content | What the clip plays: a VideoContent, an ImageSequence at the video's Fps, or any ImageContent as a still. | |
| Speed | number | 1 -100 to 100 | How fast the source plays: it shows the frame at Offset + (Time - InPoint) × Speed. |
Layout
| Scale | Vector2 | 1, 1 | Multiplies the drawn size around the AnchorPoint, which stays put, like After Effects. |
| Rotation | number | 0 any value | Turns the layer around its AnchorPoint, in degrees. |
Layer
| BlendMode | choice | Normal Normal, Dissolve, Darken, Multiply, ColorBurn, ClassicColorBurn, LinearBurn, DarkerColor, Lighten, Screen, ColorDodge, ClassicColorDodge, Add, LighterColor, Overlay, SoftLight, HardLight, VividLight, LinearLight, PinLight, HardMix, Difference, Exclusion, Subtract, Divide, Hue, Saturation, Color, Luminosity, StencilAlpha, StencilLuma, SilhouetteAlpha, SilhouetteLuma, AlphaAdd, LuminescentPremul | Blends the layer with any Photoshop or After Effects mode; Stencil and Silhouette cut the layers below it. |
| Matte | source | Its track matte: any image, such as another track or an AOV; a sibling track is sampled through its own transform, anything else stretches over the canvas. | |
| MatteMode | choice | None None, Alpha, AlphaInverted, Luma, LumaInverted |
Appearance
| Color | Color3 | 1, 1, 1 | Tints the layer with this colour. |
| Transparency | number | 0 0 to 1 | Fades the layer. |
| Visible | boolean | true | Turned off, hides the layer in the composite. |
Animation
| InAnimation | choice | None None, Fade, Slide, Pop, Typewriter, Wipe | How the layer animates in at its clip's In point; applied when drawn, so keys and scripts stay untouched. |
| InDuration | number | 0.5 0 or more | How long the In animation lasts; in the Cook window, drag the inner edge of its ramp. |
| OutAnimation | choice | None None, Fade, Slide, Pop, Typewriter, Wipe | How the layer animates out at its clip's Out point; applied when drawn, so keys and scripts stay untouched. |
| OutDuration | number | 0.5 0 or more | How long the Out animation lasts; in the Cook window, drag the inner edge of its ramp. |
| SlideDirection | choice | Left Left, Right, Up, Down | |
| AnimationEasing | choice | Smooth Smooth, Linear, Back | |
| AnimationStart | number | 0 any value | |
| AnimationEnd | number | -1 any value |
Layer Style
| FillOpacity | number | 1 0 to 1 | Fades the layer's own pixels but not its layer styles, like Photoshop's Fill. |
