Qmediaplayer on windows xp
-
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 ?
-
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 .
-
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?
-
Thank you for this suggestion . I will try it out and let you know .
-
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.dllAnd it appears to work fine on my Windows 7 machines . Just not on the windows xp .
-
Googling this I found :
https://bugreports.qt-project.org/browse/QTBUG-28881It appears I need to compile the directshow plugin .
If there is anything else I am missing , let me know .
-
[quote author="great88" date="1377830446"]
https://bugreports.qt-project.org/browse/QTBUG-28881It 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 ?
-
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 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 .