Hi, On Sun, 3 Apr 2011 08:02:09 am ext Thomas Perl wrote: > Hi! > > If I'm trying to playback video on Maemo 5 (N900), the video never > starts playing. Here's a sample QML file that works fine on the > Desktop (using Qt 4.7.1 on Mac OS X with Qt Mobility 1.1.0) using QML > Viewer, but does not work on the N900 when started using the QML > Viewer (I've added the right import paths, and have Qt Mobility 1.2 > from Extras-Devel installed).
I tried to install libqtm-12-declarative and qt4-experimental-declarative-qmlviewer with all dependencies, qml video started to work after I make a symlink from /opt/qtm12/imports/QtMultimediaKit, so qt can find QtMultimediaKit qml plugin: ln -s /opt/qtm12/imports/QtMultimediaKit /opt/qt4-maemo5/imports/ I used /home/user/MyDocs/Nokia_N900.mp4 as a test video. OpenGL viewport doesn't work very well with video on N900, I found with OpenGL the color key is dithered, so video looks darker. This probably can be fixed with careful color key selection. Regards Dmytro. > > For this to work, you have to download the file from the URL in the > comment and place it in the same folder as the QML file. The file > itself isn't relevant, you could also use any other video file that > plays back fine on the Desktop, but doesn't play on the N900. > > ------ > import Qt 4.7 > import QtMultimediaKit 1.1 > > // http://video.ted.com/talk/podcast/2011/None/EricWhitacre_2011.mp4 > Video { > id: video > source: 'EricWhitacre_2011.mp4' > width: 800 > height: 480 > MouseArea { > anchors.fill: parent > onClicked: video.play() > } > } > ------ > > Any chance of getting this fixed for Maemo 5? My application depends > on video playback functionality using QML Video. The video file works > fine in the GStreamer-based stock media player included in the system. > > The QML Audio element is working fine on the N900, so it's some kind > of video problem. I'm also using an OpenGL viewport, but even > disabling the OpenGL viewport doesn't help, and the problem still > persists. > > Thanks, > Thomas > _______________________________________________ > Qt-mobility-feedback mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback > _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback
