Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Category:QtMediaHub::ST7105
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.
- “QTDIR” and “PATH” 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].
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 ST7105 reference board.
ST7105 specific media control integration can be found in files mediaplayerST7105.h [gitorious.org] and mediaplayerST7105.cpp [gitorious.org]
Configuring
Use “ -media-backend ST7105” configure option to enable multimedia playback capability of QMH
Building
Build QMH as follows
Installing
As installation of QMH on ST7105 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 DirectFB
Rum QMH as follows to use Linux Frame Buffer
There is only one article in "QtMediaHub -> ST7105":
Q
This category currently contains no pages or media.