2

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

user2824393
  • 639
  • 3
  • 10
  • 19

1 Answers1

4

Done Successfully using the following:

http://username:password@ip/video.cgi?.mjpg
user2824393
  • 639
  • 3
  • 10
  • 19