Color issues capturing analog video with TVP5147 and i.MX51

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Color issues capturing analog video with TVP5147 and i.MX51

908 Views
LautaroCarmona1
Contributor II

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?

Labels (1)
0 Kudos
2 Replies

773 Views
LautaroCarmona1
Contributor II

Hi Hake,

We found that the problem was being caused by a hardware issue of our tvp5147 tvin board.

We asked Texas Instrument people, and we found out that we had a bad crystal on our board, here is the forum where we discussed it:

http://e2e.ti.com/support/data_converters/videoconverters/f/376/p/142207/513278.aspx#513278

Thanks for your interest!

Regards,

Lautaro.

0 Kudos

773 Views
hake
NXP Employee
NXP Employee
can you use ./mxc_v4l2_capture.out -ih 680 -iw 240 -oh 640 -ow 360 to output the screen and see the result? if the problem exist in display, I guess the input signal need some fine tune for tvp5147_tvin.
0 Kudos