GStreamer - ZED Demux

The ZED Demux, zeddemux GStreamer element, allows to separate a single ZED composite stream (RGB Left + RGB Right, or RGB Left + Depth) and creates two separated streams. A third stream is created for metadata if requested.

Following a simple pipeline to display on screen the Left and Right color streams in two different windows:

gst-launch-1.0 zedsrc stream-type=2 ! zeddemux is-depth=false name=demux \
 demux.src_left ! queue ! videoconvert ! ximagesink \
 demux.src_aux ! queue ! videoconvert ! ximagesink

The zeddemuxcreates three sink pads:

  • src_left: left color camera stream
  • src_aux: right color camera stream or 16 bit depth stream (see is-depth parameter)
  • src_data: metadata strram (see stream-data parameter)

Example pipelines

Acquire and display color and depth streams (not normalized) in separated windows:

gst-launch-1.0 zedsrc stream-type=4 ! zeddemux name=demux \
 demux.src_left ! queue ! videoconvert ! ximagesink \
 demux.src_aux ! queue ! videoconvert ! ximagesink

For an example using the stream-data option please refer to the documentation of the zeddatacsvsink element.

Parameters

  • is-depth : Aux source is GRAY16 depth
    flags: readable, writable
    Boolean. Default: true

  • stream-data : Enable binary data streaming on src_data pad
    flags: readable, writable
    Boolean. Default: false