|
|
| (6 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| =Running QtMediaHub on Trident Shiner=
| | #Redirect [[Running QtMediaHub on Trident Shiner]] |
| | |
| ==Assumptions==
| |
| | |
| # Qt 4.8.0 is configured, built and installed as per [[Shiner|Trident Shiner]] ''[qt.io]'' | |
| # Can run “GstTsPlayer” or “miniplayer” on reference board to test media playback alongside any simple OpenGL ES 2.0 application
| |
| # The video playback plane is behind the graphics plane
| |
| # “<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 Trident Shiner 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 Trident Shiner’s case it is either “GstTsPlayer” or “miniplayer” ) to have media playback facility.<br /> This is achieved using “out of process integration” which means:-
| |
| | |
| # Using a “QProcess” object start platform specific media player
| |
| # Write to this “QProcess” object to pass playback commands
| |
| # Read from this “QProcess” object to receive feedback
| |
| | |
| Trident Shiner’s GstTsPlayer specific media control integration can be found in files [http://gitorious.org/qtmediahub/qtmediahub-core/blobs/master/src/mediaplayer/mediaplayerTridentShinerGstTsPlayer.h mediaplayerTridentShinerGstTsPlayer.h] ''[gitorious.org]'' and [http://gitorious.org/qtmediahub/qtmediahub-core/blobs/master/src/mediaplayer/mediaplayerTridentShinerGstTsPlayer.cpp mediaplayerTridentShinerGstTsPlayer.cpp] ''[gitorious.org]''
| |
| | |
| Trident Shiner’s miniplayer specific media control integration can be found in files [http://gitorious.org/qtmediahub/qtmediahub-core/blobs/master/src/mediaplayer/mediaplayerTridentShinerMiniplayer.h mediaplayerTridentShinerMiniplayer.h] ''[gitorious.org]'' and [http://gitorious.org/qtmediahub/qtmediahub-core/blobs/master/src/mediaplayer/mediaplayerTridentShinerMiniplayer.cpp mediaplayerTridentShinerMiniplayer.cpp] ''[gitorious.org]''
| |
| | |
| ==Configuring==
| |
| | |
| Use “ -media-backend <span class="caps">TRIDENT</span>_SHINER_GSTTSPLAYER” configure option to enable multimedia playback capability of <span class="caps">QMH</span> using GstTsPlayer
| |
| | |
| Use “ -media-backend <span class="caps">TRIDENT</span>_SHINER_MINIPLAYER” configure option to enable multimedia playback capability of <span class="caps">QMH</span> using miniplayer
| |
| | |
| ==Building==
| |
| | |
| Build <span class="caps">QMH</span> as follows
| |
| | |
| ==Installing==
| |
| | |
| As installation of <span class="caps">QMH</span> on Trident Shiner 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 -> Trident_Shiner":===
| |
| | |
| ===Q===
| |
| * [[:Category:QtMediaHub::Supported Platforms|Category:QtMediaHub -> Supported_Platforms]]
| |