Added IP Camera - only black image
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
Added IP Camera - only black image
Hi,
I have ZM 1.21 running on a LINUX 9.3 system since about four months, with one IP camera with a resolution of 320x240 on RECORD. Worked perfect so far. I am grabbing JPG's @ 1 fps and file them on a HDD.
No I have added a new camera, resolution 176 x 144 for a start and wanted to do the same. Identifed the path to grab the JPG as /cgi-bin/video.jpg, checked that out with the mozilla browser and voilà - got a picture. I entered my data in ZM, similar to the parameters I used with the other camera, and the RECORD and IP ADDRESS in the ZM Console went green.
Would you also guess that was smooth sailing?
Problem is, I get no stream, and only a black still (which flicks every second or...) and I get 0 events. The Load went up, so I guess something is processed, although I am not entirely sure what...
If I put IP_ADDRESS/cgi-bin/video.jpg in my mozilla, I see the JPEG. Which, admittedly, drives me a bit crazy.
Any ideas on how to solve this would be highly appreciated.
Thanks!
I have ZM 1.21 running on a LINUX 9.3 system since about four months, with one IP camera with a resolution of 320x240 on RECORD. Worked perfect so far. I am grabbing JPG's @ 1 fps and file them on a HDD.
No I have added a new camera, resolution 176 x 144 for a start and wanted to do the same. Identifed the path to grab the JPG as /cgi-bin/video.jpg, checked that out with the mozilla browser and voilà - got a picture. I entered my data in ZM, similar to the parameters I used with the other camera, and the RECORD and IP ADDRESS in the ZM Console went green.
Would you also guess that was smooth sailing?
Problem is, I get no stream, and only a black still (which flicks every second or...) and I get 0 events. The Load went up, so I guess something is processed, although I am not entirely sure what...
If I put IP_ADDRESS/cgi-bin/video.jpg in my mozilla, I see the JPEG. Which, admittedly, drives me a bit crazy.
Any ideas on how to solve this would be highly appreciated.
Thanks!
Thomas
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
Thanks tux, Thanks Cordel.
The restart of the zm daemon does not change anything. However, the properties of the grabbed image are not 176x144 as expected (and as set in the camera menu...) but 352 x 288. OK, now I have set the camera and ZM to 352x288, and then the IP in the SOURCE section of the ZM console goes RED. I had the same issue with my other camera - if I exceed 320x240, I get no more image. I guess it has something to do with shared memory, buffers etc. , but I have no clue how and where to change this.
Thanks for your help so far!
The restart of the zm daemon does not change anything. However, the properties of the grabbed image are not 176x144 as expected (and as set in the camera menu...) but 352 x 288. OK, now I have set the camera and ZM to 352x288, and then the IP in the SOURCE section of the ZM console goes RED. I had the same issue with my other camera - if I exceed 320x240, I get no more image. I guess it has something to do with shared memory, buffers etc. , but I have no clue how and where to change this.
Thanks for your help so far!
Thomas
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
NOt a JPEG????
Hi all,
still a black impage after fully restarting ZM. I have checked var/log mesages and zmdc.log and found the following:
/var/log/messages:
Dec 19 12:16:40 SuseServer zmc_m5[14341]: INF [Starting Capture]
Dec 19 12:16:40 SuseServer zma_m5[13239]: WAR [Waiting for capture daemon]
(This waiting for capture daemon goes on for another 30 sec)
zmdc.log:
Staring pending process, zmc -m 5
zmc -m 5´ started at 05/12/19 12:06:39,
zmc -m 5´ starting at 05/12/19 12:06:39, pid= 14267
Not a JPEG file: starts with 0x35 0x39
´ zmc -m5 crashed at 05/12/19 12:06:40, exit status 1
It looks like ZM does not identify the pic as JPEG???
Greetings
still a black impage after fully restarting ZM. I have checked var/log mesages and zmdc.log and found the following:
/var/log/messages:
Dec 19 12:16:40 SuseServer zmc_m5[14341]: INF [Starting Capture]
Dec 19 12:16:40 SuseServer zma_m5[13239]: WAR [Waiting for capture daemon]
(This waiting for capture daemon goes on for another 30 sec)
zmdc.log:
Staring pending process, zmc -m 5
zmc -m 5´ started at 05/12/19 12:06:39,
zmc -m 5´ starting at 05/12/19 12:06:39, pid= 14267
Not a JPEG file: starts with 0x35 0x39
´ zmc -m5 crashed at 05/12/19 12:06:40, exit status 1
It looks like ZM does not identify the pic as JPEG???
Greetings
Thomas
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
also try checking reg exp in options and try http 1.0.
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
when you get an image in ff i assume its a jpeg only and nothing else around it
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
ok then
can you temp make your zm and cam available on the internet and i will take a look
can you temp make your zm and cam available on the internet and i will take a look
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
ok we wont so that then
When you open the image with firefox can you right click on the image and select properties and let me know all you see here maybe get a screenshot, showing the properties, the image and the url?
When you open the image with firefox can you right click on the image and select properties and let me know all you see here maybe get a screenshot, showing the properties, the image and the url?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
The properties tag says:
video.jpg
Protocol:HTTP (Hyper Text Transfer Protocol)
Type: JPEG-Picture
Adress (URL): http://10.0.0.8/cgi-bin/video.jog
Size: 16795 Bytes
Size: 352 x 288 Pixels
video.jpg
Protocol:HTTP (Hyper Text Transfer Protocol)
Type: JPEG-Picture
Adress (URL): http://10.0.0.8/cgi-bin/video.jog
Size: 16795 Bytes
Size: 352 x 288 Pixels
Thomas
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
and whats all the settings you currently have for that monitor in zm
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk