Changes

How to setup tvp5151 video decoder

2,589 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.
== TVP5151 Features<br> ==
*Accepts NTSC (J, M, 4.43), PAL (B, D, G, H, I, M, N, Nc) and SECAM (B, D, G, K, K1, L) Video.*Supports ITU-R BT.601 Standard Sampling.*High-Speed 9-Bit Analog-to-Digital Converter (ADC).*Two Composite Inputs or One S-Video Input.*Fully Differential CMOS Analog Preprocessing Channels With Clamping and Automatic Gain Control (AGC) for Best Signal-to-Noise (S/N) Performance.*Ultralow Power Consumption.*Power-Down Mode: &lt;1 mW*Brightness, Saturation, Hue, and Sharpness Control Through I<sup>2</sup>C*Complementary 4-Line (3-H Delay) Adaptive Comb Filters for Both Cross-Luminance and Cross-Chrominance Noise Reduction*Single 27.000-MHz Crystal for All Standards*Internal Phase-Locked Loop (PLL) for Line-Locked Clock and Sampling*Subcarrier Genlock Output for Synchronizing Color Subcarrier of External Encoder*Variable Digital I/O Supply Voltage Range from 1.8 V to 3.3 V
*Standard Programmable Video Output Format:
**ITU-R BT.656, 8-Bit 4:2:2 With Embedded Syncs**8-Bit 4:2:2 With Discrete Syncs*Macrovision™ Copy Protection Detection
*Advanced Programmable Video Output Formats
== Output Formatter ==
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="center" width="480" height="219left" style=""
|-
! scope="col" | STANDARDS <br>(ITU-R BT.601) <br>! scope="col" | PIXELS PER <br>LINE! scope="col" | ACTIVE <br>PIXELS PER <br>LINE<br>! scope="col" | LINES PER <br>FRAME
|-
! scope="row" | NTSC-J, M| align="center" | 858| align="center" | 720
| align="center" | 525
|-
! scope="row" | NTSC-4.43| align="center" | 858| align="center" | 720
| align="center" | 525
|-
! scope="row" | PAL-M| align="center" | 858| align="center" | 720
| align="center" | 525
|-
! scope="row" | PAL-B, D, G, H, I| align="center" | 864| align="center" | 720
| align="center" | 625
|-
! scope="row" | PAL-N| align="center" | 864| align="center" | 720
| align="center" | 625
|-
! scope="row" | PAL-Nc| align="center" | 864| align="center" | 720
| align="center" | 625
|-
! scope="row" | SECAM
| align="center" | 864| align="center" | 720
| align="center" | 625
|}
 <br> <br>  <br>  <br>  <br>  <br>  <br>  <br>  <br>  = Dependecies = *IGEP Board with TVP5151 peripheral (IGEPv2 Expansion Board or IGEP Berlin).*Camera with PAL output live video.*IGEP SDK (IGEP VM suggested). = Kernel 2.6.37.y === IGEP Firmware Yocto == ''(from [[How to create a 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 IGEPv2 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>zypper ref </pre> *Install video4linux2 plugin<pre>zypper in gst-plugins-good-video4linux2</pre><section end=configure /> == Play with TVP5151 ==<section begin=playigepv2 /><section begin=playberlin />*Load OMAP ISP kernel module<br><pre>modprobe omap3-isp</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 see in your IGEP screen a result similar like this {| cellspacing="1" cellpadding="1" border="1" width="200"|-| [[Image:Igepv2expgstreamercapture.jpg|400px]]|}<section end=playigepv2 /><section end=playberlin /> [[Category:Gstreamer]][[Category:Software applications]]
0
edits