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

Reply via email to