|2009-04-17 08:27:42||camera output is bad|
|Posted By: zubair khan|
Join Date: 2008-10-27
Location: UNITED STATES
I have a zoom board (ldp), and I am using its camera on /dev/video4 using v4l2.
Input mode is YUYV.
The problem is that the camera output has incorrect color (luma Y seems ok). It seems to be having the green color missing so the picture has predominantly magenta color on it. Thats true for all resolutions.
I even tried CamDisplDemo.c from omapzoom site and that too shows magenta predominantly. I encoded camera output using openmax h264 coder and decode it on a PC, and still has magenta. I am sure that camera output has green color missing.
Question is has anyone else seen this, is it a known issue, or just a possible problem with my board?
|2009-04-20 21:55:46||Re: camera output is bad|
|Posted By: Rob Ramsay|
Join Date: 2009-04-07
Location: NEW ZEALAND
|> Hi Zubair, I'm having the same problem too. I'm not going to try and
> address it any time soon because it's not a big deal for me but my
> images come up as blue/scarlet shade which sounds like what you
> describe. My gray wall comes up as blue, and my (Caucasian) skin comes
> up as a raspberry colour.
> I'm running armelr-Debian on a 2.6.27 Kernel built from the Android
> branch of the Omap Kernel. I've been using the streamer app to connect
> to the camera (part of the xawtv project). The xawtv tools lets me
> tweak v4l settings.
> Running: $ streamer -c /dev/video4 -o rmv.ppm
> $ rm -f rmv.ppm
> $ v4lctl -c /dev/video4 lis
> gives me the following:
> files / video: 24 bit TrueColor (BE: rgb) / audio: > none
> ioctl: VIDIOC_REQBUFS(count=16;type=VIDEO_CAPTURE;> memory=MMAP): Invalid
> attribute | type | current | default | comment6
> norm | choice | (null) | (null) |
> input | choice | camera | camera | camera
> bright | int | 15 | 1 | range is 0 => 15
> contrast | int | 2 | 2 | range is 0 => 15
> Color Effe | int | 0 | 0 | range is 0 => 2
> I've them managed to change these parameters with v4lctl and found
> that this makes no difference to the images.
> Rob Ramsay