fablecut_track
Follow something in a video clip frame by frame (motion tracking, in the editor: an open tab, else headless Chrome / Edge) and store it on the clip as a named track (props.tracks).
Instructions
Follow something in a video clip frame by frame (motion tracking, in the editor: an open tab, else headless Chrome / Edge) and store it on the clip as a named track (props.tracks). Then, in the same call, make a mask follow it (apply:{mask}) or pin another clip to it (apply:{clip} — a title, sticker, blur box… its x / y, and optionally scale / rotation, get keyframes that ride on the track, keeping where it is at at). What to follow: region {x, y, w, h} or point {x, y} (+ size), as fractions of the clip's picture (0…1, y down) at time at; or leave both out with apply:{mask} to follow what that mask covers. To re-apply an existing track, pass its name with apply and no region. Pick something with detail (a corner, a logo, text, an eye), not a flat area; the result reports match quality (≥ 0.8 is solid) and where the region was lost, if it was. Check the outcome with fablecut_scopes or by looking at the keyed clip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Timeline seconds where the region is as given (default: the clip's start) | |
| to | No | Timeline seconds to stop at (default: the clip's end / start) | |
| clip | Yes | The video clip to track in | |
| name | No | The track's name (default: the mask's name, or Track n). An existing name is extended / replaced over the tracked range | |
| size | No | With point: the region's width, fraction of the picture's width (default 0.08) | |
| apply | No | Bake the track into keys: {mask: index | name} (the mask's x / y — and scale / rotation when tracked — follow) or {clip: id, scale?, rotation?, at?} (that clip rides on the track) | |
| force | No | Allow changing locked clips — only when the user asked | |
| point | No | A spot to follow at `at` (fractions of the picture); a square region of `size` around it is matched | |
| scale | No | Also follow the region's size (zooms, objects moving closer) | |
| where | No | auto (default): an open editor tab, else headless · tab · headless | |
| region | No | The area to follow at `at`: centre x, y and size w, h, fractions of the clip's picture | |
| timeout | No | Seconds to wait (default 300) | |
| rotation | No | Also follow the region's rotation | |
| direction | No | Track from `at` to the clip's end (default), to its start, or both |