Page 1 of 1
Bosch Camera
Posted: Thu Oct 05, 2006 10:59 am
by jameswilson
Hi, i have a bosch ip day night camera im currently testing. Its an mpeg cam but has a jpeg available
if i
wget
http://10.0.0.2/snap.jpg
or use the above in a browser i get an image but zm wont. I had a similar problem with an invision megapixel i was trying a few months ago.
If needed i can put this public but im obviously missing something. If ie and mozilla can get the image and wget saves it as a image/jpeg then zm should be able to get too
Posted: Thu Oct 05, 2006 1:33 pm
by yod9999
have you tried using something like ethereal to look in depth at the response that the camera is returning? it could be something as simple as the line terminators being different, which ie/mozilla/wget can handle but zm can't.
if you can put it public i could take a look tonight - i'd also be interested to see what the image quality is like. what model of camera is it?
neil
Posted: Thu Oct 05, 2006 3:22 pm
by zoneminder
Wget can take -s and -S switches to show the headers etc. That would be useful to see.
Posted: Thu Oct 05, 2006 8:41 pm
by jameswilson
I unplugged the cat 5 on it before i left the office tonight as our new colour laser arrived and i need it. I will plug it back in and make it public.
Quaility as yet i dont know as i havnt pushed it but the dinions have always been good on composite. max res 704 x 576
Posted: Fri Oct 06, 2006 3:44 pm
by Z06jerry
this sooooo reminds me of what Jame's has mentioned in the main discussion forum....

Posted: Fri Oct 06, 2006 6:38 pm
by jameswilson
i dont understand mate? reminds you of what
Posted: Fri Oct 13, 2006 12:42 am
by jameswilson
Ok then i have wget with -S
[root@localhost ~]# wget -S
http://192.169.0.5/snap.jpg?JpegSize=XL
--01:41:07--
http://192.169.0.5/snap.jpg?JpegSize=XL
=> `snap.jpg?JpegSize=XL.1'
Connecting to 192.169.0.5:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Server: VCS-VideoJet-Webserver
Connection: keep-alive
Content-Type: image/jpeg
Accept-Ranges: bytes
Content-Length: 58367
Expires: 0
Length: 58,367 (57K) [image/jpeg]
100%[====================================>] 58,367 --.--K/s
01:41:08 (1.33 MB/s) - `snap.jpg?JpegSize=XL.1' saved [58367/58367]
Does that help?
Posted: Fri Oct 13, 2006 2:51 pm
by zoneminder
Actually it was the --save-headers switch that I meant to use. I thought it was -s but it isn't. Can you try again with wget --save-headers --server-response <url> and post the first few lines of the output file. You probably don't even need the server response bit actually any more.
Posted: Fri Oct 13, 2006 3:02 pm
by jameswilson
ok
[root@localhost ~]# wget --save-headers --server-response
http://192.169.0.5/snap.jpg?JpegSize=XL
--16:01:27--
http://192.169.0.5/snap.jpg?JpegSize=XL
=> `snap.jpg?JpegSize=XL.5'
Connecting to 192.169.0.5:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Server: VCS-VideoJet-Webserver
Connection: keep-alive
Content-Type: image/jpeg
Accept-Ranges: bytes
Content-Length: 68060
Expires: 0
Length: 68,060 (66K) [image/jpeg]
100%[====================================>] 68,060 --.--K/s
16:01:28 (876.71 KB/s) - `snap.jpg?JpegSize=XL.5' saved [68060/68060]
Posted: Fri Oct 13, 2006 3:12 pm
by zoneminder
Can you post the first 20 or so lines of the captured file?
Posted: Fri Oct 13, 2006 4:58 pm
by jameswilson
lol oh, not it makes sense, i wondered why that was going to help
I will pm you the loaction of the file
Posted: Mon Oct 16, 2006 6:41 pm
by zoneminder
Hi James
I have created a monitor for the Bosch cam and it seems to work just fine. Are you sure you don't have some other problem affecting it?
Posted: Mon Oct 16, 2006 7:44 pm
by jameswilson
ah?, quite possibly then if you remember i couldnt get those mega pixel cams working either. I will port forward the cam and check again later mater, ill pm you the port numbers and ip