opencv VideoCapture d-link DCS-930L [英] opencv VideoCapture d-link DCS-930L

查看:89
本文介绍了opencv VideoCapture d-link DCS-930L的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图从 opencv 访问我的网络摄像头,但没有成功.

I am trying to access my ip camera fom opencv without success.

VideoCapture capture("http://IP/MJPEG.CGI?.mjpeg&user=username&password=mypassword")

尝试使用 VLC 时它的工作原理:

when trying using VLC it's works :

http://IP/MJPEG.CGI?.mjpeg

然后 VLC 要求输入用户名和密码就可以了.

then VLC ask for username&password and it's fine.

感谢您的帮助

推荐答案

使用以下方法成功完成:

Done Successfully using the following:

http://username:password@ip/video.cgi?.mjpg

这篇关于opencv VideoCapture d-link DCS-930L的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆