hi, you have to seek on the gstreamer element, not the VideoTexture. In your case:
self.playbin.seek(...) for more information about using gstreamer with python see http://pygstdocs.berlios.de/ so long :wq buz On Tue, Jul 29, 2008 at 01:32:14PM +0200, samuel buffet wrote: > Hi, > > My question (after spending hours on the web) is how can I have with > pyclutter (pycluttergst to be accurate) the equivalent of the > following C code => > > " clutter_media_set_position (CLUTTER_MEDIA(app->vtexture), pos);" (from > clutter-gst/examples/video-player.c) > > because I've found a lot of examples for a simple play back like : > > "self.video_texture = cluttergst.VideoTexture() > self.playbin = self.video_texture.get_playbin() > self.video_texture.set_uri(foo_uri) > self.video_texture.set_playing(True) > > etc " > > But I've found nothing to *seek/set_position* a file with the clutter > videotexture. > > Thanks for your help and for that impressive lib :) -- Who is General Protection Fault and why is he reading my hard disk? GnuPG Fingerprint: 2FFF FC48 C7DF 1EA0 00A0 FD53 8C35 FD2E 6908 7B82
signature.asc
Description: Digital signature
