Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. no service found for - org.qt-project.qt.mediaplayer
QtWS25 Last Chance

no service found for - org.qt-project.qt.mediaplayer

Scheduled Pinned Locked Moved Solved Mobile and Embedded
embeddedlinuxqt5.5media playermultimedia
11 Posts 2 Posters 9.8k Views
  • 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.
  • I Offline
    I Offline
    IL
    wrote on 2 Nov 2015, 06:41 last edited by
    #2

    More information, currently I link libqgsttools_p.so with all other QT libs, It ask me to add all depended libs such: gstreamer, gobject, gmodule gstapp, gsttag, gstaudio, gstvideo, gstbase etc...
    After adding all those libraries, the linking complete successfully.

    Please advice.
    IL

    1 Reply Last reply
    0
    • I Offline
      I Offline
      IL
      wrote on 2 Nov 2015, 08:13 last edited by
      #3

      setting QT_DEBUG_PLUGINS=1
      I get th below logs.....
      please let me know what plugins am I missing?

      QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib" ...
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libffi.so.6"
      "Plugin verification data mismatch in '/usr/lib/libffi.so.6'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libglib-2.0.so.0"
      "Plugin verification data mismatch in '/usr/lib/libglib-2.0.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgmodule-2.0.so.0"
      "Plugin verification data mismatch in '/usr/lib/libgmodule-2.0.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgobject-2.0.so.0"
      "Plugin verification data mismatch in '/usr/lib/libgobject-2.0.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstapp-1.0.so.0"
      "Plugin verification data mismatch in '/usr/lib/libgstapp-1.0.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstaudio-1.0.so.0"
      "Plugin verification data mismatch in '/usr/lib/libgstaudio-1.0.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstaudiodecoder.so"
      Found metadata in lib /usr/lib/libgstaudiodecoder.so, metadata=
      {
      "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
      "MetaData": {
      "Keys": [
      "gstreameraudiodecode"
      ],
      "Services": [
      "org.qt-project.qt.audiodecode"
      ]
      },
      "className": "QGstreamerAudioDecoderServicePlugin",
      "debug": false,
      "version": 328960
      }

      Got keys from plugin meta data ()
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstbase-1.0.so.0"
      "Plugin verification data mismatch in '/usr/lib/libgstbase-1.0.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstmediaplayer.so"
      Found metadata in lib /usr/lib/libgstmediaplayer.so, metadata=
      {
      "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
      "MetaData": {
      "Keys": [
      "gstreamermediaplayer"
      ],
      "Services": [
      "org.qt-project.qt.mediaplayer"
      ]
      },
      "className": "QGstreamerPlayerServicePlugin",
      "debug": false,
      "version": 328960
      }

      Got keys from plugin meta data ()
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstpbutils-1.0.so.0"
      "Plugin verification data mismatch in '/usr/lib/libgstpbutils-1.0.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstreamer-1.0.so.0"
      "Plugin verification data mismatch in '/usr/lib/libgstreamer-1.0.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgsttag-1.0.so.0"
      "Plugin verification data mismatch in '/usr/lib/libgsttag-1.0.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstvideo-1.0.so.0"
      "Plugin verification data mismatch in '/usr/lib/libgstvideo-1.0.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/liborc-0.4.so.0"
      "Plugin verification data mismatch in '/usr/lib/liborc-0.4.so.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libpcap.so.1"
      "Plugin verification data mismatch in '/usr/lib/libpcap.so.1.0.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libpcap.so.1.0.0"
      "Plugin verification data mismatch in '/usr/lib/libpcap.so.1.0.0'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libqgsttools_p.so.1"
      "Plugin verification data mismatch in '/usr/lib/libqgsttools_p.so.1'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libqlinuxfb.so"
      Found metadata in lib /usr/lib/libqlinuxfb.so, metadata=
      {
      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
      "MetaData": {
      "Keys": [
      "linuxfb"
      ]
      },
      "className": "QLinuxFbIntegrationPlugin",
      "debug": false,
      "version": 328960
      }

      Got keys from plugin meta data ("linuxfb")
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libreadline.so.5"
      "Plugin verification data mismatch in '/usr/lib/libreadline.so'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libz.so.1"
      "Plugin verification data mismatch in '/usr/lib/libz.so.1.2.3'"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libz.so.1.2.3"
      "Plugin verification data mismatch in '/usr/lib/libz.so.1.2.3'"
      not a plugin

      loaded library "/usr/lib/libqlinuxfb.so"
      QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/platforminputcontexts" ...
      QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/styles" ...
      QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/mediaservice" ...
      defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
      QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/iconengines" ...

      R 1 Reply Last reply 2 Nov 2015, 08:19
      0
      • I IL
        2 Nov 2015, 08:13

        setting QT_DEBUG_PLUGINS=1
        I get th below logs.....
        please let me know what plugins am I missing?

        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib" ...
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libffi.so.6"
        "Plugin verification data mismatch in '/usr/lib/libffi.so.6'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libglib-2.0.so.0"
        "Plugin verification data mismatch in '/usr/lib/libglib-2.0.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgmodule-2.0.so.0"
        "Plugin verification data mismatch in '/usr/lib/libgmodule-2.0.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgobject-2.0.so.0"
        "Plugin verification data mismatch in '/usr/lib/libgobject-2.0.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstapp-1.0.so.0"
        "Plugin verification data mismatch in '/usr/lib/libgstapp-1.0.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstaudio-1.0.so.0"
        "Plugin verification data mismatch in '/usr/lib/libgstaudio-1.0.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstaudiodecoder.so"
        Found metadata in lib /usr/lib/libgstaudiodecoder.so, metadata=
        {
        "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
        "MetaData": {
        "Keys": [
        "gstreameraudiodecode"
        ],
        "Services": [
        "org.qt-project.qt.audiodecode"
        ]
        },
        "className": "QGstreamerAudioDecoderServicePlugin",
        "debug": false,
        "version": 328960
        }

        Got keys from plugin meta data ()
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstbase-1.0.so.0"
        "Plugin verification data mismatch in '/usr/lib/libgstbase-1.0.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstmediaplayer.so"
        Found metadata in lib /usr/lib/libgstmediaplayer.so, metadata=
        {
        "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
        "MetaData": {
        "Keys": [
        "gstreamermediaplayer"
        ],
        "Services": [
        "org.qt-project.qt.mediaplayer"
        ]
        },
        "className": "QGstreamerPlayerServicePlugin",
        "debug": false,
        "version": 328960
        }

        Got keys from plugin meta data ()
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstpbutils-1.0.so.0"
        "Plugin verification data mismatch in '/usr/lib/libgstpbutils-1.0.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstreamer-1.0.so.0"
        "Plugin verification data mismatch in '/usr/lib/libgstreamer-1.0.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgsttag-1.0.so.0"
        "Plugin verification data mismatch in '/usr/lib/libgsttag-1.0.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libgstvideo-1.0.so.0"
        "Plugin verification data mismatch in '/usr/lib/libgstvideo-1.0.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/liborc-0.4.so.0"
        "Plugin verification data mismatch in '/usr/lib/liborc-0.4.so.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libpcap.so.1"
        "Plugin verification data mismatch in '/usr/lib/libpcap.so.1.0.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libpcap.so.1.0.0"
        "Plugin verification data mismatch in '/usr/lib/libpcap.so.1.0.0'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libqgsttools_p.so.1"
        "Plugin verification data mismatch in '/usr/lib/libqgsttools_p.so.1'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libqlinuxfb.so"
        Found metadata in lib /usr/lib/libqlinuxfb.so, metadata=
        {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
        "Keys": [
        "linuxfb"
        ]
        },
        "className": "QLinuxFbIntegrationPlugin",
        "debug": false,
        "version": 328960
        }

        Got keys from plugin meta data ("linuxfb")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libreadline.so.5"
        "Plugin verification data mismatch in '/usr/lib/libreadline.so'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libz.so.1"
        "Plugin verification data mismatch in '/usr/lib/libz.so.1.2.3'"
        not a plugin
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/libz.so.1.2.3"
        "Plugin verification data mismatch in '/usr/lib/libz.so.1.2.3'"
        not a plugin

        loaded library "/usr/lib/libqlinuxfb.so"
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/platforminputcontexts" ...
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/styles" ...
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/mediaservice" ...
        defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/iconengines" ...

        R Offline
        R Offline
        raf924
        wrote on 2 Nov 2015, 08:19 last edited by
        #4

        @IL To resolve your issue you just need to install the developper package of gstreamer (either libgstreamer-dev or devel-gstreamer depending on your package manager)

        I 1 Reply Last reply 2 Nov 2015, 11:05
        0
        • R raf924
          2 Nov 2015, 08:19

          @IL To resolve your issue you just need to install the developper package of gstreamer (either libgstreamer-dev or devel-gstreamer depending on your package manager)

          I Offline
          I Offline
          IL
          wrote on 2 Nov 2015, 11:05 last edited by
          #5

          @raf924
          Thanks for your replay.
          You mean that I need to install that on my target machine?
          How can I know that?
          Is there any debug flag that can be open and point on it?
          Currently it just said that it missing plugins even though I have set all.
          I am checking…

          Thanks again!!!

          R 1 Reply Last reply 2 Nov 2015, 11:12
          0
          • I IL
            2 Nov 2015, 11:05

            @raf924
            Thanks for your replay.
            You mean that I need to install that on my target machine?
            How can I know that?
            Is there any debug flag that can be open and point on it?
            Currently it just said that it missing plugins even though I have set all.
            I am checking…

            Thanks again!!!

            R Offline
            R Offline
            raf924
            wrote on 2 Nov 2015, 11:12 last edited by
            #6

            @IL Yeah you need to install it on the target. I don't know why though. It should only need the runtime package of gstreamer. I had a similar problem on windows and someone posted that solution for linux.

            I 1 Reply Last reply 2 Nov 2015, 11:22
            0
            • R raf924
              2 Nov 2015, 11:12

              @IL Yeah you need to install it on the target. I don't know why though. It should only need the runtime package of gstreamer. I had a similar problem on windows and someone posted that solution for linux.

              I Offline
              I Offline
              IL
              wrote on 2 Nov 2015, 11:22 last edited by
              #7

              @raf924
              dose it need the libs file only from the package? like libgio, libglib, libgmodule, libgobject etc...
              or also the include folder and all other stuff?

              Thanks!

              R 1 Reply Last reply 2 Nov 2015, 12:15
              0
              • I IL
                2 Nov 2015, 11:22

                @raf924
                dose it need the libs file only from the package? like libgio, libglib, libgmodule, libgobject etc...
                or also the include folder and all other stuff?

                Thanks!

                R Offline
                R Offline
                raf924
                wrote on 2 Nov 2015, 12:15 last edited by
                #8

                @IL i don't know but i think only the .so files, though the package manager will install everything anyway

                I 1 Reply Last reply 2 Nov 2015, 13:18
                0
                • R raf924
                  2 Nov 2015, 12:15

                  @IL i don't know but i think only the .so files, though the package manager will install everything anyway

                  I Offline
                  I Offline
                  IL
                  wrote on 2 Nov 2015, 13:18 last edited by
                  #9

                  @raf924
                  Hi, I have installed gstreamer1-devel package but nothing changed.
                  any idea?

                  IL

                  R 1 Reply Last reply 2 Nov 2015, 13:26
                  0
                  • I IL
                    2 Nov 2015, 13:18

                    @raf924
                    Hi, I have installed gstreamer1-devel package but nothing changed.
                    any idea?

                    IL

                    R Offline
                    R Offline
                    raf924
                    wrote on 2 Nov 2015, 13:26 last edited by
                    #10

                    @IL Did you also install libgstreamer? I know it seems redundant but this is the only thing that i know of that can solve this problem on Linux.

                    I 1 Reply Last reply 2 Nov 2015, 13:54
                    0
                    • R raf924
                      2 Nov 2015, 13:26

                      @IL Did you also install libgstreamer? I know it seems redundant but this is the only thing that i know of that can solve this problem on Linux.

                      I Offline
                      I Offline
                      IL
                      wrote on 2 Nov 2015, 13:54 last edited by
                      #11

                      @raf924
                      Hi, yes i already install libgstreamer, it is look like that my problem was that the plugins for the video should be located under lib/mediaservise and not flat under lib/
                      But now, unsurprisely, I have new issue that crushes my target Linux:
                      Inconsistency detected by ld.so dl-open.c 271 dl_open_worker...
                      I now will take a look and try to resolve it.

                      Thanks a lot for your time, I really appreciate that.
                      IL

                      1 Reply Last reply
                      0

                      11/11

                      2 Nov 2015, 13:54

                      • Login

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