Gstreamer 1.0 python bindings, how to implement a proper seek event

Peter Rennert p.rennert at cs.ucl.ac.uk
Thu Feb 28 12:25:03 PST 2013


Hi,

I am starting to test Gstreamer 1.0 with its Python bindings. I simply 
want to increase the playback speed of the video. In gstreamer 0.10 it 
worked like this.

        self.pbRate += 3
         self.pipeline.send_event(gst.event_new_seek(self.pbRate, 
gst.FORMAT_TIME,
             (gst.SEEK_FLAG_SKIP), gst.SEEK_TYPE_NONE, 0,
             gst.SEEK_TYPE_NONE, 0))

What would be the equivalent for gstreamer 1.0 and python? Is there some 
documentation about the bindings somewhere?


Thanks in advance,

Peter


More information about the gstreamer-devel mailing list