Hi everybody, I use opencv to get network camera rtsp video data .example
cv2.::VideoCapture(“rtsp://admin:123456@192.168.1.65/h264/ch1/main/av_stream”)
or
cv2.::VideoCapture(“rtsp://admin:123456@192.168.1.65/h264/ch1/main/av_stream”, cv::CAP_FFMPEG)
result all use video software decode
and find method :use cv::CAP_GSTREAMER
but in opencv can not use
cameraaddr = "uridecodebin uri=" + cameraaddr+"?action=streamq ! nvvidconv ! video/x-raw,"
"format=BGRx ! videoconvert ! video/x-raw,format=BGR ! appsink drop=1 ";
capture.open(cameraaddr.toStdString(), cv::CAP_GSTREAMER);
please help!