Color Palette.... is off

Forum for questions and support relating to the 1.24.x releases only.
Locked
quentusrex
Posts: 56
Joined: Sun Dec 16, 2007 9:22 am

Color Palette.... is off

Post by quentusrex »

White colors look green/yellow...

I can't seem to find the fix...
quentusrex
Posts: 56
Joined: Sun Dec 16, 2007 9:22 am

Post by quentusrex »

Here is the sample:

http://kingsestate.com/node/10
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I think a little (=lot) more detail would be helpful here. Cam type, model? Palette selected? Basically any and everything you can supply would be helpful. There's not much to go on otherwise.
Phil
quentusrex
Posts: 56
Joined: Sun Dec 16, 2007 9:22 am

Post by quentusrex »

I don't know the brand or model. It's a generic bullet camera that I got from bluecherry a year or so ago. When I open it up in xawtv it looks fine. but Zoneminder has the colors all off...

If there is a list of commands I can run I'll run them and post the output here. I'm running Zoneminder trunk(as of 1-2 days ago).

I followed this guide. http://www.zoneminder.com/forums/viewtopic.php?t=13140

And only had to edit two source files. the one about the H264 and the one about the alloc line.


lspci:
02:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)

Ubuntu 8.10

Linux CameraShuttle 2.6.27-7-server #1 SMP Fri Oct 24 07:37:55 UTC 2008 i686 GNU/Linux

It's in a Shuttle box.(I don't remember the model.)

zmu -d /dev/video0 -q -v
Video Capabilities
Name: BT878 video (ProVideo PV150)
Type: 45
Can capture
Does teletext
Overlay onto frame buffer
Can clip
Video Channels: 2
Audio Channels: 0
Maximum Width: 768
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 0 - Unknown
Colour Depth: 32
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: Composite0
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 1 - NTSC
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 0
Type: 2 - Camera
Format: 1 - NTSC



Does that help? any more info needed? I can easily test patches.
quentusrex
Posts: 56
Joined: Sun Dec 16, 2007 9:22 am

Post by quentusrex »

Oh, and for the settings on the web console. I tried all the NTSC and they all seem the same, and I tried the RGB 32. the RGB 24 seemed to not pick anything up.


Actually it seems the camera is a: Q-see color camera
Model: Q0CDC
System: NTSC
Power: DC12v
Video output: 1.0vp-P75ohm
quentusrex
Posts: 56
Joined: Sun Dec 16, 2007 9:22 am

Post by quentusrex »

I tried YUV420 and that looks better except the lines seems shifted during movement. Like some of the individual horizontal lines are shifted either left or right.
derekfl
Posts: 2
Joined: Mon Jan 11, 2010 7:54 pm

Re: Color Palette.... is off

Post by derekfl »

quentusrex wrote:White colors look green/yellow...

I can't seem to find the fix...
I am having the exact same issue with the exact same card. Everything looks fine in xawtv, but whites look green/yellow in ZoneMinder. Pictures also jump a lot.
Locked