Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Ubuntu 16.04 LTS, QT 5.6.1, Gstreamer 1.0 = no service found for "org.qt-project.qt.mediaplayer"

Ubuntu 16.04 LTS, QT 5.6.1, Gstreamer 1.0 = no service found for "org.qt-project.qt.mediaplayer"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 3 Posters 4.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thealse
    wrote on last edited by thealse
    #1

    Hi,

    I am using:

    • Ubuntu 16.04 LTS
    • Gstreamer 1.0 packages
    • QT 5.6

    I downloaded the latest online run-installer from the webpage and installed QT 5.6 using the maintenance tool.
    Everything installed fine.

    But running my c++/qt quick application (or even the included multimedia video example) which utilizes QtMultimedia 5.6. I get the following output when I try to open a video:

    QtMultimedia : defaultServiceProvider::requestService(): no service found for "org.qt-project.qt.mediaplayer"
    

    I have spent hours searching the internet now but all the issues are old, related to gstreamer or configure.
    At this point I have no idea what the problem could be, any suggestion is helpful.
    (no need to say that the default linux video player has no problem opening the video I am trying to open with QT)

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you also install the GStreamer plugin packages ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Did you also install the GStreamer plugin packages ?

        T Offline
        T Offline
        thealse
        wrote on last edited by thealse
        #3

        @SGaist Please notice that I updated the question. I am testing different ways.
        @SGaist At this point I have installed everything with gstreamer I could find.
        Below is the complete list of installed packages on the machine:

        dpkg --get-selections | grep -v deinstall | grep gstream
        
        gir1.2-gstreamer-1.0   			     install
        gstreamer1.0-alsa:amd64   			 install
        gstreamer1.0-clutter-3.0   		 	 install
        gstreamer1.0-fluendo-mp3:amd64  	 install
        gstreamer1.0-libav:amd64   			 install
        gstreamer1.0-nice:amd64   			 install
        gstreamer1.0-plugins-bad:amd64   		 install
        gstreamer1.0-plugins-bad-faad:amd64   	 install
        gstreamer1.0-plugins-bad-videoparsers:amd64    install
        gstreamer1.0-plugins-base:amd64   		 install
        gstreamer1.0-plugins-base-apps   		 install
        gstreamer1.0-plugins-good:amd64   		 install
        gstreamer1.0-plugins-ugly:amd64   		 install
        gstreamer1.0-plugins-ugly-amr:amd64   	 install
        gstreamer1.0-pulseaudio:amd64   		 install
        gstreamer1.0-tools   				     install
        gstreamer1.0-x:amd64   			         install
        libgstreamer-plugins-bad1.0-0:amd64   	 install
        libgstreamer-plugins-base1.0-0:amd64   	 install
        libgstreamer-plugins-base1.0-dev   		 install
        libgstreamer-plugins-good1.0-0:amd64   	 install
        libgstreamer1.0-0:amd64   		     	 install
        libgstreamer1.0-dev   				     install
        libreoffice-avmedia-backend-gstreamer  	 install
        
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Are you using a custom build of Qt ?

          If not and IIRC, Qt 5.6 still uses the old 0.1 GStreamer.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          M 1 Reply Last reply
          0
          • SGaistS SGaist

            Are you using a custom build of Qt ?

            If not and IIRC, Qt 5.6 still uses the old 0.1 GStreamer.

            M Offline
            M Offline
            Mark81
            wrote on last edited by
            #5

            @SGaist the X11 requirements say also gstreamer-1.0 is supported:

            http://doc.qt.io/qt-5/linux-requirements.html

            The minimum required version of GStreamer is 0.10.24. The 1.x series is also supported.

            To build Qt Multimedia, you need the GStreamer library, base plugins, and development files for your system. To run applications that use Qt Multimedia, you might also need to install the following GStreamer plugins: 'good', 'ugly', 'bad', ffmpeg (0.10), and libav (1.x).

            If the op is not using X11 I had the same problem (w/ gstreamer-1.0) solved compiling also the opengl module.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Supported yes, but you have to re-build the GStreamer backend to use it.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved