Skip to content
Konjure / spatial intelligence

VideoClip

← Builtin reference

An immutable-value sequence of validated decoded video frames.

Signature

type VideoClip { frames: List[VideoFrame]; }

The SDK requires a nonempty sequence, strictly increasing timestamps and consistent image dimensions, dtype and channel format. Tensor buffers retain shared ownership. A live stream additionally needs host backpressure and lifetime handling.

Fields

frames: List[VideoFrame]
A nonempty ordered list of decoded frames with matching layouts.

Examples

Construct VideoClip

Inspect the typed payload and metadata.

Tick 0 · 0.00 s⌘ / Ctrl + EnterThis device
main.kj
Loading the language runtime…
Output 0
No output.
Expected output
2

Rust definition

A checked language record delegating decoded media validation to konjure_sdk::data.

See also