I've read the mega-thread here: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=6852 and I don't want to lengthen it, cause who likes wading through threads? Instead I've written instructions on how to get to the stage that I am at, which includes *all* the steps, including the ones that people seem to magically omit.
Here's where I've got so far: http://creeder.com/?page=RaspberryPi I tried to make it beginner-friendly because the amount of undocumented options and unnecessary complication is insane! Building software shouldn't be this hard.
Anyway, if you follow all the instructions, it basically won't work. You'll end up with successfully installed gst-omx plugins, but if you try to use them with gst-launch it doesn't work. Additionally, I don't even know if Qt will take advantage of OpenMAX, but if you try to use QtMultimedia it says:
- Code: Select all
Module 'QtMultimedia' does not contain a module identifier directive - it cannot be protected from external registrations.
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
Really annoying since I've written a simple media centre in Qt Quick, and the UI is nice and speedy (very unlike XBMC!). It just can't play video on the Pi. I'm basically giving up on gstreamer/QtMultimedia but I figured this might be useful to other people. Instead I'm going to try to integrate omxplayer into my app, even though I know that is going to be a massive pain. But hey at least it definitely works, judging by XBMC.
So I guess my questions are:
1. Has anyone actually got gst-omx to work properly? Can you post *detailed* instructions?
2. Even if gst-omx works, would Qt use it?
3. What's the best way to integrate omxplayer into my app? Have the XBMC guys turned it into a library or anything?