How to use QT5 Multimedia in Windows 7?
-
Hello. I finally compiled QT5 on Windows 7, and port the QT4.8.1 QML Application to QT5.
Everything works fine except Video and Audio elements.
It worked fine with the Qt Mobility 1.2. However, QtMultimedia 5.0 which is the part of QT5 does not work properly.
How to make them work in QT5?
As I know QT5 has the Multimedia built-in. I checked the Multimedia 5.0 also supports Video and Audio API in QML.
Can anyboyd help me? Thanks.
-
Never mind...
-
Hello,
First it will depends on your compiler. If you have mingw32, you will have to compile the direct show multimedia plugin.
If you have VS2010 you can compile the wmf plugin.
http://qt-project.org/doc/qt-5.1/qtmultimedia/platform-notes-windows.htmlAnother solution is to develop your own multimedia backend.
http://qt-project.org/doc/qt-5.0/qtmultimedia/multimediabackend.html
It's more work but then you can use a more reliable and cross-platform solution such as libVLC or ffmpeg.