Category:QtMediaHub::ST7105: 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.)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=Running QtMediaHub on ST7105=
#Redirect [[Running QtMediaHub on ST7105]]
 
==Assumptions==
 
# Qt 4.8.0 is configured, built and installed as per [[ST7105]] ''[qt.io]''
# Can run STM’s “Test-Tool” on reference board to test media playback.
# “<span class="caps">QTDIR</span>” and “<span class="caps">PATH</span>” environment variables are set to use Qt 4.8.0 crosscompiled and installed for ST7105 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 ST7105 reference board.
 
ST7105 specific media control integration can be found in files [http://gitorious.org/qtmediahub/qtmediahub-core/blobs/master/src/mediaplayer/mediaplayerST7105.h mediaplayerST7105.h] ''[gitorious.org]'' and [http://gitorious.org/qtmediahub/qtmediahub-core/blobs/master/src/mediaplayer/mediaplayerST7105.cpp mediaplayerST7105.cpp] ''[gitorious.org]''
 
==Configuring==
 
Use “ -media-backend ST7105” 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 ST7105 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 DirectFB
 
Rum <span class="caps">QMH</span> as follows to use Linux Frame Buffer
 
===There is only one article in "QtMediaHub -&gt; ST7105":===
 
===Q===
* [[:Category:QtMediaHub::Supported Platforms|Category:QtMediaHub -&gt; Supported_Platforms]]

Latest revision as of 10:37, 28 November 2016

This category currently contains no pages or media.