Film kit command
sequence.inspect
Inspect Sequence
Reads sequence `item` (default active): settings, tracks with their clips (ids, times in ticks, sources, effects), transitions, markers, In/Out and playhead. The main read before editing a timeline.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- no
- Acts on
item(one id), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
item | integer | no |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "sequence.inspect" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: item. film_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
audio | object[] | no | |
duration | integer | no | |
durationFrames | integer | no | |
id | integer | no | |
in | any | no | |
markers | any[] | no | |
name | string | no | |
out | any | no | |
playhead | any | no | |
selection | any[] | no | |
settings | object | no | |
split | object | no | |
video | object[] | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"audio": {
"items": {
"additionalProperties": true,
"properties": {
"enabled": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"items": {
"items": {},
"type": "array"
},
"locked": {
"type": "boolean"
},
"muted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"solo": {
"type": "boolean"
},
"syncLock": {
"type": "boolean"
},
"transitions": {
"items": {},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"duration": {
"type": "integer"
},
"durationFrames": {
"type": "integer"
},
"id": {
"type": "integer"
},
"in": {},
"markers": {
"items": {},
"type": "array"
},
"name": {
"type": "string"
},
"out": {},
"playhead": {},
"selection": {
"items": {},
"type": "array"
},
"settings": {
"additionalProperties": true,
"properties": {
"audio_master": {
"type": "string"
},
"color": {
"additionalProperties": true,
"properties": {
"auto_tone_map": {
"type": "boolean"
},
"wide_gamut": {
"type": "boolean"
},
"working": {
"type": "string"
}
},
"type": "object"
},
"drop_frame": {
"type": "boolean"
},
"frame_rate": {
"additionalProperties": true,
"properties": {
"den": {
"type": "integer"
},
"num": {
"type": "integer"
}
},
"type": "object"
},
"height": {
"type": "integer"
},
"max_bit_depth": {
"type": "boolean"
},
"max_render_quality": {
"type": "boolean"
},
"par": {
"items": {
"type": "integer"
},
"type": "array"
},
"preset": {
"type": "string"
},
"preview_codec": {
"type": "string"
},
"sample_rate": {
"type": "integer"
},
"width": {
"type": "integer"
},
"working_space": {
"type": "string"
}
},
"type": "object"
},
"split": {
"additionalProperties": true,
"properties": {
"audioIn": {},
"audioOut": {},
"videoIn": {},
"videoOut": {}
},
"type": "object"
},
"video": {
"items": {
"additionalProperties": true,
"properties": {
"enabled": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"items": {
"items": {},
"type": "array"
},
"locked": {
"type": "boolean"
},
"muted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"solo": {
"type": "boolean"
},
"syncLock": {
"type": "boolean"
},
"transitions": {
"items": {},
"type": "array"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"item": {
"type": "integer",
"x-khp-types": [
"Item"
]
}
},
"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.