I've seen this. And if memory serves, I think I deduced it was a gstreamer error. Or more specifically, a problem with gstreamer's support for the codec. Try using ogg thera, which seemed to work for me.
________________________________ From: Thomas PABST <[email protected]> To: [email protected] Sent: Tue, March 8, 2011 12:43:56 PM Subject: [Qt-mobility-feedback] QML Video Element Hi, I currently trying to play video with the QML Video Element from QtMultimediaKit 1.1. I use and try with Qt 4.7.1 with QtMobility 1.1.1 and Qt 4.7.1 with QtMobility 1.2_tp I used the example from http://doc.qt.nokia.com/qtmobility-1.1.0/qml-multimedia.html My Operating system is an Ubuntu 10.10 import QtQuick 1.0 > import QtMultimediaKit 1.1 > > Video { > id: video > width : 800 > height : 600 > source: "sintel-1024-stereo.mp4" > volume : 1.0 > MouseArea { > anchors.fill: parent > onClicked: { > console.log("hasVideo: " + video.hasVideo ) > console.log("source: " + video.source ) > video.play() > } > } > > focus: true > Keys.onSpacePressed: video.paused = !video.paused > Keys.onLeftPressed: video.position -= 5000 > Keys.onRightPressed: video.position += 5000 > } > gstreamer return the error below although the source is correct hasVideo: false source: file:///home/thomas/myVideo/sintel-1024-stereo.mp4 GStreamer; Unable to play - "" Error: "No URI set" Thanks ----------------------------------------------------- Thomas PABST [email protected]
_______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback
