我正在使用 VIVOTEK IP 摄像机。我正在尝试将它与 OPENCV 接口。输入用户名和密码后,Internet Explorer 在此 url 显示精美的视频。
代码如下
const std::string videoStreamAddress ="http://192.168.100.128/main.html";
//i have also tried "http://username:pasword@192.168.100.128/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;
}
我收到以下错误
warning: Error openong file <../../modules/highgui/src/cap_ffmpeg_impl.hpp:529>
Error opening video stream or file
可能是什么问题?