Film kit command

multicam.switchAngle

Switch Multi-Camera Angle

Sets the active angle of the multi-camera clips at `time` (or `clips`) to `camera` (1–16, shown order) or `angle` (0-based) for their whole length; `videoOnly`/`audioOnly` limit it. No edit is added.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes
Acts on
clips (a list of ids), which a run step’s on fills

Parameters

Parameters of multicam.switchAngle
NameTypeRequiredDescription
angleintegerno0-based; one of several alternative parameters
audioOnlybooleanno
cameraintegerno1 to 16; shown order; one of several alternative parameters
clipsinteger[]no
timeintegernoticks (254016000000 per second)
videoOnlybooleanno

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: angle, audioOnly, camera, clips, time, videoOnly. 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": {
    "angle": {
      "description": "0-based; one of several alternative parameters",
      "type": "integer"
    },
    "audioOnly": {
      "type": "boolean"
    },
    "camera": {
      "description": "1 to 16; shown order; one of several alternative parameters",
      "type": "integer"
    },
    "clips": {
      "items": {
        "description": "an id",
        "type": "integer"
      },
      "type": "array",
      "x-khp-types": [
        "Clip"
      ]
    },
    "time": {
      "description": "ticks (254016000000 per second)",
      "type": "integer"
    },
    "videoOnly": {
      "type": "boolean"
    }
  },
  "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.