Film kit command
clip.insertFrameHoldSegment
Insert Frame Hold Segment
Inserts a frozen frame `seconds` long (default 2) at the playhead or `time` inside `clip` (default the one under the playhead), splitting it and pushing the rest later.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- yes
- Acts on
clip(one id), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
clip | integer | no | |
frame | integer | no | the time, as a frame of the sequence (one spelling of it) |
seconds | number | no | |
time | integer | no | ticks (254016000000 per second) |
timecode | string | no | the time, as a timecode (one spelling of it) |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "clip.insertFrameHoldSegment" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: clip, frame, seconds, time, timecode. 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": {
"clip": {
"type": "integer",
"x-khp-types": [
"Clip"
]
},
"frame": {
"description": "the time, as a frame of the sequence (one spelling of it)",
"type": "integer"
},
"seconds": {
"default": 2,
"type": "number"
},
"time": {
"description": "ticks (254016000000 per second)",
"type": "integer"
},
"timecode": {
"description": "the time, as a timecode (one spelling of it)",
"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.