AnsweredAssumed Answered

mxc_v4l2_overlay shows green pixels and light becomes pink

Question asked by Motti Ng on Jun 1, 2016
Latest reply on Nov 29, 2016 by Arindam Roy

I have a working MIPI camera which capture 4208x3120 / 2104x1560 image.

I want to make a live-time preview on screen through HDMI.

The kernel I am using is 3.0.53, and the board is sabrelite from Boundary Device.

I can show a live-time preview on top of qt using mxc_v4l2_overlay.out -m 2 -iw 2104 -ih 1560 -ow 160 -oh 160 -ot 20 -ol 20 -r 0 -t 10 -d 0 -fg -fr 30.

It changes when I move objects in front of the camera so the preview is at least coming from the camera.

However, the content of preview it shows is not quite correct.


First, the video is split into four.

Each quadrant is very similiar to each other but the light intensity seems different.


Second, all the pixels are green for every object, and the lights become pink.

Third, the whole image is sliding down slowly.

I thought this was caused by mismatch of width so I tried the output size to be 1/4 of input size.

Unfortunately the result image is just the same in a smaller window.


I am thinking if this is because the data format obtained from sensor is different from the data format of framebuffer.

The data format obtained from sensor should be RGGB 10Bit and no image conversion (IC) is done. i.e. CSI -> IPU

Can anyone tell me whether I am on the right track?

Or is it even possible to show a preview of MIPI camera on screen?