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.
main.kj
Loading…Drag to orbit · select to inspect
0 entities
Scene controls
Results
Loading the language runtime…
Output 0
No output.
State
Compile source to inspect its values.
TraceNo execution yet
- Executed source spans appear here.
Expected output
16666667
Rust definition
A checked language record delegating decoded media validation to konjure_sdk::data.
View Rust documentation →Support: runtime