问题
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