SOLVED: grayscale working - color not working
Posted: Wed Feb 16, 2011 4:14 am
Hi,
I'm setting up a zoneminder box based on a PC with a Hauppauge ImpactVCB capture board. It's the model with a bt878 chip and 4 bnc connectors.
When I run xawtv, it shows the input from the first and only surveillance camera flawlessly (and in color). xawtv can capture stills (again in color).
When I set up a monitor in zoneminder and set the capture palette to "Grey" in v4l2 or "GREY" in v4l, I get a beautiful, clear grayscale image and everything works perfectly. Motion is detected and events are recorded.
However, when I switch to any other capture palette (and I have tried them all including RGB32, BGR32, and YUV422P), the "/dev/video0 (0)" text in the source column of the main zoneminder page turns red. If I click on the monitor link, I get a monitor page with the image missing. It almost looks like someone left the <img> tag out of the HTML since there isn't even a placeholder. Motion is not detected and events are not recorded.
Other potentially relevant data:
OS: Ubuntu 10.10 (i386)
Zoneminder: 1.24.2 (the version in Ubuntu's repos for 10.10)
Permissions on /dev/video0: 777
Camera video system: NTSC (U.S.)
Capture card video system: NTSC (U.S.)
Zoneminder video system: NTSC (U.S.)
Thanks,
Eric
I'm setting up a zoneminder box based on a PC with a Hauppauge ImpactVCB capture board. It's the model with a bt878 chip and 4 bnc connectors.
When I run xawtv, it shows the input from the first and only surveillance camera flawlessly (and in color). xawtv can capture stills (again in color).
When I set up a monitor in zoneminder and set the capture palette to "Grey" in v4l2 or "GREY" in v4l, I get a beautiful, clear grayscale image and everything works perfectly. Motion is detected and events are recorded.
However, when I switch to any other capture palette (and I have tried them all including RGB32, BGR32, and YUV422P), the "/dev/video0 (0)" text in the source column of the main zoneminder page turns red. If I click on the monitor link, I get a monitor page with the image missing. It almost looks like someone left the <img> tag out of the HTML since there isn't even a placeholder. Motion is not detected and events are not recorded.
Other potentially relevant data:
OS: Ubuntu 10.10 (i386)
Zoneminder: 1.24.2 (the version in Ubuntu's repos for 10.10)
Permissions on /dev/video0: 777
Camera video system: NTSC (U.S.)
Capture card video system: NTSC (U.S.)
Zoneminder video system: NTSC (U.S.)
Thanks,
Eric