I'm currrently tryinnng out the QML part of QT 4.7.
I've sorted it out so far how everything works, but i'm stuck at the following.
I created a rectangle which holds a Video. This video has to display a stream. I'm streaming on my network to a multicast ip with VLC
Code:
cvlc -vvv test.flv --sout "#transcode{vcodec=mp2v,acodec=mp2a,ab=96,channels=2,vb=3000,width=720,height=576,aspect=4:3}:std{access=udp,mux=ts,dst=multicast_ip:port}" --loop --sout-keep
When i try to display the stream on my pc, i use VLC and it displays correct.
In my element i have the following
The above isn't working, but if i change source to source: file.flv it works.Code:
Video { id: video width : parent.width height : parent.height source: "udp://ip:port/" playing: true anchors.horizontalCenter: parent.horizontalCenter }
I'm getting one warning, on both the local video as the stream.Code:
Warning: QMediaPluginLoader: Failed to load plugin: "libqgstengine.so.debug" "The shared library was not found."
Isn't it possible at this stage to display a stream? Or am i doing something wrong?