Category:QtMediaHub::ST7540: 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 ST7540=
#Redirect [[Running QtMediaHub on ST7540]]
 
==Assumptions==
 
# Qt 4.8.0 is configured, built and installed as per [[ST7540]] ''[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 ST7540 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 ST7540 reference board.
 
ST7540 specific media control integration can be found in files [http://gitorious.org/qtmediahub/qtmediahub-core/blobs/master/src/mediaplayer/mediaplayerST7540.h mediaplayerST7540.h] ''[gitorious.org]'' and [http://gitorious.org/qtmediahub/qtmediahub-core/blobs/master/src/mediaplayer/mediaplayerST7540.cpp mediaplayerST7540.cpp] ''[gitorious.org]''
 
==Configuring==
 
Use “ -media-backend ST7540” 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 ST7540 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; ST7540":===
 
===Q===
* [[:Category:QtMediaHub::Supported Platforms|Category:QtMediaHub -&gt; Supported_Platforms]]

Latest revision as of 10:44, 28 November 2016

This category currently contains no pages or media.