Film kit command

export.presets.save

Save Export Preset

Saves a user export preset `name` from another preset (`from`) or `settings` plus overrides; overwrites by default.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of export.presets.save
NameTypeRequiredDescription
alphabooleanno
apvProfile"422-10" | "422-12" | "444-10" | "444-12"no
audiobooleanno
bitrateKbpsintegerno
bitrateMode"cbr" | "vbr1Pass" | "vbr2Pass" | "quality"no
burnCaptionsbooleanno
captionSidecar"srt" | "vtt"no
categorystringno
descriptionstringno
dnxProfile"lb" | "sq" | "hq" | "hqx"no
format"h264" | "hevc" | "prores" | "dnxhr" | "apv" | "mjpeg" | "mxf-op1a" | "mxf-opatom" | "png" | "tiff" | "bmp" | "gif" | "wav" | "aiff"no
fpsnumberno
fromstringno
hardwareEncoding"off" | "auto"no
heightintegerno
keyframeDistanceintegerno
loudnessLufsnumberno
maxBitrateKbpsintegerno
mxfVideoCodec"dnxhr" | "proRes" | "h264"no
namestringno
overwritebooleanno
proresProfile"proxy" | "lt" | "standard" | "hq"no
qualityintegerno0 to 100
scalenumberno
sdrbooleanno
settingsanynoExportSettings?
widthintegerno

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "export.presets.save" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: alpha, apvProfile, audio, bitrateKbps, bitrateMode, burnCaptions, captionSidecar, category, description, dnxProfile, format, fps, from, hardwareEncoding, height, keyframeDistance, loudnessLufs, maxBitrateKbps, mxfVideoCodec, name, overwrite, proresProfile, quality, scale, sdr, settings, width. 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": {
    "alpha": {
      "type": "boolean"
    },
    "apvProfile": {
      "enum": [
        "422-10",
        "422-12",
        "444-10",
        "444-12"
      ],
      "type": "string"
    },
    "audio": {
      "type": "boolean"
    },
    "bitrateKbps": {
      "type": "integer"
    },
    "bitrateMode": {
      "enum": [
        "cbr",
        "vbr1Pass",
        "vbr2Pass",
        "quality"
      ],
      "type": "string"
    },
    "burnCaptions": {
      "type": "boolean"
    },
    "captionSidecar": {
      "enum": [
        "srt",
        "vtt"
      ],
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "dnxProfile": {
      "enum": [
        "lb",
        "sq",
        "hq",
        "hqx"
      ],
      "type": "string"
    },
    "format": {
      "enum": [
        "h264",
        "hevc",
        "prores",
        "dnxhr",
        "apv",
        "mjpeg",
        "mxf-op1a",
        "mxf-opatom",
        "png",
        "tiff",
        "bmp",
        "gif",
        "wav",
        "aiff"
      ],
      "type": "string"
    },
    "fps": {
      "type": "number"
    },
    "from": {
      "type": "string"
    },
    "hardwareEncoding": {
      "enum": [
        "off",
        "auto"
      ],
      "type": "string"
    },
    "height": {
      "type": "integer"
    },
    "keyframeDistance": {
      "type": "integer"
    },
    "loudnessLufs": {
      "type": "number"
    },
    "maxBitrateKbps": {
      "type": "integer"
    },
    "mxfVideoCodec": {
      "enum": [
        "dnxhr",
        "proRes",
        "h264"
      ],
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "overwrite": {
      "default": true,
      "type": "boolean"
    },
    "proresProfile": {
      "enum": [
        "proxy",
        "lt",
        "standard",
        "hq"
      ],
      "type": "string"
    },
    "quality": {
      "description": "0 to 100",
      "type": "integer"
    },
    "scale": {
      "type": "number"
    },
    "sdr": {
      "type": "boolean"
    },
    "settings": {
      "description": "ExportSettings?"
    },
    "width": {
      "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.