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 plugin - no service found for - "org.qt-project.qt.mediaplayer"

QMediaplayer plugin - no service found for - "org.qt-project.qt.mediaplayer"

Scheduled Pinned Locked Moved Solved General and Desktop
qmediaplayerqtmultimedia
12 Posts 3 Posters 3.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.
  • T Offline
    T Offline
    TomHat
    wrote on 5 May 2019, 09:01 last edited by
    #3

    Hello aha_1980,

    First of, thanks a lot for taking the time to reply.
    I have checked my paths and PATH environment variable, but it seems like the same path is used everywhere. Although... it also seems both DEBUG and RELEASE plugin DLLs are being loaded.
    I don't suppose that's normal, is it ? Is there something I can do about that ?

    Thanks in advance.

    Best regards,
    TomHat

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 5 May 2019, 09:10 last edited by mrjj 5 May 2019, 09:11
      #4

      Hi
      There might be an app installed that added something to the PATH environment so
      its Qt dlls are found first.
      alt text
      You have to look PATH over and try to see if any points to program folder or the like.

      1 Reply Last reply
      3
      • T Offline
        T Offline
        TomHat
        wrote on 5 May 2019, 14:32 last edited by
        #5

        Hello,
        Thank you as well for the help. I have now looked into my PATH environment variables. Nothing shocking there... I have searched for all QT resources used in other softwares I have installed on my computer, and deleted them all.
        Nothing changed.

        I aslo tried compiling a debug-only version of Qt, and here's what I get...

        QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.12.3/msvc2017/plugins/mediaservice" ...
        QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.3/msvc2017/plugins/mediaservice/dsengined.dll"
        Found metadata in lib C:/Qt/5.12.3/msvc2017/plugins/mediaservice/dsengined.dll, metadata=
        {
        "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
        "MetaData": {
        "Keys": [
        "directshow"
        ],
        "Services": [
        "org.qt-project.qt.camera",
        "org.qt-project.qt.mediaplayer"
        ]
        },
        "archreq": 1,
        "className": "DSServicePlugin",
        "debug": true,
        "version": 330752
        }

        Got keys from plugin meta data ("directshow")
        QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.3/msvc2017/plugins/mediaservice/qtmedia_audioengined.dll"
        Found metadata in lib C:/Qt/5.12.3/msvc2017/plugins/mediaservice/qtmedia_audioengined.dll, metadata=
        {
        "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
        "MetaData": {
        "Keys": [
        "audiocapture"
        ],
        "Services": [
        "org.qt-project.qt.audiosource"
        ]
        },
        "archreq": 1,
        "className": "AudioCaptureServicePlugin",
        "debug": true,
        "version": 330752
        }

        Got keys from plugin meta data ("audiocapture")
        QFactoryLoader::QFactoryLoader() checking directory path "D:/DEV/MediaPlayer/MyMediaPlayer/Win32/Debug/mediaservice" ...
        QMediaPluginLoader: loading metadata for iid "org.qt-project.qt.mediaserviceproviderfactory/5.0" at location "/mediaservice"
        QMediaPluginLoader: Inserted index 0 into metadata: QJsonObject({"Keys":["directshow"],"Services":["org.qt-project.qt.camera","org.qt-project.qt.mediaplayer"],"index":0})
        QMediaPluginLoader: Inserting new list for key: "org.qt-project.qt.camera"
        QMediaPluginLoader: Inserting new list for key: "org.qt-project.qt.mediaplayer"
        QMediaPluginLoader: Inserted index 1 into metadata: QJsonObject({"Keys":["audiocapture"],"Services":["org.qt-project.qt.audiosource"],"index":1})
        QMediaPluginLoader: Inserting new list for key: "org.qt-project.qt.audiosource"
        'MyMediaPlayer.exe' (Win32) : Chargé 'C:\Qt\5.12.3\msvc2017\plugins\mediaservice\dsengined.dll'. Les symboles ont été chargés.
        'MyMediaPlayer.exe' (Win32) : Chargé 'C:\Windows\SysWOW64\d3d9.dll'. Impossible de trouver ou d'ouvrir le fichier PDB.
        'MyMediaPlayer.exe' (Win32) : Chargé 'C:\Windows\SysWOW64\dxva2.dll'. Impossible de trouver ou d'ouvrir le fichier PDB.
        'MyMediaPlayer.exe' (Win32) : Déchargé 'C:\Windows\SysWOW64\d3d9.dll'
        'MyMediaPlayer.exe' (Win32) : Déchargé 'C:\Windows\SysWOW64\dxva2.dll'
        'MyMediaPlayer.exe' (Win32) : Déchargé 'C:\Qt\5.12.3\msvc2017\plugins\mediaservice\dsengined.dll'
        Cannot load library C:\Qt\5.12.3\msvc2017\plugins\mediaservice\dsengined.dll: Le module spécifié est introuvable.
        QLibraryPrivate::loadPlugin failed on "C:/Qt/5.12.3/msvc2017/plugins/mediaservice/dsengined.dll" : "Cannot load library C:\Qt\5.12.3\msvc2017\plugins\mediaservice\dsengined.dll: Le module spécifié est introuvable."
        defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

        I really hope someone's got a solution for me there. Because I'm out of ideas right now.

        Thank you guys a lot in advance.

        Best regards,

        TomHat

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 5 May 2019, 15:33 last edited by
          #6

          Hi
          I wonder if something up with your DirectX.
          Can you try to run dxdiag.exe
          and see if all looks good ?
          alt text

          1 Reply Last reply
          1
          • T Offline
            T Offline
            TomHat
            wrote on 5 May 2019, 16:53 last edited by
            #7

            Hello,

            I had not thought of looking there... Thanks for the idea. Here is what this dialog says (sorry for the french) :
            0_1557075149759_DX.png

            Seems all right... Or am I missing something ?

            Best regards,
            TomHat

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 5 May 2019, 20:23 last edited by
              #8

              Hi
              Could try to see if a new driver is available for your intel card ?
              its worth a shot

              1 Reply Last reply
              1
              • T Offline
                T Offline
                TomHat
                wrote on 6 May 2019, 12:11 last edited by
                #9

                Hello,

                Nope, no driver update available, sadly.
                I tried on 3 other computers and it works perfectly ! What could possibly go wrong with my laptop ?

                Thanks again for all the help !

                Best regards,

                TomHat

                1 Reply Last reply
                1
                • T Offline
                  T Offline
                  TomHat
                  wrote on 13 May 2019, 10:21 last edited by
                  #10

                  Actually, after some more research, turned out @mrjj wasn't too far from fixing my problem. I just needed to google "missing media service windows 10", and learned some computers needed to manually download media update from microsoft's website.
                  Well that only solved half of the problem, as I still have no sound coming out, and I get the following error message after creating a QMediaPlaylist :

                  Invalid parameter passed to C runtime function.
                  Invalid parameter passed to C runtime function.
                  Invalid parameter passed to C runtime function.
                  Invalid parameter passed to C runtime function.

                  Thanks guys for you help !

                  Best regards,

                  TomHat

                  1 Reply Last reply
                  1
                  • M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 13 May 2019, 10:33 last edited by
                    #11

                    Hi
                    Your DirectX looked pretty ok.
                    So not sure what it still is missing.
                    Did you look in dxdiag under sound ?
                    and it all looked fine ?

                    1 Reply Last reply
                    1
                    • T Offline
                      T Offline
                      TomHat
                      wrote on 5 Jun 2019, 13:56 last edited by
                      #12

                      Hey,
                      Sorry for late answer. Yes everything seemed fine. No error report at least.
                      But I'm guessing that this might not actually be linked with this topic anymore. So I'll just look into this issue on my own from there.

                      Anyway, thanks a lot for the support !

                      Best regards,

                      TomHat

                      1 Reply Last reply
                      1

                      • Login

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