set_clip_transform
Position, scale, rotate, crop, or fade a video clip by setting transform values, and keyframe them over time for zooms and moves. Adjust x/y center, scale, rotation, crop, and opacity per track and clip.
Instructions
Position/scale/rotate/crop/fade a video clip. x,y are pixels of the frame center point (frame center = width/2, height/2). Give time to keyframe the change (e.g. for a zoom or move).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| time | No | Set as keyframes at this sequence time (seconds) | |
| scale | No | Percent, 100 = original | |
| anchorX | No | ||
| anchorY | No | ||
| cropTop | No | ||
| opacity | No | ||
| cropLeft | No | ||
| rotation | No | Degrees | |
| blendMode | No | normal, multiply, screen, overlay, soft light, add, ... | |
| clipIndex | Yes | Clip index on the track, 0-based from the left (see get_timeline_clips) | |
| cropRight | No | ||
| cropBottom | No | ||
| scaleWidth | No | Percent; turns off uniform scale | |
| trackIndex | Yes | Track index, 0-based (V1 = 0, A1 = 0) | |
| uniformScale | No |