---
title: "file.interpretFootage: Main — Motion kit command — Kition"
description: "Sets how footage `items` (default selected) is read: `frameRate`, `alpha` (straight, premultiplied, ignore, guess), `invertAlpha`, `loop`, `pixelAspect`, `fields`, `colorProfile`, `linearLight`, start timecode. Layers using it change accordingly."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/file.interpretFootage"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/file.interpretFootage](https://developer.kition.ai/docs/kits/motion/commands/file.interpretFootage)

# file.interpretFootage

**Main.** Sets how footage `items` (default selected) is read: `frameRate`, `alpha` (straight, premultiplied, ignore, guess), `invertAlpha`, `loop`, `pixelAspect`, `fields`, `colorProfile`, `linearLight`, start timecode. Layers using it change accordingly.

- Kit: Motion 0.1.0 (.kmotion); reference: [Motion kit commands](https://developer.kition.ai/docs/kits/motion.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `alpha` | `"straight" \| "premultiplied" \| "ignore" \| "guess"` | no |  |
| `colorProfile` | `"srgb" \| "rec709" \| "rec2020" \| "p3" \| "auto"` | no |  |
| `fields` | `"off" \| "upper" \| "lower"` | no |  |
| `frameRate` | `any` | no | fps\|"file" |
| `guessAlpha` | `boolean` | no |  |
| `invertAlpha` | `boolean` | no |  |
| `item` | `integer` | no | read by the command beside its listed parameters |
| `items` | `integer[]` | no |  |
| `linearLight` | `boolean` | no |  |
| `loop` | `any` | no |  |
| `matteColor` | `any` | no |  |
| `overrideStart` | `boolean` | no | false: Use Source File Timecode |
| `pixelAspect` | `number` | no |  |
| `preserveRgb` | `boolean` | no | the file's values unconverted |
| `startTimecode` | `string` | no | timecode\|frame (Override Start); Override Start |

## Call through motion_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `alpha`, `colorProfile`, `fields`, `frameRate`, `guessAlpha`, `invertAlpha`, `item`, `items`, `linearLight`, `loop`, `matteColor`, `overrideStart`, `pixelAspect`, `preserveRgb`, `startTimecode`. 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": {
    "alpha": {
      "enum": [
        "straight",
        "premultiplied",
        "ignore",
        "guess"
      ],
      "type": "string"
    },
    "colorProfile": {
      "enum": [
        "srgb",
        "rec709",
        "rec2020",
        "p3",
        "auto"
      ],
      "type": "string"
    },
    "fields": {
      "enum": [
        "off",
        "upper",
        "lower"
      ],
      "type": "string"
    },
    "frameRate": {
      "description": "fps|\"file\""
    },
    "guessAlpha": {
      "type": "boolean"
    },
    "invertAlpha": {
      "type": "boolean"
    },
    "item": {
      "description": "read by the command beside its listed parameters",
      "type": "integer",
      "x-khp-name": "name",
      "x-khp-types": [
        "Item"
      ]
    },
    "items": {
      "items": {
        "type": "integer",
        "x-khp-name": "name",
        "x-khp-role": "object",
        "x-khp-types": [
          "Item"
        ]
      },
      "type": "array",
      "x-khp-types": [
        "Item"
      ]
    },
    "linearLight": {
      "type": "boolean"
    },
    "loop": {},
    "matteColor": {},
    "overrideStart": {
      "description": "false: Use Source File Timecode",
      "type": "boolean"
    },
    "pixelAspect": {
      "type": "number"
    },
    "preserveRgb": {
      "description": "the file's values unconverted",
      "type": "boolean"
    },
    "startTimecode": {
      "description": "timecode|frame (Override Start); Override Start",
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
