Ask Your Question
0

How I access network Camera SAMSUNG SNB-5003/SNB-5004 SND-5083/SND-5084

asked 2015-11-24 02:39:28 -0500

suazung gravatar image

The error message shows "Failed to resolve hostname ip address.mjpeg " The name does not resolve for the supplied parameters.

This my Code

// username : admin // password : @123456789 // IP Address : http://192.168.1.100/home/monitoring.cgi

cap.open("http://admin:@123456789@192.168.1.100/video.mjpg");

edit retag flag offensive close merge delete

Comments

1

imho it's : "http://username:password@192.168.1.100/video.mjpg"

berak gravatar imageberak ( 2015-11-24 02:46:29 -0500 )edit

Sorry It's can't use

suazung gravatar imagesuazung ( 2015-11-24 03:41:40 -0500 )edit

may be you find some help here

LBerger gravatar imageLBerger ( 2015-11-24 06:11:47 -0500 )edit

If your password is really @123456789, the @ may cause a conflict. Change that password (or even remove restricted access) and try again

LorenaGdL gravatar imageLorenaGdL ( 2015-11-24 06:49:21 -0500 )edit

Now I change password to Sua123456789 . But doesn't work.

suazung gravatar imagesuazung ( 2015-11-24 20:13:31 -0500 )edit

Can you access to your camera using a web interface? If yes you can look for in page source code what's camera adress. If it is flash plug in you should try something like in given link.

LBerger gravatar imageLBerger ( 2015-11-25 01:22:49 -0500 )edit

LBerger I try "http://admin:Sua123456789@192.168.1.1/cgi-bin/video.cgi?msubmenu=mjpg&resolution=4" And page source code "http://192.168.1.100/cgi-bin/stw.cgi" + "?seq=" + localSeq But still doesn't work

suazung gravatar imagesuazung ( 2015-11-25 01:59:17 -0500 )edit

@suazung: shouldn't it be "http://admin:Sua123456789@192.168.1.100/cgi-bin/video.cgi?msubmenu=mjpg"?

LorenaGdL gravatar imageLorenaGdL ( 2015-11-25 09:01:17 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-25 04:28:20 -0500

OliverBJ01 gravatar image

updated 2015-11-25 09:05:53 -0500

LBerger gravatar image

This works for my two IP cams:

const std::string videoStreamAddress = "http://admin:password>>@10.1.1.5/video.cgi?.mjpg";  //D-Link IP camera @ Port 80

OR

const std::string videoStreamAddress = "http://root:password@10.1.1.69/mjpg/video.mjpg"; // Axis IP Camera @ Port 80

followed by..

VideoCapture   capture(videoStreamAddress);

int process(VideoCapture& capture);

if(!capture.isOpened()) {

        cerr << "Cannnot Init Webcam" << endl; return 1;

}

capture >> frame;

etc.

edit flag offensive delete link more

Comments

I try "http://admin:Sua123456789@192.168.1.100/video.cgi?.mjpg" and "http://admin:Sua123456789@192.168.1.100/mjpg/video.mjpg" But still doesn't work

suazung gravatar imagesuazung ( 2015-11-25 20:47:23 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-11-24 02:39:28 -0500

Seen: 1,108 times

Last updated: Nov 25 '15