Film kit command

caption.newTrack

Add New Caption Track

Adds a caption track of `format` Subtitle|CEA-608|CEA-708|Teletext (default Subtitle) with `name` and `language` (default en), after the existing caption tracks (C1, C2… keep their tracks). Answers the new track's id and label.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of caption.newTrack
NameTypeRequiredDescription
format"Subtitle" | "CEA-608" | "CEA-708" | "Teletext"no
languagestringno
namestringno

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: format, language, name. 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": {
    "format": {
      "enum": [
        "Subtitle",
        "CEA-608",
        "CEA-708",
        "Teletext"
      ],
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "name": {
      "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.