On Tue, 2010-02-16 at 12:34 +0000, Matej Kupljen wrote:
> Damien,
>
> > It's not possible to use xvimagesink with Clutter directly. You could
> > try to use Xv + GLX_EXT_texture_from_pixmap (through, for instance,
> > clutter_glx_texture_pixmap_new_with_pixmap ()).
>
> I used GIT version of clutter, clutter-gst, pyclutter and pyclutter-gst and
> modified the code, to use a
>
> self.player_wnd = clutter.glx.TexturePixmap()
>
> and passed the window to cluttergst.VideoSink(self.player_wnd),
> but the performance stayed the same.
>
> Did you mean something else, or I am doing it wrong?
Yes, I mean something else, something that you can't do with the current
API. You'll need to change the whole logic of the sink/VideoTexture to
use:
1/ Xv (possibly through xvimagesink) to render into a Pixmap
2/ create a new GL texture from that Pixmap using TFP
Note that this is a workaround that tries to leverage Xv while
clutter-gst tries to remain decoupled from X and uses OpenGL.
--
Damien
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.