Changes

How to setup tvp5151 video decoder

1,970 bytes added, 14:00, 26 July 2013
Remove kernel 2.6.35 (deprecated)
= What is?<br> =
The [http://focus.ti.com/docs/prod/folders/print/tvp5151.html TVP5151 ] device is an ultralow-power NTSC/PAL/SECAM video decoder. Available in a space-saving 48-terminal PBGA package or a 32-terminal TQFP package, the TVP5151 decoder converts NTSC, PAL, and SECAM video signals to 8-bit ITU-R BT.656 format. Discrete syncs are also available. The optimized architecture of the TVP5151 decoder allows for ultralow power consumption. The decoder consumes 138-mW power under typical operating conditions and consumes less than 1 mW in power-down mode, considerably increasing battery life in portable applications. The decoder uses just one crystal for all supported standards. The TVP5151 decoder can be programmed using an I2C serial interface.
The TVP5151 decoder converts baseband analog video into digital YCbCr 4:2:2 component video.
The YCbCr digital output can be programmed as 8-bit 4:2:2 or 8-bit ITU-R BT.656 parallel interface standard.<br>'''Summary of Line Frequencies, Data Rates, and Pixel Counts'''<br>
{| width="480" cellspacing="1" cellpadding="1" border="0" align="left" width="480" style=""
|-
! scope="col" | STANDARDS <br>(ITU-R BT.601) <br>
<br>
= Get the ISP kernel branch Dependecies =
You can access to our latest isp kernel branch using our git repository from [http://git*IGEP Board with TVP5151 peripheral (IGEPv2 Expansion Board or IGEP Berlin).igep*Camera with PAL output live video.es/?p=pub/scm/linux-omap-2.6.git;a=shortlog;h=refs/heads/linux-2.6.35.y-omap3isp here]*IGEP SDK (IGEP VM suggested).
Get = Kernel 2.6.37.y === IGEP Firmware Yocto == ''(from [[How to create a local copy SD-card with the latest software image]])'' {{:How to create a SD-card with the latest software image}} == Configure TVP5151 ==<section begin=configure />Use the following steps to configure analog video:  *Connect a video composite input to J501 connector from our repositoryIGEPv2 Expansion (near CAN Bus) or J402 connector from IGEP BERLIN (near HDMI output)*Connect a screen, for example HDMI monitor. *Refresh repositories and accept it. <pre>git clone git:zypper ref <//git.igep.es/pub/scm/linux-omappre> *Install video4linux2 plugin<pre>zypper in gst-2.6.gitgit checkout linuxplugins-2.6.35.ygood-omap3ispvideo4linux2
</pre>
By default the iommu2, tvp5151 and <section end=configure /> == Play with TVP5151 ==<section begin=playigepv2 /><section begin=playberlin />*Load OMAP ISP kernel module<br><pre>modprobe omap3-isp drivers be build inside the kernel but </pre> <section end=playberlin />*Configure ISP, for PAL resulution use 720x576 for NTSC resolution use 720x480 for '''IGEPv2 Expansion''':<br><pre>media-ctl -r -l '"tvp5150 2-005c":0-&gt;"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1-&gt;"OMAP3 ISP CCDC output":0[1]'media-ctl -v --set-format '"tvp5150 2-005c":0 [UYVY 720x480]'media-ctl -v --set-format '"OMAP3 ISP CCDC":0 [UYVY 720x480]'media-ctl -v --set-format '"OMAP3 ISP CCDC":1 [UYVY 720x480]' </pre> <section end=playigepv2 /><section begin=playberlin />*Configure ISP, for PAL resulution use 720x576 for NTSC resolution use 720x480 for '''IGEP BERLIN''':<br><pre>media-ctl -r -l '"tvp5150 3-005d":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'media-ctl -v --set-format '"tvp5150 3-005d":0 [UYVY 720x480]'media-ctl -v --set-format '"OMAP3 ISP CCDC":0 [UYVY 720x480]'media-ctl -v --set-format '"OMAP3 ISP CCDC":1 [UYVY 720x480]' </pre> <section begin=playigepv2 />*Export display<pre>export DISPLAY=:0.0 </pre> *Launch gstreamer<pre>gst-launch-0.10 -v v4l2src device=/dev/video2 queue-size=8&nbsp;! video/x-raw-yuv,format=\(fourcc\)UYVY,width=720,height=480&nbsp;! ffmpegcolorspace&nbsp;! autovideosink</pre> *Now you can configure it for build as module using see in your IGEP screen a result similar like this alternative configuration file {| cellspacing="1" cellpadding="1" border="1" width="200"|-| [[Image:Igepv2expgstreamercapture.jpg|400px]]|}<brsection end=playigepv2 /><section end=playberlin /[[Category:Gstreamer]][[Category:Software applications]]
0
edits