CompressedVideo

A single frame of a compressed video bitstream.

Panel support

CompressedVideo is used in the 3D and Image panels.

Schema

FieldTypeDescription
timestamptimeTimestamp of the video frame.
frame_idstringFrame of reference for the video. The origin is the optical center of the camera. +X points right, +Y points down, and +Z points into the plane.
databytesCompressed video frame data. For packet-based video codecs, this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Lichtblick does not support video streams that include B frames because they require lookahead.
formatstringVideo format. Supported value: h264.

Format details for h264 (Annex B)

  • Use Annex B formatted data.
  • Each CompressedVideo message should contain enough NAL units to decode exactly one video frame.
  • Each message containing a key frame (IDR) must also include an SPS NAL unit.

Note: Compressed video support is subject to hardware limitations and patent licensing, so not all encodings may be supported on all platforms.

Reference implementations

Foxglove schemas are framework-agnostic and can be implemented using any supported message encoding: