Film kit command
clip.mergeClips
Merge Clips
Merges one video item and audio items, aligned by in, out, timecode, marker or audio, into a new merged project item; `removeVideoAudio` drops the camera audio.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- yes
- Acts on
items(a list of ids), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ignoreHours | boolean | no | |
items | integer[] | no | |
marker | string | no | |
method | "in" | "out" | "timecode" | "marker" | "audio" | no | |
name | string | no | |
offset | integer | no | frames |
removeVideoAudio | boolean | no |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "clip.mergeClips" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: ignoreHours, items, marker, method, name, offset, removeVideoAudio. 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": {
"ignoreHours": {
"type": "boolean"
},
"items": {
"items": {
"description": "an id",
"type": "integer"
},
"type": "array",
"x-khp-types": [
"Item"
]
},
"marker": {
"type": "string"
},
"method": {
"enum": [
"in",
"out",
"timecode",
"marker",
"audio"
],
"type": "string"
},
"name": {
"type": "string"
},
"offset": {
"description": "frames",
"type": "integer"
},
"removeVideoAudio": {
"type": "boolean"
}
},
"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.