Load MJPEG video stream to qml
Unsolved
General and Desktop
-
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 tosource: "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