Solved The QMediaPlayer object does not have a valid service
-
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