Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEP GST FRAMEWORK 3.10.10

72 bytes added, 16:53, 31 August 2011
no edit summary
<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 &nbsp;! avidemux name=demux demux.audio_00 &nbsp;! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 \! TIAuddec1 &nbsp;! alsasink demux.video_00 &nbsp;! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0 &nbsp;! TIViddec2 engineName=codecServer &nbsp;! 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&nbsp;! qtdemux name=demux demux.audio_00&nbsp;! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 \! TIAuddec1&nbsp;! alsasink demux.video_00&nbsp;! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0&nbsp;! TIViddec2 engineName=codecServer \! queue&nbsp;! TIDmaiVideoSink displayStd=fbdev displayDevice=/dev/fb1 accelFrameCopy=TRUE contiguousInputFrame=1
</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 =