[gst-devel] Seeking multifilesrc
Jorge
xxopxe at gmail.com
Thu Sep 25 17:37:01 CEST 2008
Hi.
Trying GST_FORMAT_DEFAULT i get the same behaviour
When querying position (hope it's ok posting python code):
pos = self.player.pipeline.query_position(gst.FORMAT_DEFAULT, None)[0]
gst.QueryError: query failed
When seeking: no errors, but nothing happens.
I can play and pause. Something i've found is that when you pause the
pipeline the multifilesrc's "index" property is valued as the current
frame. If i change its value and resume it starts playing from the new
value. I guess i could manipulate this value to advance frame by frame,
but then i should have to feed a single frame by playing and pausing
inmediately... It would be much uglier that proper seek.
Jorge
On Wed, 2008-09-24 at 14:52 +0300, Stefan Kost wrote:
> Jorge schrieb:
> > Hi to all.
> >
> > I'm trying to write a stop-motion creation app, in the vein of
> > http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/index.php
> > but using python, gtk, and well, gstreamer. It's my first using all
> > three technologies, tough :p
> > What i'm stump on is on how step frame by frame forward and backwards in
> > a video loaded trough multifilesrc. I was trying to seek using
> > gst.FORMAT_BUFFERS as to move one frame at a time, but it doesn't work.
> > When i attempt a query_position on the pipeline, i get a "query failed".
> >
> Can you try |GST_FORMAT_DEFAULT?
More information about the gstreamer-devel
mailing list