Film kit command

mixer.moveKeyframe

Move Track Keyframe

Moves the automation keyframe at `time` on a strip's `lane` to `newTime` and/or changes its `value`.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of mixer.moveKeyframe
NameTypeRequiredDescription
lanestringno
newFrameintegernothe new time, as a frame of the sequence (one spelling of it)
newSecondsnumbernothe new time, in seconds (one spelling of it)
newTimeintegernoticks (254016000000 per second)
newTimecodestringnothe new time, as a timecode (one spelling of it)
stripinteger | stringnomixer strip id, A1/S1 ordinal, Mix/master, or case-insensitive strip name
timeintegernoticks (254016000000 per second)
trackinteger | stringnomixer strip id, A1/S1 ordinal, Mix/master, or case-insensitive strip name
valuenumberno

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: lane, newFrame, newSeconds, newTime, newTimecode, strip, time, track, value. 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": {
    "lane": {
      "type": "string"
    },
    "newFrame": {
      "description": "the new time, as a frame of the sequence (one spelling of it)",
      "type": "integer"
    },
    "newSeconds": {
      "description": "the new time, in seconds (one spelling of it)",
      "type": "number"
    },
    "newTime": {
      "description": "ticks (254016000000 per second)",
      "type": "integer"
    },
    "newTimecode": {
      "description": "the new time, as a timecode (one spelling of it)",
      "type": "string"
    },
    "strip": {
      "description": "mixer strip id, A1/S1 ordinal, Mix/master, or case-insensitive strip name",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-name": "props.name",
      "x-khp-types": [
        "Track"
      ]
    },
    "time": {
      "description": "ticks (254016000000 per second)",
      "type": "integer"
    },
    "track": {
      "description": "mixer strip id, A1/S1 ordinal, Mix/master, or case-insensitive strip name",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-name": "props.name",
      "x-khp-types": [
        "Track"
      ]
    },
    "value": {
      "type": "number"
    }
  },
  "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.