Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to setup tvp5151 video decoder

1,492 bytes added, 11:34, 27 August 2012
m
Kernel 2.6.37.y
= Kernel 2.6.37.y =
 
Use the following steps to capture analog video:
 
*Connect a video composite input to J501 connector from IGEPv2 Expansion (near CAN Bus)
*Connect a screen, for example HDMI monitor.
*Log into IGEPv2 (via SSH, [http://labs.isee.biz/index.php/Getting_started_with_IGEPv2#Log_into_IGEPv2_via_Ethernet_interface as shown in the previous chapter]), and run the following commands:
<pre>ssh root@192.168.5.1
</pre>
*Now you have a remote igep terminal<br>
*Refresh repositories and accept it.
<pre>zypper ref </pre>
*Install video4linux2 plugin
<pre>zypper in gst-plugins-good-video4linux2
</pre>
*Load OMAP ISP kernel module<br>
<pre>modprobe omap3-isp
</pre>
*Configure ISP, for PAL resulution use 720x576 for NTSC resolution use 720x480:<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>
*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]]
|}
 
[[Category:Gstreamer]]
[[Category:Software applications]]
4,199
edits