Morning,
i have problem with opening stream at my IP Cam D-Link DSC-935L. All works good in VLC, but when i try open stream at Java over the OpenCV (with opencv_ffmpeg310_64.dll) & VideoCapture - i get only this error:
[rtsp @ 000000002defd160] method DESCRIBE failed: 401 Unauthorized
My code snippet
videoCapture = new VideoCapture();
videoCapture.open("rtsp://admin@10.0.0.20:554/upceSource.mjpg");
if (!videoCapture.isOpened()) {
System.out.println("FAILED");
}else{
System.out.println("OK");
}
How i can pass username by another way? I have no password set.
Login: admin
Password: unused
Thanks for all help.