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 on windows xp
Qt 6.11 is out! See what's new in the release blog

Qmediaplayer on windows xp

Scheduled Pinned Locked Moved General and Desktop
9 Posts 2 Posters 4.9k 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.
  • G Offline
    G Offline
    great88
    wrote on last edited by
    #1

    I get no sound on windows xp using qmediaplayer . Works on windows 7 just fine . I put mediaservice plugin in my application directory .

    Any other plugins I am missing ?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      great88
      wrote on last edited by
      #2

      Is this a driver issue ? The audio files I want to play are mp3 and they run fine under windows media player and also vlc on windows xp . I tried newest Audio driver ( SB X-Fi ) and still no sound with QmediaPlayer .

      Should I try another Audio framework ? Looks like I am not having much luck with QMediaPlayer on windows xp . I also tried QSoundEffect but can't get anything to play with that on any Operating System .

      1 Reply Last reply
      0
      • JKSHJ Online
        JKSHJ Online
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi,

        Connect the "QMediaPlayer::error() signal":http://qt-project.org/doc/qt-5.1/qtmultimedia/qmediaplayer.html#error-2 to a slot that prints the error, then add your MP3 file to the player. Do you see anything?

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • G Offline
          G Offline
          great88
          wrote on last edited by
          #4

          Thank you for this suggestion . I will try it out and let you know .

          1 Reply Last reply
          0
          • G Offline
            G Offline
            great88
            wrote on last edited by
            #5

            The error message I printed out using errorString() is
            "The QmediaPlayer object does not have a valid service ."

            I have mediaservice directory in my application directory .

            The mediaservice directory has the following files :
            dsengine.dll
            qtmedia_audioengine.dll
            wmfengine.dll

            And it appears to work fine on my Windows 7 machines . Just not on the windows xp .

            1 Reply Last reply
            0
            • G Offline
              G Offline
              great88
              wrote on last edited by
              #6

              Googling this I found :
              https://bugreports.qt-project.org/browse/QTBUG-28881

              It appears I need to compile the directshow plugin .

              If there is anything else I am missing , let me know .

              1 Reply Last reply
              0
              • G Offline
                G Offline
                great88
                wrote on last edited by
                #7

                [quote author="great88" date="1377830446"]
                https://bugreports.qt-project.org/browse/QTBUG-28881

                It appears I need to compile the directshow plugin .

                [/quote]

                No , this is a dead end . This just compiles the dsengine.dll which I already have in the mediaservice directory .

                I tried moving to plugins/mediaservice or just in the windows/system32 directory and still doesn't work .

                Any other ideas ?

                1 Reply Last reply
                0
                • JKSHJ Online
                  JKSHJ Online
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  I don't work with Windows XP, sorry.

                  Try asking at the "Interest mailing list":http://lists.qt-project.org/mailman/listinfo/interest -- Qt's engineers are active there. You'll have to subscribe before sending your email.

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    great88
                    wrote on last edited by
                    #9

                    [quote author="JKSH" date="1378519933"]I don't work with Windows XP, sorry.

                    Try asking at the "Interest mailing list":http://lists.qt-project.org/mailman/listinfo/interest -- Qt's engineers are active there. You'll have to subscribe before sending your email.[/quote]

                    Yeah , that's ok . I've decided my app just won't support XP . No big deal .
                    Thanks for your efforts .

                    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