Gstreamer pipeline for MJPEG RTSP stream

Hello!
I would need a GStreamer pipeline for MJPEG RTSP camera stream for use with OpenCV.
I don’t see it mentioned in Your guides and when attempting a bit adjusted gst-launch pipeline from this thread: Gstreamer use MJPEG codec
looking like this: gst-launch-1.0 rtspsrc location=rtsp://[Stream_URL] latency=80 ! image/jpeg ! nvjpegdec ! video/x-raw ! videoconvert ! video/x-raw,format=BGR ! fakesink
it fails with error: “Delayed linking failed. gst_parse_no_more_pads”

You may try:

gst-launch-1.0 rtspsrc location=rtsp://[Stream_URL] latency=80 ! rtpjpegdepay ! nvjpegdec ! 'video/x-raw(memory:NVMM),format=I420' ! nvvidconv ! video/x-raw,format=BGRx ! videoconvert ! video/x-raw,format=BGR ! fakesink

# Or
gst-launch-1.0 rtspsrc location=rtsp://[Stream_URL] latency=80 ! rtpjpegdepay ! nvv4l2decoder mjpeg=1 ! nvvidconv ! video/x-raw,format=BGRx ! videoconvert ! video/x-raw,format=BGR ! fakesink

# Or simply:
gst-launch-1.0 uridecodebin uri=rtsp://[Stream_URL] source::latency=80 ! nvvidconv ! video/x-raw,format=BGRx ! videoconvert ! video/x-raw,format=BGR ! fakesink

Many thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.