Category:QtMediaHub::ST7108
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.
- “QTDIR” and “PATH” 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].
You can use 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
QMH uses “platform specific media player application” (in ST’s case it is the Test-Tool) to have media playback facility.
This is achieved using “out of process integration” which means:-
- Start “Test-Tool” in background and redirect a FIFO (”/tmp/stapp_fifo2”) to “Test-Tool“s STDIN
- Redirect “Test-Tool”‘s STDOUT and STDERROR to a normal file (”/tmp/stapp_log”)
- QMH issues commands to “platform specific media player application” to another FIFO (”/tmp/stapp_fifo”)
- Have an arrangement to transfer data from FIF0 (”/tmp/stapp_fifo”) to FIFO (”/tmp/stapp_fifo2”)
- And QMH collects the feedback by reading “platform specific media player application”‘s STDOUT and STDERROR
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 mediaplayerST7108.h [gitorious.org] and mediaplayerST7108.cpp [gitorious.org]
Configuring
Use “ -media-backend ST7108” configure option to enable multimedia playback capability of QMH
Building
Build QMH as follows
Installing
As installation of QMH on ST7108 reference board copy entire “qtmediahub” directory so that its path is exactly same as that on build machine.
Running QMH on Qt 4.8 (QWS)
Setup QTDIR, QWS_KEYBOARD, QWS_MOUSE_PROTO and LD_LIBRARY_PATH environment variables as follows
Rum QMH as follows to use OpenGL ES 2.0
Rum QMH as follows to use DirectFB
Rum QMH as follows to use Linux Frame Buffer
There is only one article in "QtMediaHub -> ST7108":
Q
This category currently contains no pages or media.