Dahua MJPEG Stream URL

Chapin

Getting comfortable
Oct 5, 2017
148
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
 
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
 
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.
 
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 !
 
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 ?
 
  • Like
Reactions: looney2ns