Page 1 of 1

D-Link DCS 935L network camera

Posted: Fri Oct 09, 2015 9:45 pm
by DrWaste
Hi all,

Has anyone ever got a D-Link DCS-935L network camera to work on zoneminder ?

It streams via rtsp :
rtsp://user:password@hostname:554/play1.sdp
but I can't work out how to configure it to get it to work.

My zoneminder is setup following :
http://www.zoneminder.com/wiki/index.ph ... e_Easy_Way

I have set the camera up with :
Source Type : Remote
Remote Protocol : RTSP
Remote Method : RTSP/Unicast
Remote Host Name : IP address
Remote Host Port : 554
Remote Host Path : rtsp://user:password@ip.ad.dr.ess:554/play1.sdp

It turns up orange in the console so I suppose the configuration is OK but when I want to view the output the window opens up but nothing is displayed. Once I close this window the source item in the console has turned red and I have to re-save the source settings (without any modifications) and it goes orange again.

In the logs I have :

Code: Select all

zmc_m1[30734]: INF [Starting Capture]
zmdc[30561]: ERR ['zmc -m 1' exited abnormally, exit status 255]
web_php[30404]: ERR [socket_sendto( /var/run/zm/zms-797516s.sock ) failed: No such file or directory]
web_php[30404]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-797516s.sock ) failed: No such file or directory - checkStreamForErrors()]
zmc_m1[30738]: FAT [No RTSP sources]
zmdc[30561]: ERR ['zmc -m 1' exited abnormally, exit status 255]
zmc_m1[30741]: INF [Starting Capture]
zmc_m1[30741]: FAT [No RTSP sources]
zmdc[30561]: ERR ['zmc -m 1' exited abnormally, exit status 255]
I modified line 15 of stream.php:
$locSockFile = ZM_PATH_SOCKS.'/zms-'.sprintf("%06d",$_REQUEST['connkey']).'w.sock';
to:
$locSockFile = ZM_PATH_SOCKS.'/zms-'.sprintf("%06d",$_REQUEST['connkey']).'s.sock';

Then I don't get the socket error anymore but I still get the zmc abnormal exit, the FAT "No RTSP sources" plus a new error which occurs every 15 seconds :

Code: Select all

web_php[25566]: ERR [Got unexpected message size, got 5, expected 260]
web_php[25566]: ERR [getStreamCmdResponse stream error: Got unexpected message size, got 5, expected 260 - checkStreamForErrors()]
and still nothing displayed when I open the live feed window.

Am I doing right editing code as new errors crop up or have I botched my configuration and missed something else ?

Thank you for your help.

Re: D-Link DCS 935L network camera

Posted: Mon Nov 16, 2015 9:09 pm
by diluted
Have you tried it like a 942L ?

Source Type: remote
Protocol:HTTP
Remote Host Name: <username>:<password>@<camera ip>
Remote Host Path: /video/mjpg.cgi?profileid=1

Re: D-Link DCS 935L network camera

Posted: Mon Nov 16, 2015 9:21 pm
by SteveGilvarry
Don't edit the code, there is two sock files created w and s, you are missing one. Normally permissions or apache config issues throw the sock error.

Re: D-Link DCS 935L network camera

Posted: Wed Apr 20, 2016 6:23 pm
by pelama
Hi Did you manage get it worked?

I've used Libvlc and manage to get it worked..

in source path rtsp://admin:password@192.168.1.62:554/play1.sdp
But I hade to laborate with screen resolution..

But I wonder if it's possible to capture pictures instead. My server is quite old..

Re: D-Link DCS 935L network camera

Posted: Sun Jul 30, 2017 10:17 am
by Murrebro
Hi

I started using ZoneMinder a couple of days ago, and I was able to set up all my cameras except the DCS-935L camera, it would not show the video feed, just a blue screen.
I searched for a solution on the issue, tried different settings in ZoneMinder, and tried the different paths available for all the other D-Link cameras without any luck.

In the end, I found the solution in the camera's setup.

This is how I set it up in ZoneMinder:

Source Type: Remote
Function: Monitor

Remote Protocol: HTTP
Remote Host Name: username:password@camera ip address
Remote Host Port: 80
Remote Host Path: /cgi/jpg/image.cgi <---This is the important bit.
Capture Width (pixels): 1280
Capture Height (pixels): 720

The host path can be found on the camera setup page, under Maintenance - Admin - Server Setting - Snapshot URL Authentication
On the right hand side, you should have the following line: (http://ip address:port/cgi/jpg/image.cgi)

I hope this information is useful to others that are having issues with the DCS-935L camera.