[gst-devel] Smooth rewind with Gstreamer

Julien Moutte julien at moutte.net
Wed Apr 22 13:53:02 CEST 2009


You could make your decoder output keyframe only when the segment->rate
is lower than -1.0

Julien Moutte,
FLUENDO S.A.

Daniel James Laird wrote:
> Thanks for that,
> My second question is If I want key frame only rewind using qtdemux has anyone got that working?
> 
> I have tried gst_element_seek with a rate of -2.0 with a start point of the current stream location and an end point of 0
> 
> But this does not seem to work, any ideas?
> 
> Many thanks
> Daniel Laird
> 
> -----Original Message-----
> From: Julien Moutte [mailto:julien at moutte.net] 
> Sent: 2009 Apr 21 17:27
> To: Discussion of the development of GStreamer
> Subject: Re: [gst-devel] Smooth rewind with Gstreamer
> 
> 
> 
> Hi,
> 
> Are you sure your video decoder supports reverse playback scenario ?
> 
> It will receive frames in decoding order, it should queue them
> internally and push them in reverse order when it receives an incoming
> buffer with the DISCONT flag.
> 
> Please also make sure you have a big queue behind the video decoder so
> that it can take some advance compared to the rendering element.
> 
> Julien Moutte,
> FLUENDO S.A.
> 
> Daniel James Laird wrote:
>> All,
>>
>> I am trying to get trickmodes working on my Gstreamer pipeline.
>>
>> I can use gst_element_seek and get FF working i.e I can set rate to 1,2,4,8 etc and my MP4 file plays in FF.
>> However when I put a negative number I do not get smooth RW behaviour from the qtdemux.  
>> It seems reverse playback is supported by the component.  
>>
>> Does anyone have this working and if so am I missing any steps out?  ANy help much appreciated.
>> I can seek to a specific point and can seek to a point relative to my current position but just cant get rewind to work.
>>
>> Hope you can help
>>
>> With regards,
>> Daniel Laird
>>
>>
>> ------------------------------------------------------------------------------
>> Stay on top of everything new and different, both inside and 
>> around Java (TM) technology - register by April 22, and save
>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> 300 plus technical and hands-on sessions. Register today. 
>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> 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