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 -0600

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:@[email protected]/video.mjpg");

edit retag flag offensive close merge delete

Comments

1

imho it's : "http://username:[email protected]/video.mjpg"

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

Sorry It's can't use

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

may be you find some help here

LBerger gravatar imageLBerger ( 2015-11-24 06:11:47 -0600 )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 -0600 )edit

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

suazung gravatar imagesuazung ( 2015-11-24 20:13:31 -0600 )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 -0600 )edit

LBerger I try "http://admin:[email protected]/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 -0600 )edit

@suazung: shouldn't it be "http://admin:[email protected].100/cgi-bin/video.cgi?msubmenu=mjpg"?

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

1 answer

Sort by ยป oldest newest most voted
0

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

OliverBJ01 gravatar image

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

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:[email protected]/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:[email protected]/video.cgi?.mjpg" and "http://admin:[email protected]/mjpg/video.mjpg" But still doesn't work

suazung gravatar imagesuazung ( 2015-11-25 20:47:23 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 2,259 times

Last updated: Nov 25 '15