[SOLVED] QtMultimedia : defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
-
Hello. Should this work for 5.3.2 as well?
I've tried these instructions as well as about 10 other sets that are similar, and still have no luck with playback in XP. We're using Creator with the MSVC 2012 w/ OpenGL compiler/Qt.- Our app downloads a wmv file into the users temp directory, then plays it back. If there's an error, we display it in our player as "Error: " + what is returned by errorString() on QMediaPlayer.
- It works perfectly in Windows Vista+
- On XP, with the multimedia dll's that came with Qt 5.3.2 package, we see:
"Error: The QMediaPlayer object does not have a valid service" - On XP, with the multimedia dll's compiled using various instructions including the ones in this thread, I simply get:
"Error: "
I'm developing on Windows 7 but my next steps are to get Creator/Qt installed on XP to see if I can get anything more out of Creator. It's quite frustrating.
-
This post is deleted!
-
rafael.nacirireplied to wesblake on 6 May 2015, 14:11 last edited by rafael.naciri 5 Jun 2015, 14:12
Hi, I'm @raf924 but I couldn't access my account so I made another.
@wesblake Do you use the x64 version of XP? Because according to this link : http://doc.qt.io/QtSupportedPlatforms/index.html#qt-5-3, Qt5.x only supports its 32 bit version and only for deployement so I wouldn't recommend installing QtCreator/Qt on your xp machine. And if you use the 32 bit version, is your compiler 32bit also? Because I think that would be an issue if the compiler is x64.
Also since I posted these instructions I haven't tried them on the latest version of Qt since I now use libVLC for media rendering.
-
Hi,
same problem as described above and solutions did not work properly.I found out that you must have libgstreamer installed!
(see http://doc.qt.io/qt-5/linux-requirements.html in chapter "Multimedia Dependencies")After installation of libgstreamer every thing worked perfectly (some troubles with mp3 encoding but that is an os problem).
Fix on my System (openSUSE 13.2 64bit):
sudo zypper install libgstreamer-0_10-0
(or http://software.opensuse.org/package/libgstreamer-0_10-0)Hope this will help others.
-
@tomasz3dk On my Linux (Ubuntu 14.04) machine I have just solved this problem
(the message "defaultServiceProvider::requestService(): no service found for - 'org.qt-project.qt.mediaplayer' ", and no video playback)
by installing
sudo apt-get install qtmultimedia5-examples,
which seems to contain the required plugin(s). -
Hei,
In lubuntu 16.04 I needed additionally sudo apt-get install qtgstreamer-plugins-qt5
terveisin, Markus -
Iuse linux QtMutimedia, have the same issue ? i have a quession, who have use the static mode qt in linux (android.unix ),any one who try it?
-
if use static mode , the arm and mips will be not hard, and we can easy use it on vehicle, car mode . EXP online car mode.
-
I got an similar problem but only no service found for - "org.qt-project.qt.camera"
-
Hi
I'm using ubuntu-base on my imx6ul board,and i solved this problem by using this command
sudo apt-get install libqt5multimedia5-plugins
install the libqt5multimedia5-plugins