On Monday 11 April 2005 15:33, Fabien Meghazi wrote: > Hi all, > > I would like to play a video in a frame, the video could be mpeg, > ffmpeg, xvid, ... or even a DVD source. Some time ago I heard about > xine lib integration in KDE. I don't know if it was about a kpart > integration or only the choice to use xine lib for KDE multimedia > apps. Anyway I would like to know what is the best way to integrate a > video viewer into a PyKde application. Is it possible with PyKde or > should I use something like PyMedia ?
I can think of a couple of things to try: 1. qxembed - there's an example in PyKDE/examples 2. If there's a a KPart for xine or kaffeine or one of the other players, PyKDE supports importing KParts. 3. DCOP would possibly be a way to control a player (if it exposes a DCOP interface) 4. As I recall, xmms can be controlled just by issuing command lines (eg - via os.system()) - haven't checked to see if any other media apps have done anything like that. I'm not familiar with PyMedia. I don't recall anything in kdelibs to support multimedia. It's probably possible to do bindings for other libs if necessary (although it's probably not something I could get to personally in the near future; you can get help doing that on this list). Jim _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
