Category:QtMediaHub::ST7108: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(Convert bogus category (with nothing in it) to actual page.)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=Running QtMediaHub on ST7108=
#Redirect [[Running QtMediaHub on ST7108]]
 
==Assumptions==
 
# Qt 4.8.0 is configured, built and installed as per [[ST7108]] ''[qt.io]''
# Can run STM’s “Test-Tool” on reference board to test OpenGL ES 2.0 and media playback.
# “<span class="caps">QTDIR</span>” and “<span class="caps">PATH</span>” environment variables are set to use Qt 4.8.0 cross compiled and installed for ST7108 in your build terminal
 
==Getting Source==
 
You can get the latest source code from gitorious https://gitorious.org/qtmediahub ''[gitorious.org]''.<br /> You can use [http://gitorious.org/qtmediahub/qtmediahub/blobs/master/scripts/sync-to-head sync-to-head] ''[gitorious.org]'' to update your sources to latest version
 
Note that we are in the process of moving the git repositories to the qt.io.
 
==Multimedia Playback Support==
 
<span class="caps">QMH</span> uses “platform specific media player application” (in ST’s case it is the Test-Tool) to have media playback facility.<br /> This is achieved using “out of process integration” which means:-
 
# Start “Test-Tool” in background and redirect a <span class="caps">FIFO</span> (”/tmp/stapp_fifo2”) to “Test-Tool“s <span class="caps">STDIN</span>
# Redirect “Test-Tool”‘s <span class="caps">STDOUT</span> and <span class="caps">STDERROR</span> to a normal file (”/tmp/stapp_log”)
# <span class="caps">QMH</span> issues commands to “platform specific media player application” to another <span class="caps">FIFO</span> (”/tmp/stapp_fifo”)
# Have an arrangement to transfer data from FIF0 (”/tmp/stapp_fifo”) to <span class="caps">FIFO</span> (”/tmp/stapp_fifo2”)
# And <span class="caps">QMH</span> collects the feedback by reading “platform specific media player application”‘s <span class="caps">STDOUT</span> and <span class="caps">STDERROR</span>
 
This is achieved using following shell (commands in a init) script on ST7108 reference board.
 
ST7108 specific media control integration can be found in files [http://gitorious.org/qtmediahub/qtmediahub-core/blobs/master/src/mediaplayer/mediaplayerST7108.h mediaplayerST7108.h] ''[gitorious.org]'' and [http://gitorious.org/qtmediahub/qtmediahub-core/blobs/master/src/mediaplayer/mediaplayerST7108.cpp mediaplayerST7108.cpp] ''[gitorious.org]''
 
==Configuring==
 
Use “ -media-backend ST7108” configure option to enable multimedia playback capability of <span class="caps">QMH</span>
 
==Building==
 
Build <span class="caps">QMH</span> as follows
 
==Installing==
 
As installation of <span class="caps">QMH</span> on ST7108 reference board copy entire “qtmediahub” directory so that its path is exactly same as that on build machine.
 
==Running <span class="caps">QMH</span> on Qt 4.8 (<span class="caps">QWS</span>)==
 
Setup <span class="caps">QTDIR</span>, <span class="caps">QWS</span>_KEYBOARD, <span class="caps">QWS</span>_MOUSE_PROTO and LD_LIBRARY_PATH environment variables as follows
 
Rum <span class="caps">QMH</span> as follows to use OpenGL ES 2.0
 
Rum <span class="caps">QMH</span> as follows to use DirectFB
 
Rum <span class="caps">QMH</span> as follows to use Linux Frame Buffer
 
===There is only one article in "QtMediaHub -&gt; ST7108":===
 
===Q===
* [[:Category:QtMediaHub::Supported Platforms|Category:QtMediaHub -&gt; Supported_Platforms]]

Latest revision as of 10:43, 28 November 2016

This category currently contains no pages or media.