black image when viewing remote camera

Support and queries relating to all previous versions of ZoneMinder
Locked
johnm
Posts: 2
Joined: Thu Dec 16, 2004 6:00 pm

black image when viewing remote camera

Post by johnm »

Hello

I am getting an all black image when trying to view a remote camera. I can verify the jpg is good because I can view it in a web browser, but ZM just shows it to me as all black. Could this be some problem with libjpeg not reading the image properly?

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

Post by zoneminder »

Are you viewing in still or streaming mode? Do you get any errors in the system, ZM or apache log files?

Phil,
johnm
Posts: 2
Joined: Thu Dec 16, 2004 6:00 pm

Post by johnm »

I'm trying to view it in still mode.

The image capture works fine (using program called webcam to dump image to .jpg), I can view the pic if i point my browser at it.

There are no errors in any of the log files. As far as I can tell, ZM is reading this image as completely black =(

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

Post by zoneminder »

Can you post some more details about the URL etc you are using. Have you tried using wget to retrieve the image, if so does that work?

Another thing to trt is to send a USR1 signal to the capturing zmc process. Use ps or top to find the process id of the zmc process and then just do 'kill -USR1 <pid>' to increase it's debug level by one. Check /var/log/messages to make sure it worked. You can send it repeated signals to increase debug level still further. Then perhaps post some extracts from the log if nothing obvious jumps out. You can use a USR2 signal to reduce debug levels afterwards.

Finally you could try changing the version of HTTP you are using from 1.1 to 1.0 . This is available in Options->Network.

Phil
Locked