1 | initial version |
This works for my two IP cams:
const std::string videoStreamAddress = "http://admin:password>>@10.1.1.5/video.cgi?.mjpg"; //D-Link IP camera @ Port 80 OR const std::string videoStreamAddress = "http://root:[email protected]/mjpg/video.mjpg"; // Axis IP Camera @ Port 80
followed by..
VideoCapture capture(videoStreamAddress);
int process(VideoCapture& capture);
if(!capture.isOpened()) { cerr << "Cannnot Init Webcam" << endl; return 1; } capture >> frame; etc.
2 | No.2 Revision |
This works for my two IP cams:
const std::string videoStreamAddress = "http://admin:password>>@10.1.1.5/video.cgi?.mjpg"; //D-Link IP camera @ Port 80
80
OR const std::string videoStreamAddress = "http://root:[email protected]/mjpg/video.mjpg"; // Axis IP Camera @ Port 80
followed by..
by..
VideoCapture capture(videoStreamAddress); capture(videoStreamAddress);
if(!capture.isOpened()) {
{
cerr << "Cannnot Init Webcam" << endl; return 1;
}
}
capture >> frame;
frame;
etc.
3 | No.3 Revision |
This works for my two IP cams:
const std::string videoStreamAddress = "http://admin:password>>@10.1.1.5/video.cgi?.mjpg"; //D-Link IP camera @ Port OR
OR
const std::string videoStreamAddress = "http://root:[email protected]/mjpg/video.mjpg"; // Axis IP Camera @ Port followed by..
VideoCapture if(!capture.isOpened()) {
}
capture >> frame;
etc.