Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Example GStreamer Pipelines

947 bytes added, 14:55, 31 December 2010
no edit summary
This page provides example pipelines that can be copied to the command line to demonstrate various GStreamer operations. Some of the pipelines may need modification for things such as file names, ip addresses, etc.
Refer to[[GStreamer|this Gstreamer article]]for more information on downloading and building TI Gstreamer elements.
== Testing ==
|}
</blockquote>
<span style="color: blue;">''' If you use [http://labs.igep.es/index.php/IGEP_GST_FRAMEWORK_2.00.20 IGEP GST FRAMEWORK 2.00.20] you can use "omapdmaifbsink" instead of "TIDmaiVideoSink" to display the video inside the X windowing system. ''' </span>
=== Loopback: Video ===
A simple RTP client to receive and decode the MPEG-4 encoded stream.
<pre>gst-launch -v udpsrc port=5000 caps="&lt;CAPS_FROM_SERVER&gt;"&nbsp;! rtpmp4vdepay &nbsp;! TIViddec2&nbsp;! TIDmaiVideoSink videoStd=VGA videoOutput=LCD sync=false
</pre> 
== All ==
Receiver (target):
<pre>gst-launch udpsrc port=5555 caps="application/x-rtp"&nbsp;! queue&nbsp;! rtppcmudepay&nbsp;! mulawdec &nbsp;! alsasink
</pre>   == DSS2 Video Driver == The DSS2 video driver documentation can be found [http://git.igep.es/?p=pub/scm/linux-omap-2.6.git;a=blob;f=Documentation/arm/OMAP/DSS;h=0af0e9eed5d6c1281433b4c0bc26f7c6577fe8a6;hb=refs/heads/linux-2.6.35.y here] for kernel 2.6.35.y Some useful examples: omapfb.mode=dvi:1024x768MR-16@60<br>omapfb.mode=dvi:1280x720MR-16@60 (for 720p HDTV with 1:1 pixel mapping)<br>omapfb.mode=dvi:1360x768MR-16@60 (works nice on 720p HDMI TV which crops edges due to overscan)<br> Note: the M indicates the kernel will calculate a VESA mode on-the-fly instead of using modedb lookup. The R indicates reduced blanking which is for LCD monitors. Most HDTV will probably only operate with a VESA mode.<br> omapfb.mode should be passed in the kernel command line, this is the uboot example:<pre>bootargs-base=mem=430M console=ttyS2,115200n8 console=tty0 omapfb.mode=dvi:1280x720MR-16@60 vram=32M omapfb.vram=0:8M,1:16M,2:8M</pre>  
[[Category:DMAI_GStreamer_Plug-In]] [[Category:Gstreamer]]