Film kit command
clip.synchronize
Synchronize
Aligns the selected timeline clips to a `reference` clip by in, out, timecode, a named clip `marker` or audio waveform, plus `offset` frames.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- yes
- Acts on
clips(a list of ids), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
clips | integer[] | no | |
ignoreHours | boolean | no | |
marker | string | no | |
method | "in" | "out" | "timecode" | "marker" | "audio" | no | |
offset | integer | no | frames |
reference | integer | no | clip? |
track | "V1" | "A1" | no |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "clip.synchronize" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: clips, ignoreHours, marker, method, offset, reference, track. film_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
json
{
"additionalProperties": false,
"properties": {
"clips": {
"items": {
"description": "an id",
"type": "integer"
},
"type": "array",
"x-khp-types": [
"Clip"
]
},
"ignoreHours": {
"type": "boolean"
},
"marker": {
"type": "string"
},
"method": {
"enum": [
"in",
"out",
"timecode",
"marker",
"audio"
],
"type": "string"
},
"offset": {
"description": "frames",
"type": "integer"
},
"reference": {
"description": "clip?",
"type": "integer",
"x-khp-types": [
"Clip"
]
},
"track": {
"enum": [
"V1",
"A1"
],
"type": "string"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.