Problems with Version 1.19.0

Support and queries relating to all previous versions of ZoneMinder
Locked
greatwhitedan
Posts: 3
Joined: Thu Mar 18, 2004 7:21 pm

Problems with Version 1.19.0

Post by greatwhitedan »

I have used serveral versions of theis software starting a 0.9.15 and since then. I am running on a Redhat Enterprise WS server with dual procs and a gig of ram. This server is used for MRTG monitoring, but i have also used it to monitor a single netcam that is in our server room. It is a cheap dlink DCS-900 and has worked with every version just fine until I got to 1.19.0. Everything works great except when you run the command:
zmc -H 172.16.1.125 -P 80 -p IMAGE.JPG
it outputs after a few seconds this error:
Not a JPEG file: starts with 0x0d 0x0a

This is after an upgrade from 1.17.2 which worked fine. I can downgrade to 1.17.2 and it still works fine, but then go back and install 1.19.0 and it gives that error.

Any ideas?

Thanks,
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Problems with Version 1.19.0

Post by zoneminder »

Hi Daniel,

The code for remote network cameras has been complete rewritten as even I couldn't understand it

Can you do a

<i>wget -S http://172.16.1.125/IMAGE.JPG > wget.out</i>

and post or mail me the result, if posting just the first few lines will do. The error you are getting is consistent with some extraneous CR/LF stuff so I suspect that might be it. Also do you know if your camera supports motion jpeg output? If so then you could try the path to that which on my d-Link is just VIDEO.CGI rather than IMAGE.JPG.

Phil,
greatwhitedan
Posts: 3
Joined: Thu Mar 18, 2004 7:21 pm

Re: Problems with Version 1.19.0

Post by greatwhitedan »

Here is what I get from the wget. I am still running 1.17.2 right now.

wget -S http://172.16.1.125/IMAGE.JPG > wget.out
--21:29:22-- http://172.16.1.125/IMAGE.JPG
=> `IMAGE.JPG'
Connecting to 172.16.1.125:80... connected.
HTTP request sent, awaiting response...
1 HTTP/1.0 200 OK
2 Server: Web Server/1.0
3 Auther: Steven Wu
4 MIME-version: 1.0
5 Cache-Control: no-cache
6 Content-Type:image/jpeg
7 Content-Length:62415

100%[====================================>] 62,419 358.57K/s ETA 00:00

21:29:23 (358.57 KB/s) - `IMAGE.JPG' saved [62419/62415])

Thanks,
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Problems with Version 1.19.0

Post by zoneminder »

Hi Daniel,

I made a slight goof in my original request, can you try it with -s instead of -S, that way the headers will get written to the captured file. It's the first 10 lines or so of that I'm interested in. Also did you get chance to try the VIDEO.CGI url?

Cheers,

Phil,
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Problems with Version 1.19.0

Post by zoneminder »

Actually, forget it. I think I've figured out the problem.

I've put a test fix up and detailed it on <a href="http://www.zoneminder.com/forum_install ... e65a">this thread</a>. If you get chance could you try it out and report back on that thread so I have all the responses together.

Cheers,

Phil,
Locked