Load MJPEG video stream to qml

  • Hi,

    I have a problem when trying to show video stream MJPEG. I'm using non desktop in my embbedded device (GL) and using gstreamer 1.0 for qtmultimedia. I already make sure video output and media player works by playing a video. But when i change source of qtmediaplayer to source: "" nothing shown.

    Here is my snippet :

    Rectangle {
        id : myCamera
        width: 800
        height: 600
        color: "black"
        property alias myvideo: mediaplayer
        MediaPlayer {
            id: mediaplayer
            source: ""
            autoPlay: true
        VideoOutput {
            id: viewfinder
            visible: true
            anchors.fill: parent
            source: mediaplayer
            autoOrientation: true

    I already test the video stream by directly open from web browser. Is there something i should do?

    Thanks and sorry for my english

Log in to reply