Gstreamer warning

hi,

I am using jetson nano, and I run a python program to get the rtsp stream,

cap = cv2.VideoCapture('rtspsrc location=rtsp://username:password@112.112.12.45:554/1/h265major latency=200 ! queue ! rtph265depay ! h265parse ! omxh265dec ! nvvidconv ! video/x-raw,format=BGRx ! videoconvert ! video/x-raw,format=BGR ! queue ! appsink',  cv2.CAP_GSTREAMER)

I got different warnings,

[ WARN:1] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (886) open OpenCV | GStreamer warning: unable to start pipeline

[ WARN:1] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created

[ WARN:1] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (1757) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module rtspsrc93 reported: Could not open resource for reading and writing.

how should we solve this, thanks

Sorry for the late response, is this still an issue to support? Thanks

Hi,
Here is a python sample:
Doesn't work nvv4l2decoder for decoding RTSP in gstreamer + opencv - #3 by DaneLLL

Please check if you can apply your URI to the sample and successfully run video playback.

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