Can't open HTTP stream: Error opening file (../cap_ffmpeg_impl.hpp:529)
问题 Here is my link format to HTTP stream(user, password and address was changed to dummy): http://username:password@192.168.0.104:8093/axis-cgi/mjpg/video.cgi This stream works perfectly in VLC . However, I can't open it using OpenCV library. Here is my code: #include <iostream> #include "opencv2/opencv.hpp" using namespace std; using namespace cv; int main() { VideoCapture cap; const string videoStreamAddress = "http://username:password@192.168.0.104:8093/axis-cgi/mjpg/video.cgi"; cap.open