QMediaPlayer can not play a web mp3 or mp4?
-
Hi,
DirectShow (DS) is an old multimedia backend that has now been replaced by Windows Media Foundation (WMF). Windows Media Player is playing your media files using WMF. DS cannot play them.
Are you using the MinGW compiler? MinGW doesn't support WMF properly. Use the MSVC compiler, and QMediaPlayer should get WMF support. (You will need to download the MSVC version of Qt too)
-
Because the MinGW toolchain doesn't provide the correct WMF headers, unfortunately :(
-
I'm having the same problem with MSVC and the wmf backend.
I have an mp4 video that plays correctly on windows 7 media player, but when I try to play it with QMediaPlayer I get an "Unsupported media, a codec is missing" error.
Is there a way to debug this kind of problems?
-
This post is deleted!