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
| Name | Type | Required | Description |
|---|---|---|---|
alpha | boolean | no | |
apvProfile | "422-10" | "422-12" | "444-10" | "444-12" | no | |
audio | boolean | no | |
bitrateKbps | integer | no | |
bitrateMode | "cbr" | "vbr1Pass" | "vbr2Pass" | "quality" | no | |
burnCaptions | boolean | no | |
captionSidecar | "srt" | "vtt" | no | |
category | string | no | |
description | string | no | |
dnxProfile | "lb" | "sq" | "hq" | "hqx" | no | |
format | "h264" | "hevc" | "prores" | "dnxhr" | "apv" | "mjpeg" | "mxf-op1a" | "mxf-opatom" | "png" | "tiff" | "bmp" | "gif" | "wav" | "aiff" | no | |
fps | number | no | |
from | string | no | |
hardwareEncoding | "off" | "auto" | no | |
height | integer | no | |
keyframeDistance | integer | no | |
loudnessLufs | number | no | |
maxBitrateKbps | integer | no | |
mxfVideoCodec | "dnxhr" | "proRes" | "h264" | no | |
name | string | no | |
overwrite | boolean | no | |
proresProfile | "proxy" | "lt" | "standard" | "hq" | no | |
quality | integer | no | 0 to 100 |
scale | number | no | |
sdr | boolean | no | |
settings | any | no | ExportSettings? |
width | integer | no |
Call through film_run
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
{
"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.