Skip to content
Changelog

editor.tracking.start

Tracks a region of a video clip from a moment to the clip's end (or start), in the background.

JSON-RPC 2.0project.write

Parameters

  • clipstringrequiredThe clip's id, from editor.timeline.get.
  • region[number, number, number, number]required[centre x, centre y, width, height], fractions of the picture.
  • at_msnumberA moment on the canvas's timeline. Default: the playhead.
  • directionstringback: towards the clip's start.
  • canvasstringA canvas's id or name, shown first. Default: the canvas shown.

Result

  • clipstringThe tracked clip.
  • stagestringnone, picking, running or done.
  • progressnumberHow far.
  • pointsnumberPoints tracked.
  • least_surenumberThe lowest confidence.
  • lost_at_msnumber | nullWhere it lost the spot.

Errors

Invalid params (-32602) without a region of four numbers. A state error (-32005) when it can't start. A state error (-32005) when no Editor project is open, or the open one is read-only because a newer Lightair made it. Invalid params (-32602) for a clip id that can't be read; not found (-32004) for a clip that isn't on the canvas.

From an AI agent

The MCP server's editor_tracking (action: start) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "editor.tracking.start",
"params": {}
}

editor.tracking.status · editor.tracking.follow