MediaPlayer not working on Windows

  • I have this simple webcam viewer:

    import QtQuick 2.5
    import QtQuick.Controls 1.4
    import QtMultimedia 5.5
    ApplicationWindow {
        visible: true
        width: 640
        height: 480
        MediaPlayer {
            id: player
            source: ""
            autoPlay: true
        VideoOutput {
            source: player
            anchors.fill: parent

    This works fine on Linux, but on Windows 7, I just get an empty Application Window. Does the Windows multimedia backend not support motion JPEG?

    Using Qt 5.5.1.

  • I have the same problem with Windows 10. If you enter the URL into Firefox, Chrome or VLC you'll see the lake ok, but if you try Internet Explorer or Microsoft Edge they just download and download forever... and I suspect that's also what the Windows multimedia backend does (and that's what Qt uses :-(

  • Was a solution to this ever found?

Log in to reply