I have seen your code yesterday and good to know that it works (I believe you kept a note of heavy CPU usage). Will definitely try it sometime.
Currently, my need is to use python bindings of VLC, and if I can get the Texture's drawable id (xid), I can get productive. Can you tell me how I can get it ? You can point me to your code as well. Ethan. On Thu, Apr 2, 2009 at 2:04 AM, Arnaud VALLAT <[email protected]> wrote: > Hello, > > I have done a video output module for VLC and an implementation of > ClutterMedia so called clutter-vlc. It's in plain C, and it still > needs some work, but it already work. > > The video output module renders within a ClutterTexture, so you don't > need any window handle. It compiles outside the VLC source tree, you > just need VLC installed. > > http://github.com/rno/vlc-vout-clutter/ > http://github.com/rno/clutter-vlc/ > > Hopes it helps > > Rno > > On Wed, Apr 1, 2009 at 10:00 PM, Ethan Collins > <[email protected] <collins.ethans%[email protected]>> > wrote: > > I am very new to clutter, and intend to add some good graphics over a > video > > application. At first I need to create 2 Textures and play videos using > VLC > > on them. This is where I stumble: not able to contain the VLC window > within > > the Textures, but VLC is creating it's own external window. I am using > > python bindings. > > > > I could acheive this easily with gtk windows:creating DrawingAreas and > using > > 'set_visual' API (VLC's python bindings, effectively calling > > libvlc_media_player_set_drawable) with the window's handle as input. I am > > hoping something similar as window handle will be available for the > > Textures, but not able to find it. I am trying to go through the > clutter/gst > > code but guess require to spend a significant amount of time to > understand > > it. If someone can throw some light into this, it will be very nice. > > > > I believe if this can be done, then further control of the media VLC > plays > > becomes easy using VLC's python bindings. > > > > Ethan. > > > > > > > > -- > > "Given enough eyeballs, all bugs are shallow" > Eric Steven Raymond >
