The code given below is for accessing an Axis IP camera using OpenCV. On running the program it first displays \"Error in opening cap_ffmpeg_impl...\" and then it displays <
I installed "Mini WebCam" app on my iphone and used it as an ip camera with "http://192.168.1.103" as it's address. In addition I used this piece of code:
VideoCapture capture;
Mat image;
if (!capture.open("http://192.168.1.103/video.cgi?.mjpg")) {
cout << "Error opening video stream or file" << endl;
return -1;
}
....
it works.(http://192.168.1.103/video.cgi?.mjpg)