Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEP GST FRAMEWORK 3.10.10

1,738 bytes added, 16:53, 31 August 2011
no edit summary
Clean the framework<br>
<pre>cd /home/&lt;YOUR_USER_PATH&gt;/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_10
make clean</pre> 
== Build &amp; Clean Manually<br> ==
make dmai_clean
make gst_ti_clean
</pre> 
= Install =
Usr: Here resides the Codec Server, the gst plugin and some other examples.
= BUGS Detected =
{| width="60%" cellspacing="1" cellpadding="1" border="1"
|-
| Release| Description| Workaround
| Other
|-
| 3.10.00| Incorrect GFX install script| Copy the target and es.3x or es.5x directly
| None
|-
| 3.10.00| Incorrect DSP Memory map| Upgrade the package to 3.10.10
| Download the package 3.10.10
|}
<br>
 
= Play with it<br> =
 
[<span style="color: rgb(255, 0, 0);">IMPORTANT</span>] Some modules requires root privileges account.<br>
 
Normally in this example we will use 2 frame buffers and we will use the fb2 for playing the videos.<br>
 
We only need load the modules one time, we provide in the target/scripts directory some useful scripts. You should load the modules using the load-modules.sh script (just remember execute it as root).<br>
 
After load all modules then you should configure the fb1, it's suggested use the fb1-16M-settings.sh script after that the video image can be black or with random pixels (just it's normal) now you've the fb1 and fb0 running.<br>
 
fb1 it's on TOP and fb0 it's under fb1, it means that if you don't enable the transparency it's not possible see the fb0.<br>
Now, you're ready for play some nice video using gstreamer, you can use these pipelines:
This is for play a avi file and uses the omapdmaifbsink.
<pre>gst-launch-0.10 -v filesrc location=$1 ! avidemux name=demux demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 \
! TIAuddec1 ! alsasink demux.video_00 ! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0 ! TIViddec2 engineName=codecServer ! omapdmaifbsink
</pre>
Or You can use this other for play a mp4 file it uses a TIDmaiVideoSink.<br>
<pre>gst-launch-0.10 -v filesrc location=$1 ! qtdemux name=demux demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 \
! TIAuddec1 ! alsasink demux.video_00 ! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0 ! TIViddec2 engineName=codecServer ! queue ! TIDmaiVideoSink displayStd=fbdev displayDevice=/dev/fb1 accelFrameCopy=TRUE contiguousInputFrame=1
</pre>
= Useful Links =