A timeline script is an ordered program. The runner executes top-level steps in order, then applies each step's trailing pause.
duration is a trailing pause
[
{ "type": "log", "params": { "message": "A" }, "duration": 250 },
{ "type": "log", "params": { "message": "B" }, "duration": 0 }
]
The runner logs A, waits 250 ms, logs B, and continues immediately. If duration is omitted, the current default is 500 ms. A wait step has no command of its own and requires a positive duration.
atMs is a shared shot clock
A shot schedules actions at offsets from the beginning of one timeline:
{
"type": "shot",
"params": {
"actions": [
{ "atMs": 0, "action": { "type": "trigger", "params": { "target": { "groupId": "left" } } } },
{ "atMs": 30, "action": { "type": "trigger", "params": { "target": { "groupId": "right" } } } }
]
},
"duration": 0
}
The second action is scheduled at 30 ms on the same clock, not 30 ms after the first action finishes. Camera trigger and setting actions are grouped into node command arrays. Generic node commands inside a shot are best-effort and are not hardware-synchronized.
Choosing the timing form
- Use ordinary trigger steps with
durationwhen each operation should finish before the next one begins. - Use a
shotwhen several camera actions need precise relative offsets. - Use
repeataround ordinary steps for repeated work such as a timelapse. - Use Camera Control Interval mode when one group should trigger its cameras at a regular cadence.
- Use one
shotaction per camera when the cadence changes during a custom order.
Requested offsets are not a physical guarantee. Exposure, autofocus, mirror lockup, shutter, USB, node processing, and camera storage can make the observed capture times later than the requested schedule.