Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMediaPlayer: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" (Ubuntu)
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
7 Posts 3 Posters 5.3k Views 1 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
    TimurE
    wrote on last edited by
    #1

    Hello. I installed Qt 5.7 using official installer on Ubuntu 16.04 and 14.04. In both systems I have problem with Qt Multimedia:

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

    GStreamer has been installed. Where is the problem? Please help.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TimurE
      wrote on last edited by
      #2

      I tried to use system version of Qt, and examples work in it. But what if I want to use newer Qt version?

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

        Hi,

        Which version of GStreamer did you install ? Did you also install the 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

        1 Reply Last reply
        1
        • T Offline
          T Offline
          TimurE
          wrote on last edited by
          #4

          I installed gstreamer0.10 with plugins, and it has started to work. But can I use gstreamer1? System version of Qt uses gstreamer 1.

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

            You may have to rebuild Qt Multimedia (only that module) to use GStreamer 1.0.

            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
            1
            • G Offline
              G Offline
              Gnenux
              wrote on last edited by
              #6

              Hi,my english is poor.this is a simple way to sovle this problem on linux.
              1.> sudo apt-get install libqt5multimedia5-plugins
              2.> cp -a /usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/ /your/path/to/Qt5/.../gcc_64/plugins/
              The main purpose is to avoid recompiling the QtMultimedia module.if you want to recompiling the QtMultimedia module.you should:
              1.> install required gstreamer
              2.> cd /your/path/to/Qt5/.../Src/qtmultimedia
              3.> qmake && make
              4.> make install
              or:
              2.> cd /your/path/to/Qt5/.../Src/qtmultimedia/src/plugins/gstreamer
              3.> qmake && make
              4.> make install
              The second method of failure probability is very large.Depending on whether your gstreamer installed correctly.

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

                @Gnenux Your first suggestion is not a real solution, you are mixing plugins from different Qt versions built with potentially different options.

                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