Avatar

Please consider registering
Guest

Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
URL streaming question
sp_NewPost Add Reply sp_NewTopic Add Topic
Avatar
BobS0327
Member
Members
Forum Posts: 29
Member Since:
September 7, 2013
sp_UserOfflineSmall Offline
1
April 25, 2016 - 12:46 am
sp_Permalink sp_Print sp_QuotePost
sp_ReportPost

I have a Dahua 8 channel DVR and I’m trying to stream one of the channels to a web page using the following URL..

 “http://XXX.XXX.XXX.XXX:9876/cgi-bin/mjpg/video.cgi?channel=2”

But I get a Authentication Required Dialog Box indicating that a username and password are being requested by http://XXX.XXX.XXX.XXX.  The site says “Device_CGI”

IOW, I’m prompted for a username and password.

So, my question is, how do I enter a user name and password in the URL string in order to eliminate this password dialog box?

I put the URL string in quotes so that whole string would be displayed in message. 

Avatar
Jose Malave
Boca Raton, Florida
Admin
Forum Posts: 566
Member Since:
January 3, 2014
sp_UserOfflineSmall Offline
2
April 25, 2016 - 11:51 am
sp_Permalink sp_Print sp_EditHistory sp_QuotePost
sp_ReportPost

Hi,

 

The password fields are based on a 64 bit encode.

For example:admin/admin will be YWRtaW46YWRtaW4== .

 

Encode Generator

Here is the code for you to stream from the DVR:

Use with admin/admin.

 

rtsp://put DVR IP address here:554/cam/realmonitor?channel=1&subtype=00&authbasic=YWRtaW46YWRtaW4==

 

Here is the code for you to stream from Megapixel Cameras:

Use with admin/admin. 

rtsp://admin:admin@put Megapixel_ip_Address here/cam/realmonitor?channel=1&subtype=1

 

Now for MJPG the encoding of the camera needs to be set to MJPG instead of H.264, this will use more bandtwith. 

Try 

http://XXX.XXX.XXX.XXX:9876/cgi-bin/mjpg/video.cgi?channel=2&subtype=00&authbasic=YWRtaW46YWRtaW4==

 Best of luck!

 

NOTE: THERE IS NO GUARANTEE THAT THIS CODE WILL WORK WITH HOME AUTOMATION EQUIPMENT.

sp_AnswersTopicAnswer
Answers Post

 Jose Malave - IT Director| Toll Free: 866-573-8878 | E-mail: support@securitycameraking.com

Calculate your Hard Disk Drive HereCalculate your Lens Here |  Calculate your Voltage Drop Here

       Video Vault (All Videos)         |  Security Camera Videos |     Smartphone Access Videos  

                    Check out the new Tech! HD-CVI       More.... 

Forum Timezone: America/New_York

Most Users Ever Online: 127

Currently Online:
37 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Techpro Security: 404

shockwave199: 179

tubac: 163

Gilberto: 150

MrDeepFreeze: 135

javajeff: 132

Jer7of9: 129

Night Hawk: 98

West Coast Jones: 66

ShawnInFL: 64

Newest Members:

shelleyls2

AlicePrist

KellomAdorunund

Taannoshat

Sergiolialt

CharlesSmecy

ThomasVex

gretchenrh16

KevinNax

Gregoryjed

Forum Stats:

Groups: 5

Forums: 28

Topics: 1198

Posts: 5271

 

Member Stats:

Guest Posters: 62

Members: 5641

Moderators: 15

Admins: 4

Administrators: Damon Delcoro, Brad Besner, Jose Malave, Gabe Garcia

Moderators: Dan Maresca, Ryan, Zeke Richey, Jorge Nava, Matthew Ernst, LittleBrad, Heath Phillips, Tonya Haley, Dan Millard, Eric Wilson, Brian Lee, Michael, Ted, mwhite, Julius Dilka