Zed Gstreamer Local network UDP

gst-launch-1.0 zedsrc ! timeoverlay ! tee name=split has-chain=true ! \
 queue ! autovideoconvert ! fpsdisplaysink \
 split. ! queue max-size-time=0 max-size-bytes=0 max-size-buffers=0 ! autovideoconvert ! \
 x264enc byte-stream=true tune=zerolatency speed-preset=ultrafast bitrate=3000 ! \
 h264parse ! rtph264pay config-interval=-1 pt=96 ! queue ! \
 udpsink clients=192.168.1.169:5000 max-bitrate=3000000 sync=false async=false

I can’t use this command with … zedsrc camera-resolution=3 camera-fps=60 stream-type=1 … sink.

It says failed to open camera , INVALID RESOLUTION. Is there anything for publishing 1920x1200 stream in 60 fps.

Hi @hatoktas
What camera model are you using?

camera-resolution=3 camera-fps=60 is for HD720, you must use camera-resolution=2 camera-fps=60

  camera-resolution   : Camera Resolution
                        flags: readable, writable
                        Enum "GstZedSrcRes" Default: 6, "Default value for the camera model"
                           (0): HD2K (USB3)      - 2208x1242
                           (1): HD1080 (USB3/GMSL2) - 1920x1080
                           (2): HD1200 (GMSL2)   - 1920x1200
                           (3): HD720 (USB3)     - 1280x720
                           (4): SVGA (GMSL2)     - 960x600
                           (5): VGA (USB3)       - 672x376
                           (6): Default value for the camera model - Automatic

Hi Walter,

  camera-resolution   : Camera Resolution
                        flags: readable, writable
                        Enum "GstZedsrcResolution" Default: 7, "Default value for the camera model"
                           (1): HD2K (USB3)      - 2208x1242
                           (3): HD1200 (GMSL2)   - 1920x1200
                           (2): HD1080 (USB3/GMSL2) - 1920x1080
                           (4): HD720 (USB3)     - 1280x720
                           (5): SVGA (GMSL2)     - 960x600
                           (6): VGA (USB3)       - 672x376
                           (7): Default value for the camera model - Automatic

GStreamer - ZED Camera Source - Stereolabs. In this link, it is different. So I tried with camera-resolution=2 it worked but fps is to low. 2 fps. I wanted 60 fps. I think there is something wrong.

And also it is utilizing CPU I guess, is there any deep stream support for GPU utilization for encoding part in Gstreamer pipeline…

Camera model Zed X , zed box mini orin nx 16

Thank you for reporting. I’ve just updated the documentation with the new information from the command gst-inspect-1.0 zedsrc that is always the best way to check the allowed values for each property.

You must create a pipeline that sends the data to the GPU memory.
We have no ready examples for this.

1 Like