Dne 10.2.2011 9:20, Thomas Perl napsal(a):
Hi Vláďa,

2011/2/9 Vláďa<vlad...@atlas.cz>:
My application is a music player. It uses MPlayer as playback backend and
has a QML UI. Python is responsible for managing library, controlling
MPlayer and the communication between backend and frontend.
Depending on your needs, the Qt Mobility 1.1+ "Audio" and "Video"
elements might be something to look at. It's pretty easy to get
working, and you don't have to deal with parsing MPlayer output. Of
course, depending on your needs, MPlayer might be more suitable.

Check out the documentation:

http://doc.qt.nokia.com/qtmobility-1.2/qml-multimedia.html

Up to date packages of Qt Mobility can be found in the Forum Nokia PPA
if you are using Ubuntu:

https://launchpad.net/~forumnokia/+archive/fn-ppa

On Maemo 5, the Mobility QML package can be found in Extras-Devel:

http://maemo.org/packages/view/libqtm-12-declarative/

In order to use the new libraries in QML on Maemo 5, you need to add a
folder in /opt to your QML import path. That's described on that wiki
page in the section "Using the libraries from QML":

http://wiki.forum.nokia.com/index.php/Latest_Qt_and_Qt_mobility_evaluation_on_Maemo

If you want to go that route, and have problems, let me know, and I'll
try to help out (I'm using both Audio and Video in a PySide project of
mine, and it works very good - the Video element is just like any
other QML component).

HTH.
Thomas
Hi Thomas,

I would be very grateful if you could help me with the switch to Qt Mobility. But I write the player primary for my Windows MID (Viliv S5), so I need it to work on Windows. I plan to switch to Linux (preferably MeeGo) if it'll be ever available for this device, but currently Windows is the only working choice.

MPlayer has many limitations and I use it as currently working solution before I find something better. I tried to compile Qt Mobility on Windows but it failed because of DirectShow. Or should I rather say ti compiled, but without DirectShow support so it won't play anything. I found out I'm not the only one with this failure, but I couldn't find any solution. So I decided to wait until v1.2 and maybe there will be a Windows binary package.

I also develop on Ubuntu, so I might try it there. But in the end I need to make it work on Windows. If you have any information regarding Qt Mobility on Windows I would be very interested in hearing them. Also it would be nice if I could use a different playback backend then DirectShow, preferably VLC.

Thank you,
Vladimir
_______________________________________________
PySide mailing list
PySide@lists.openbossa.org
http://lists.openbossa.org/listinfo/pyside

Reply via email to