opencv VideoCapture d-link DCS-930L

亡梦爱人 提交于 2019-12-10 11:26:19

问题


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

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

when trying using VLC it's works :

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

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

Thanks for helping


回答1:


Done Successfully using the following:

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


来源:https://stackoverflow.com/questions/22202666/opencv-videocapture-d-link-dcs-930l

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!