Skip to content
Konjure / spatial intelligence

VideoFrame

← Builtin reference

A decoded image associated with a presentation timestamp.

Signature

type VideoFrame { image: ImageFrame; timestamp_ns: u64; }

Nanoseconds are exact u64 values, independent of wall-clock time. Place frames in a VideoClip to validate timestamp order and consistent image layout. A frame can be exchanged without starting a player or camera.

Fields

image: ImageFrame
A validated decoded image.
timestamp_ns: u64
Presentation timestamp in nanoseconds; no wall-clock origin is implied.

Examples

Construct VideoFrame

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
16666667

Rust definition

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

See also