0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 3947
/ 3 Years ago, thu, may 20, 2021, 2:09:33
I have qt 5.2(ubuntu sdk) installed on Ubuntu 14.04
When I try to run QML code:
MediaPlayer {
id: mediaPlayer
source: "../path/test.mp4"
autoPlay: true
}
VideoOutput {
id: video
width: screen.width
height: screen.height
source: mediaPlayer
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
}
I get:
Error: "Your GStreamer installation is missing a plug-in."
Note:
1) I can play test.mp4 in Totem
2) I can play ogv files with above code
What am I missing?
Any help will be very appreciated.
More From » application-development