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
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
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
To copy to clipboard, switch view to plain text mode
When i try to display the stream on my pc, i use VLC and it displays correct.
In my element i have the following
Video {
id: video
width : parent.width
height : parent.height
source: "udp://ip:port/"
playing: true
anchors.horizontalCenter: parent.horizontalCenter
}
Video {
id: video
width : parent.width
height : parent.height
source: "udp://ip:port/"
playing: true
anchors.horizontalCenter: parent.horizontalCenter
}
To copy to clipboard, switch view to plain text mode
The above isn't working, but if i change source to source: file.flv it works.
I'm getting one warning
Warning: QMediaPluginLoader: Failed to load plugin: "libqgstengine.so.debug" "The shared library was not found."
Warning: QMediaPluginLoader: Failed to load plugin: "libqgstengine.so.debug" "The shared library was not found."
To copy to clipboard, switch view to plain text mode
, on both the local video as the stream.
Isn't it possible at this stage to display a stream? Or am i doing something wrong?
Bookmarks