Motion kit command

render.addOutputModule

Add Output Module

Composition ▸ Add Output Module: another output module on a render item (the same frames are encoded once more).

Kit
Motion 0.1.0 (.kmotion)
Changes the document
yes

Parameters

Parameters of render.addOutputModule
NameTypeRequiredDescription
audioanyno
bitratenumberno
channelsstringno
formatstringno
indexintegernoa position counted from 0 (the first is 0); default: the last item; one of several alternative parameters
itemintegernodefault: the last item; one of several alternative parameters
outputstringno
proresProfilestringno
qualityanyno

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "render.addOutputModule" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: audio, bitrate, channels, format, index, item, output, proresProfile, quality. motion_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": {},
    "bitrate": {
      "type": "number"
    },
    "channels": {
      "type": "string"
    },
    "format": {
      "type": "string"
    },
    "index": {
      "description": "a position counted from 0 (the first is 0); default: the last item; one of several alternative parameters",
      "type": "integer"
    },
    "item": {
      "description": "default: the last item; one of several alternative parameters",
      "type": "integer"
    },
    "output": {
      "type": "string"
    },
    "proresProfile": {
      "type": "string"
    },
    "quality": {}
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.