signal loss detection doesn't work

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
acrid
Posts: 68
Joined: Sun Aug 24, 2003 10:26 pm
Location: Germany

signal loss detection doesn't work

Post 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 :)

Code: Select all

$> man woman
$> Segmentation fault (core dumped)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Silly questions first, did you restart ZM after making the change? Anything in any of the logs when you pull the plug?
Phil
User avatar
acrid
Posts: 68
Joined: Sun Aug 24, 2003 10:26 pm
Location: Germany

Post 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?

Code: Select all

$> man woman
$> Segmentation fault (core dumped)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
User avatar
acrid
Posts: 68
Joined: Sun Aug 24, 2003 10:26 pm
Location: Germany

Post 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?

Code: Select all

$> man woman
$> Segmentation fault (core dumped)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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 :oops:

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.
Phil
Locked