Zed 2 gstreamer feed to Nvidia Deepstream pipe line

The following gstreamer pipeline feeds a webcam stream to a nvidia deepstream applicantion

gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! ‘video/x-raw,format=(string)YUY2’ ! nvvidconv ! ‘video/x-raw(memory:NVMM),width=1280,height=720,framerate=15/1’ ! nvvidconv ! ‘video/x-raw,format=(string)NV12’ ! nvvideoconvert ! mux.sink_0 nvstreammux live-source=1 name=mux batch-size=1 width=1280 height=720 ! nvinfer config-file-path=/opt/nvidia/deepstream/deepstream-6.0/samples/configs/deepstream-app/config_infer_primary.txt ! nvvideoconvert ! nvdsosd ! nvegltransform ! nveglglessink sync=0

What is the raw format of the ZED 2 video stream so I can attempt to use gstreamer convert commands to make the stream something deepstream will accept?

Hi @joev
the raw format is available at the very beginning of the pipeline command:
‘video/x-raw,format=(string)YUY2’

Myzhar
So just to clarify. The ZED 2 puts out a YUY2 formatted stream?

Thanks
Joe Valdivia

Hi @joev
sorry for the late reply, I missed the message.

When you retrieve the images from the ZED camera by using the v4l2src the stream is indeed in YUY2 format.