read video playback metadata
assets_get-playback-metadataRead an asset's measured playback metadata—duration, fps, frame count, dimensions, codec, and proxy details—to convert seconds to frames for frame-accurate edits.
Instructions
Read one asset's measured playback metadata: duration in seconds, fps, frameCount, width, height, codec, container format, proxyPath (a browser playback proxy), proxyRequested (a proxy was requested, so proxyPath may appear later) and thumbnailsManifestUrl. Use it to convert between seconds and frames for frame-accurate edits such as lipsync_create-timeline clips; use assets_get for the name and media url, and assets_get-download-url to download the file. Requires a signed-in user: with an API key it returns {supported: false, metadata: null}. metadata is null when nothing has been recorded for the asset, and a field it could not measure is null or omitted; treat those values as unknown and never guess them. It does not analyze media, read transcripts, or change the asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | Asset id (UUID) from assets_list or assets_get. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||