Film kit command

sequence.addTracks

Add Tracks

Adds `video`, `audio` and `submix` tracks, each after a given track (`videoAfter` "first", "V2" or an index), with `audioType` and `submixType` channel layouts.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of sequence.addTracks
NameTypeRequiredDescription
audiointegerno
audioAfterstring | integerno"first"|"A2"|n?
audioType"standard" | "5.1" | "adaptive" | "mono"no
submixintegerno
submixAfterstring | integerno"first"|"S1"|n?
submixType"stereo" | "5.1" | "adaptive" | "mono"no
videointegerno
videoAfterstring | integerno"first"|"V2"|n?

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: audio, audioAfter, audioType, submix, submixAfter, submixType, video, videoAfter. 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": {
    "audio": {
      "default": 0,
      "type": "integer"
    },
    "audioAfter": {
      "description": "\"first\"|\"A2\"|n?",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        }
      ]
    },
    "audioType": {
      "enum": [
        "standard",
        "5.1",
        "adaptive",
        "mono"
      ],
      "type": "string"
    },
    "submix": {
      "default": 0,
      "type": "integer"
    },
    "submixAfter": {
      "description": "\"first\"|\"S1\"|n?",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        }
      ]
    },
    "submixType": {
      "enum": [
        "stereo",
        "5.1",
        "adaptive",
        "mono"
      ],
      "type": "string"
    },
    "video": {
      "default": 1,
      "type": "integer"
    },
    "videoAfter": {
      "description": "\"first\"|\"V2\"|n?",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        }
      ]
    }
  },
  "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.