Film kit command

item.newOfflineFile

Offline File

Creates an offline placeholder item with name, file and tape names, video/audio format, timecode and duration, to relink later.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of item.newOfflineFile
NameTypeRequiredDescription
audiobooleanno
channelsintegerno
descriptionstringno
fileNamestringno
fpsnumberno
frameintegernothe time, as a frame of the sequence (one spelling of it)
heightintegerno
namestringno
sampleRateintegerno
secondsnumberno
tapeNamestringno
timeintegernothe time, in ticks (one spelling of it)
timecodestringnolike HH:MM:SS:FF
videobooleanno
widthintegerno

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: audio, channels, description, fileName, fps, frame, height, name, sampleRate, seconds, tapeName, time, timecode, video, 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": {
    "audio": {
      "default": true,
      "type": "boolean"
    },
    "channels": {
      "default": 2,
      "type": "integer"
    },
    "description": {
      "type": "string"
    },
    "fileName": {
      "type": "string"
    },
    "fps": {
      "type": "number"
    },
    "frame": {
      "description": "the time, as a frame of the sequence (one spelling of it)",
      "type": "integer"
    },
    "height": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "sampleRate": {
      "default": 48000,
      "type": "integer"
    },
    "seconds": {
      "default": 10,
      "type": "number"
    },
    "tapeName": {
      "type": "string"
    },
    "time": {
      "description": "the time, in ticks (one spelling of it)",
      "type": "integer"
    },
    "timecode": {
      "description": "like HH:MM:SS:FF",
      "type": "string"
    },
    "video": {
      "default": true,
      "type": "boolean"
    },
    "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.