Dahua MJPEG Stream URL

Chapin

Getting comfortable
Joined
Oct 5, 2017
Messages
148
Reaction score
28
I've got a dozen IPC-HDW5231R-ZE cameras that I am trying to use the MJPEG stream. Unfortunately, my application does not accept a URL that begins with RTSP:/, which, unfortunately, all of the URLs that I have been able to set up for streaming begin with.

Is there non-rtsp URL that can be used to stream MJPEG from a Dahua Starlight?

These are what I've been trying:

Does not work -> http://[USER]:[Password]@192.168.1.201/axis-cgi/mjpg/video.cgi (found this here: Connect to Dahua IP cameras)

Does stream fine in VLC, but does not work with my application -> rtsp:/[USER]:[Password]@192.168.1.201:554/cam/realmonitor?channel=1&subtype=2

TIA
 

6412343

n3wb
Joined
Apr 3, 2020
Messages
10
Reaction score
1
Location
Chicago
Give this a shot...

http://<ip>/cgi-bin/snapshot.cgi?0

You may need to authenticate or put the user : password@<ip> in the URL. But this seems to work for the mjpeg stream
 

j4c3

n3wb
Joined
Dec 6, 2017
Messages
8
Reaction score
0
I have the same model. Try <ip>/cgi-bin/mjpg/video.cgi?channel=1&subtype=1

Make sure SubStream 1 is enabled, and the Encoding is MJPEG.
 

Chapin

Getting comfortable
Joined
Oct 5, 2017
Messages
148
Reaction score
28
That worked! Thank you so much. Not sure why this is so hard to find.

Thanks!
 

fa355115

Getting the hang of it
Joined
Oct 7, 2016
Messages
204
Reaction score
18
On my IPC-HFW1420SP that URL also doesn't work unfortunately ...

"<ip>/cgi-bin/mjpg/video.cgi?channel=1&subtype=1" ?

On my Dahua IPC-EBW81200, It worked though ...


but not on my second camera ...
I have also tried :
" ["

... but no luck ;-(

If someone can please provide the stream for the IPC-HFW1420SP ...
Many thanks !
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,715
Reaction score
38,909
Location
Alabama
On my IPC-HFW1420SP that URL also doesn't work unfortunately ...

"<ip>/cgi-bin/mjpg/video.cgi?channel=1&subtype=1" ?

On my Dahua IPC-EBW81200, It worked though ...


but not on my second camera ...
I have also tried :
" ["

... but no luck ;-(

If someone can please provide the stream for the IPC-HFW1420SP ...
Many thanks !
Have you logged into the cam's webGUI and gone to settings => video and enabled the sub stream and set the encoding for it to MJPEG ?
 

fa355115

Getting the hang of it
Joined
Oct 7, 2016
Messages
204
Reaction score
18
yes, but none of the URL's I have tried are working :-(
here is my setup :

1686322855870.png
 
Top