item_get_duration
Retrieve the duration of a named timeline item in frames. Specify track type and index to target the correct clip.
Instructions
Return the duration of a timeline item in frames.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_name | Yes | Name of the item. | |
| track_type | No | Track type — "video" or "audio". | video |
| track_index | No | 1-based track number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |