Page 1 of 2

dcs-900 not working..

Posted: Fri Jan 20, 2006 4:15 am
by dbw
hey guys,

i am having troubles getting my dlink dcs-900 cam to work with zoneminder 1.21.3 running on ubuntu server 5.10. I installed with the debian package, and my current set up is as follows:

Remote Host Name: http://ip/
Remote Host Port: 80
Remote Host Path: /video.cgi
Remote Image Colours: 24 bit colour
Capture Width (pixels): 320
Capture Height (pixels) : 240
Orientation: Normal

all i am getting at the moment is a black screen when trying to view it. any ideas that could help me get this thing running would be much appreciated.

jared.

Re: dcs-900 not working..

Posted: Fri Jan 20, 2006 9:24 am
by zoneminder
dbw wrote: Remote Host Name: http://ip/
This is just a host 'name'' (or ip) and not a url and as such doesn't need a protocol specifier. So just use 'ip' instead.

Posted: Sun Jan 22, 2006 10:50 pm
by dbw
hi, thanks for your reply. I made this change, however there is still no difference. Still getting nothing..any more ideas??

Thanks again,

jared.

Posted: Sun Jan 22, 2006 10:57 pm
by zoneminder
Check your logs?

Posted: Sun Jan 22, 2006 11:51 pm
by dbw
hi, thanks again for your reply..

here is the contents of the log files:

zmwatch.log:

Can't get shared memory id '2053971971' : No such file or directory
Can't get shared memory id '2053971971' : No such file or directory
Can't get shared memory id '2053971971' : No such file or directory
Can't get shared memory id '2053971971' : No such file or directory

zmdc.log:

tarting pending process, zmc -d 0
'zmc -d 0' started at 06/01/23 10:27:20
'zmc -d 0' starting at 06/01/23 10:27:20, pid = 11143
'zmc -d 0' crashed at 06/01/23 10:27:20, exit status 255
Starting pending process, zmc -m 1
'zmc -m 1' started at 06/01/23 10:27:42
'zmc -m 1' starting at 06/01/23 10:27:42, pid = 11147
'zmc -m 1' crashed at 06/01/23 10:27:54, exit status 255

let me know if you want more information..

jared.

Posted: Mon Jan 23, 2006 12:00 am
by jameswilson
just done a search on dcs-900 and noticed another post that doesnt have the leading slash in the path? maybe worth a go?

Posted: Mon Jan 23, 2006 12:08 am
by dbw
thanks for your suggestion James, however this didnt seem to resolve the problem. i think ive almost tried every combination of settings over the past few days without any luck..getting kinda annoying..

Posted: Mon Jan 23, 2006 12:11 am
by jameswilson
the only thing i can suggest is do you know for sure that your zm bix is working, ie have you had any images ever from any type of input. I would also suggest turning reg exps on in settings but i doubt it will help as it appears a problem getting images out of your cam into zm

Posted: Mon Jan 23, 2006 12:32 am
by cordel
Check your messages log

Posted: Mon Jan 23, 2006 12:34 am
by zoneminder
I don't know if it's case sensitive but my D-Link is VIDEO.CGI not /video.cgi. Having said that, the quality is so useless that you'd hardly notice the difference between an image and a black screen :lol: D-Link cameras are really, _really_ bad!

Posted: Mon Jan 23, 2006 12:53 am
by jameswilson
the quality is so useless that you'd hardly notice the difference between an image and a black screen
There are a couple of people here that genuinly make me fall over with laughter from the quotes.

D-link seem bad that ever there routers are poor. I would stick em all in a box with maxtor disks oh and cyrix processors

Posted: Mon Jan 23, 2006 1:32 am
by dbw
okay guys..thanks heaps for your suggestions..

ive checked the messages log, and nothing really stands out. Ive tried entering remote host path as VIDEO.CGI, and no luck.
the only thing i can suggest is do you know for sure that your zm bix is working, ie have you had any images ever from any type of input. I would also suggest turning reg exps on in settings but i doubt it will help as it appears a problem getting images out of your cam into zm
now im not 100% sure that this zm box is working. i havent had any images or video produced from any sort of input. in regards to your suggestion of turning on reg exps - im really new to linux, and wouldnt have the slightest idea on how to do this :oops: sorry to be a pain guys..

Posted: Mon Jan 23, 2006 2:11 am
by jameswilson
its a zm config thing, basically uses a slightly different way to retrieve images from the cam.
if you go to options, under network you will find a xheckbox called use reg exp. Turn it on. Also go back to your original config, with the leading/.
Can you also load the image in firefox, right click and report all the properties show ie path, image size etc
warm regards

Posted: Mon Jan 23, 2006 3:40 am
by dbw
thanks james.

I have tried the regexps setting in zm, however i am still not having any luck at all. at the moment i am getting nothing coming up when i attempt to view the video, it just sits there aparrantly "transferring data". After a few minutes i just get a torn image icon. If i press on the stills link i just get a black screen, no image.

when viewing http://192.168.1.202/image.jpg link, i get a still shot off the camera. i go to the properties of the image, and i get the following:

Location: http://192.168.1.202/image.jpg
Width: 320px
Height: 240px
Size of File: 6.06 KB (6204 bytes)
Alternate Text: The image “http://192.168.1.202/image.jpg” cannot be displayed, because it contains errors.

thanks again,

jared.

Posted: Mon Jan 23, 2006 9:39 am
by zoneminder
Depending on your distro the significant messages might be /var/log/syslog. Basically look for anything that has ERR in it.