Lautaro Carmona

Color issues capturing analog video with TVP5147 and i.MX51

Discussion created by Lautaro Carmona on Oct 20, 2011
Latest reply on Nov 1, 2011 by Lautaro Carmona

About our colour issues while capturing:

We are working with BlueTechnix SBC-i.MX51 and Texas Instrument TVP5147 Video Decoder.

After loading the corresponding modules:

modprobe tvp5147_tvin

modprobe mxc_v4l2_capture


We tried the following in order to capture raw video:

cd /unit_tests/

./mxc_v4l2_capture.out -ih 680 -iw 240 -oh 640 -ow 360 -fr 30 -f YUYV test.yuv


We were able to do it, and then we could play it with mplayer on our host machine with: "mplayer -rawvideo w=640:h=360:fps=30:f=YUY2 -demuxer rawvideo" 


While doing this we found some color issues.

With this post I'm uploading a picture where this can be appreciated (we use the plain colors Blue, Red and Green as inputs, and a TestSignal too).

As it can be seen, the colour is well displayed only at certain alternating vertical bars.

Any ideas of what may the problem is?