Colour not working

Support and queries relating to all previous versions of ZoneMinder
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Contact:

Post by cordel » Sat Mar 05, 2005 5:33 pm

Yeah I would think so. There is also the possibility that the camera uses a differant size than the card.

gungner
Posts: 35
Joined: Tue Feb 08, 2005 8:24 pm

Post by gungner » Sun Mar 06, 2005 12:58 pm

but if the size works with Grey, why should it not work with colour? doesn't make any sense. I can use the same size and colour with camstream, but zmc crashes with exit code=255. What more can I do?

cheers,
tord

User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Contact:

Post by cordel » Sun Mar 06, 2005 9:34 pm

In your options under the Config tab try unchecking the ZM_STRICT_VIDEO_CONFIG and see if that helps.
Image
Image
3939663646337

It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain

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

Post by zoneminder » Mon Mar 07, 2005 12:34 am

One thing to be careful of is that if you have your settings set to grey then the shared memory is allocated as WxHx1 per frame. If you then change to colour this needs to be WxHx3 per frame. This means that the shared memory storage needs to grow, which it can't so it is destroyed and recreated. However if something is hanging onto the segment (such as a zms streaking daemon) then this doesn't happen.

When doing any change that results in a higher storage requirement it is always safest to restart ZM completely. This is assuming you don't just have the shared memory limit problem detailed in the FAQ and README.

Phil

gungner
Posts: 35
Joined: Tue Feb 08, 2005 8:24 pm

Post by gungner » Mon Mar 07, 2005 6:52 am

Cheers :D It works now! The trick was to restart ZM after changing to RGB24, it now works like a dream!


Thanks again for helping me out.

Cheers,
tord

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

Post by zoneminder » Mon Mar 07, 2005 9:14 am

Good. I think I should probably make that a bit clearer in the docs.

Phil

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests