Film kit command

clip.setTimecode

Timecode

Sets the start `timecode` (or `frame`) and `tapeName` of a media `item`; `reset` restores the file's own timecode.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes
Acts on
item (one id), which a run step’s on fills

Parameters

Parameters of clip.setTimecode
NameTypeRequiredDescription
frameintegerno
itemintegerno
resetbooleanno
secondsnumbernothe time, in seconds (one spelling of it)
tapeNamestringno
timeintegernothe time, in ticks (one spelling of it)
timecodestringnolike HH:MM:SS:FF

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "clip.setTimecode" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: frame, item, reset, seconds, tapeName, 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": {
    "frame": {
      "type": "integer"
    },
    "item": {
      "type": "integer",
      "x-khp-types": [
        "Item"
      ]
    },
    "reset": {
      "type": "boolean"
    },
    "seconds": {
      "description": "the time, in seconds (one spelling of it)",
      "type": "number"
    },
    "tapeName": {
      "type": "string"
    },
    "time": {
      "description": "the time, in ticks (one spelling of it)",
      "type": "integer"
    },
    "timecode": {
      "description": "like HH:MM:SS:FF",
      "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.