Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to setup tvp5151 video decoder

173 bytes added, 14:00, 26 July 2013
Remove kernel 2.6.35 (deprecated)
<br>
= Get the ISP kernel binaries Dependecies =
You can download the compiled images from here: *IGEP Board with TVP5151 peripheral (IGEPv2 Expansion Board or IGEP Berlin).*Camera with PAL output live video.*IGEP SDK (IGEP VM suggested).
[http://downloads.igep.es/files/tvp5151/uImage = Kernel 2.6.35 (uImage)] 37.y === IGEP Firmware Yocto ==
''(from [[httpHow to create a SD-card with the latest software image]])'' {{://downloads.igep.es/files/tvp5151/zImage Kernel 2.6.35 (zImage)] How to create a SD-card with the latest software image}}
[http== Configure TVP5151 ==<section begin=configure />Use the following steps to configure analog video://downloads.igep.es/files/tvp5151/linux-2.6.35-10-modules.tgz Kernel 2.6.35 (Modules])
= TVP5151 Setup*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<br/pre> <section end=configure />
You need the program [http://downloads.igep.es/files/media-ctl media-ctl] this program it's useful for configure the ISP.<br>  There are two modules that you will use that are not inserted into the kernel: iommu2 (tvp5151) and isp. You have to load these kernel modules before start:<br> <pre>modprobe iommu2modprobe omap3-isp</pre> (Note: The first load order must be the iommu2 and then the omap3-isp)<br>  == Steps to configure the ISP and Play with TVP5151<br> == Configure the right ISP routing.<br> <pre>.section begin=playigepv2 /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]'</pre> Configure the video capture setup.<br> <pre>./media-ctl --set-format '"tvp5150 2-005c":0 [UYVY 720x628]'</pre> section begin= Play with TVP5151<br> = You can use for get the captured images [http:playberlin //downloads.igep.es/files/tvp5151/yavta yavta] or gstreamer as live stream.<br>  This is the suggested yavta capture setup:*Load OMAP ISP kernel module<br> <pre>./yavta modprobe omap3-f UYVY -s 720x628 -n 4 --capture=4 -F /dev/video2isp
</pre>
or the gstreamer pipeline setup<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=18&nbsp;! video/x-raw-yuv,format=\(fourcc\)UYVY,width=720,height=628480&nbsp;! ffmpegcolorspace&nbsp;! omapdmaifbsinkautovideosink</pre> = Dependeces<br> = *IGEPv2 board with Now you can see in your IGEP screen a Expansion board.<br> *Camera with PAL output live video.<br> *ISEE IGEPv2 toolchain (IGEP VM suggested)<br> *Gstreamer. = BUGS Detected =result similar like this
{| width="1000" cellspacing="1" cellpadding="1" border="1" width="200"
|-
! scope="col" | Issue ID ! scope="col" | Description ! scope="col" | Affected ! scope="col" | Resolution|-| TVP5151-0031 | TVP5151 it's not right initialized with IGEPv2 - DM3730 | IGEPv2 RC board with DM3730 | [http[Image://gitIgepv2expgstreamercapture.igep.es/?p=pub/scm/linux-omap-2.6.git;a=commit;h=4a2cb9a2582e1252f5643d196f876d81c7d57904 Patchjpg|400px]]
|}
<section end=playigepv2 />
<section end=playberlin />
<br>  [[Category:How_to_forge]] [[Category:Gstreamer]] [[Category:Hardware]] [[Category:Linux]] [[Category:IGEP0022Software applications]]
0
edits