---
title: "clip.setTimecode: Timecode — Film kit command — Kition"
description: "Sets the start `timecode` (or `frame`) and `tapeName` of a media `item`; `reset` restores the file's own timecode."
canonical: "https://developer.kition.ai/docs/kits/film/commands/clip.setTimecode"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/film/commands/clip.setTimecode](https://developer.kition.ai/docs/kits/film/commands/clip.setTimecode)

# clip.setTimecode

**Timecode.** Sets the start `timecode` (or `frame`) and `tapeName` of a media `item`; `reset` restores the file's own timecode.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes
- Acts on: `item` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `frame` | `integer` | no |  |
| `item` | `integer` | no |  |
| `reset` | `boolean` | no |  |
| `seconds` | `number` | no | the time, in seconds (one spelling of it) |
| `tapeName` | `string` | no |  |
| `time` | `integer` | no | the time, in ticks (one spelling of it) |
| `timecode` | `string` | no | like HH:MM:SS:FF |

## Call through film_run

```text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "clip.setTimecode" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `frame`, `item`, `reset`, `seconds`, `tapeName`, `time`, `timecode`. 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": {
    "frame": {
      "type": "integer"
    },
    "item": {
      "type": "integer",
      "x-khp-types": [
        "Item"
      ]
    },
    "reset": {
      "type": "boolean"
    },
    "seconds": {
      "description": "the time, in seconds (one spelling of it)",
      "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"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
