Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Load MJPEG video stream to qml

Load MJPEG video stream to qml

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 543 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    getgo
    wrote on last edited by
    #1

    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: "http://192.168.1.103:8000/stream.mjpeg" nothing shown.

    Here is my snippet :

    Rectangle {
        id : myCamera
        width: 800
        height: 600
        color: "black"
        
        property alias myvideo: mediaplayer
        
        MediaPlayer {
            id: mediaplayer
            source: "http://192.168.1.103:8000/stream.mjpeg"
            
            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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved