Page 1 of 1
signal loss detection doesn't work
Posted: Mon Feb 06, 2006 1:58 pm
by acrid
for some reason i don't get any signal-loss event when pulling the plug.
i captured a frame with no video signal on my own, and found out, that RGB values are 353535 or in hexadecimal 232323. on my system it is not a "shade of blue" but gray.
did i miss somthing? do i need some extra character? (maybe #?)
thanks in adavantage
Posted: Tue Feb 07, 2006 12:12 am
by zoneminder
Silly questions first, did you restart ZM after making the change? Anything in any of the logs when you pull the plug?
Posted: Tue Feb 07, 2006 12:36 pm
by acrid
yes i restarted zm.
i checked all the zm logs, couldn't find anything.
even in /var/log/messages nothing intressting...
maybe the colors of the jpg are different then the ones from the images used to detect a signall loss?
Posted: Tue Feb 07, 2006 3:12 pm
by zoneminder
If you have FireFox then the ColorZilla extension is very good for checking the colours of things like images directly as they are displayed.
Posted: Tue Feb 07, 2006 3:33 pm
by acrid
colorzilla has nothing new for me
353535 or #232323...
my monitor is set to grayscale, but the jpgs are outlined with colors... maybe that's the problem? is the signal loss detection started before converting grayscale images into coloured images?
Posted: Tue Feb 07, 2006 4:39 pm
by zoneminder
The numbers for the colour needs to be specified in hex, so just 232323 is what you would need but I assume you have tried that.
If you have the colourise jpegs option on then even greyscale images will be converted into the normal rgb colourspace. This doesn't usually make any difference but perhaps it's introducing a subtle change into the image and slightly shifting the colour you are sampling. Try switching the ZM_COLOUR_JPEG_FILES option off to see if you see a different colour.
Posted: Tue Feb 07, 2006 4:51 pm
by zoneminder
And before anyone posts to mention this, yes I have just realised that I've managed to hide this particular bit of config in 1.22.0 by creating a category that isn't displayed
You will have to change it directly by going into mysql and doing update
Code: Select all
Config set Value = 0 where Name = "ZM_COLOUR_JPEG_FILES";
however I'm not sure if that will make a whole lot of difference. You can give it a go though, and use zmu -i to dump an image directly from the shared memory.