[gst-devel] Seeking multifilesrc

Stefan Kost ensonic at hora-obscura.de
Mon Oct 6 10:42:41 CEST 2008


Jorge schrieb:
> 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
>   
Please file a bug and attach the sample code. Looks like a bug in
multifilesrc.

Stefan


>
>
> 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?
>>     
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list