GStreamer - RTSP - Python - Could not open resource for reading and writing.
Hello,
I have been using the camera to read the frames using gstreamer with opencv-python,
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 this warning,
`(python3:2507): GStreamer-CRITICAL **: 19:19:38.746: gst_element_post_message: assertion 'GST_IS_ELEMENT (element)' failed
GStreamer warning: Embedded video playback halted; module rtspsrc81 reported: Could not open resource for reading and writing.
`
how to solve this issue, thanks