Film kit command

sequence.settings

Sequence Settings

Changes the active sequence's settings: frame size, `fps`, name, sample rate, audio mix layout, drop-frame timecode, render quality and color working space; a new frame size or rate renames the preset (`WxH fps`).

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of sequence.settings
NameTypeRequiredDescription
autoToneMapbooleanno
dropFramebooleanno
fpsnumberno
heightintegerno
maxRenderQualitybooleanno
mix"Stereo" | "Mono" | "5.1" | "Adaptive"no
namestringno
sampleRateintegerno
scaleMotionbooleanno
wideGamutbooleanno
widthintegerno
workingSpace"rec709" | "rec2100-pq" | "rec2100-hlg"no

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: autoToneMap, dropFrame, fps, height, maxRenderQuality, mix, name, sampleRate, scaleMotion, wideGamut, width, workingSpace. 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": {
    "autoToneMap": {
      "type": "boolean"
    },
    "dropFrame": {
      "type": "boolean"
    },
    "fps": {
      "type": "number"
    },
    "height": {
      "type": "integer"
    },
    "maxRenderQuality": {
      "type": "boolean"
    },
    "mix": {
      "enum": [
        "Stereo",
        "Mono",
        "5.1",
        "Adaptive"
      ],
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "sampleRate": {
      "type": "integer"
    },
    "scaleMotion": {
      "default": false,
      "type": "boolean"
    },
    "wideGamut": {
      "type": "boolean"
    },
    "width": {
      "type": "integer"
    },
    "workingSpace": {
      "enum": [
        "rec709",
        "rec2100-pq",
        "rec2100-hlg"
      ],
      "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.