Solved The QMediaPlayer object does not have a valid service
-
Not sure which packages you want and how to get the corresponding info. Note that I'm running
Mint 17 Qiana
.
I executed the following command
apt-cache policy libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediawidgets5
and this outputslibqt5multimedia5: Geïnstalleerd: 5.2.1-0ubuntu5 Kandidaat: 5.2.1-0ubuntu5 Versietabel: * 5.2.1-0ubuntu5 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status libqt5multimedia5-plugins: Geïnstalleerd: 5.2.1-0ubuntu5 Kandidaat: 5.2.1-0ubuntu5 Versietabel: * 5.2.1-0ubuntu5 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status libqt5multimediawidgets5: Geïnstalleerd: 5.2.1-0ubuntu5 Kandidaat: 5.2.1-0ubuntu5 Versietabel: * 5.2.1-0ubuntu5 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status W: Ignoring Provides line with DepCompareOp for package gdb-minimal W: Ignoring Provides line with DepCompareOp for package gdb-minimal W: U kunt misschien 'apt-get update' uitvoeren om deze problemen te verhelpen
-
I meant the GStreamer version.
Note that since you are running a pretty old version of your Distribution. So it might just be that your GStreamer version is too old. So you either have to rebuild the plugin for your version of GStreamer or update your distribution.
-
I hope to get this fixed without updating the distribution but if all else fails, I'll have to do that indeed.
apt-cache policy gstreamer1.0-x libgstreamer1.0-0
returns the followinggstreamer1.0-x:
Geïnstalleerd: 1.2.4-1~ubuntu2.1
Kandidaat: 1.2.4-1~ubuntu2.1
Versietabel:- 1.2.4-1~ubuntu2.1 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
100 /var/lib/dpkg/status
1.2.3-1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libgstreamer1.0-0:
Geïnstalleerd: 1.2.4-0ubuntu1.1
Kandidaat: 1.2.4-0ubuntu1.1
Versietabel:- 1.2.4-0ubuntu1.1 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
100 /var/lib/dpkg/status
1.2.3-1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
Index of /ubuntu
archive.ubuntu.com
- 1.2.4-1~ubuntu2.1 0
-
What do you get if you run
nm -D /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 | grep _gst_value_list_type
? -
The command you gave returned nothing on the Mint setup. (On my working environment, Ubuntu 16.04, it returned
00000000003289c0 B _gst_value_list_type
)Below is the output (on Mint) of a slightly modified command
seppe@Seppe-desktop ~ $ nm -D /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 | grep gst_value_list 00000000000a0790 T gst_value_list_append_and_take_value 00000000000a0840 T gst_value_list_append_value 00000000000a0a40 T gst_value_list_concat 000000000009f570 T gst_value_list_get_size 000000000009f4e0 T gst_value_list_get_type 000000000009f5c0 T gst_value_list_get_value 00000000000a1fd0 T gst_value_list_merge 00000000000a0940 T gst_value_list_prepend_value seppe@Seppe-desktop ~ $
-
So it looks like you have to different versions of gstreamer installed on these two systems. Can you compare that ?
-
On Ubuntu 16.04 I have the following.
Should I be able to install this version on Linux Mint 17?mvandaele@nb-mvandaele:~$ apt-cache policy libgstreamer1.0-0:amd64 libgstreamer1.0-0: Installed: 1.8.3-1~ubuntu0.1 Candidate: 1.8.3-1~ubuntu0.1 Version table: *** 1.8.3-1~ubuntu0.1 500 500 http://be.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.8.0-1 500 500 http://be.archive.ubuntu.com/ubuntu xenial/main amd64 Packages mvandaele@nb-mvandaele:~$
-
Version 1.2.4 Vs 1.8.3. That's a pretty big gap.
Your Linux Mint is pretty old. You should consider updating it. Otherwise you may want to rebuild the Qt GStreamer backend for your Mint version.
-
@SGaist Can you give me a pointer on how to rebuild the Qt GStreamer?
-
Not Qt GStreamer, the QtMultimedia module GStreamer plugin.
Download the sources from the installer.
Then:
mkdir build_Qt_multimedia cd build_Qt_multimedia /path/to/your/Qt/qmake /path/to/qtmultimedia/src/plugins/ make make install
-
After a long delay (sorry for that), I could finally try this
I downloaded the sources from http://ftp2.nluug.nl/languages/qt/official_releases/qt/5.11/5.11.2/single/ (since downloading from the installer was extremely slow)Next, I ran
/home/mvandaele/Qt/5.11.2/gcc_64/bin/qmake /home/mvandaele/temp/Qt5.11.2/src/qt-everywhere-src-5.11.2/qtmultimedia/src/plugins
but running
make
afterwards resulted inmvandaele@nb-mvandaele:~/temp/Qt5.11.2/build$ make cd m3u/ && ( test -e Makefile || /home/mvandaele/Qt/5.11.2/gcc_64/bin/qmake -o Makefile /home/mvandaele/temp/Qt5.11.2/src/qt-everywhere-src-5.11.2/qtmultimedia/src/plugins/m3u/m3u.pro ) && make -f Makefile /home/mvandaele/Qt/5.11.2/gcc_64/mkspecs/features/qt_plugin.prf:59: Cannot write file /mkspecs/modules-inst/qt_plugin_qtmultimedia_m3u.pri: Cannot create parent directory Makefile:48: recipe for target 'sub-m3u-make_first' failed make: *** [sub-m3u-make_first] Error 3
Any ideas?
-
Can you try to run qmake on the whole QtMultimedia module ? You can always only build the plugin after.
-
Running QMake in the whole Multimedia module worked fine.
make
andmake install
afterwards did fix my problem! Thanks a lot for your assistance and patience. It's appreciated (a lot)
Note: runningmake install
in src/plugins did not seem to be sufficient