i am using VIVOTEK IP camera. I am trying to interface it with OPENCV. internet explorer shows fine video at this url, after entering username and password.
the code is given below
const std::string videoStreamAddress ="http://192.168.100.128/main.html";
//i have also tried "http://username:[email protected]/main.html" but the same
//result
//and also tried ""http://192.168.100.128" i.e without "main.html"
if(!vcap.open(videoStreamAddress))
{
std::cout << "Error opening video stream or file" << std::endl;
}
I got the following error
warning: Error openong file <../../modules/highgui/src/cap_ffmpeg_impl.hpp:529>
Error opening video stream or file
what can be the problem?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…