[gst-devel] Position info when doing time stretch

Wim Taymans wim.taymans at gmail.com
Wed Sep 8 09:29:10 CEST 2010


On Tue, 2010-09-07 at 21:50 -0500, Gabriel M. Beddingfield wrote:
> Hello,
> 
> On Sunday, September 05, 2010 08:59:47 pm Gabriel M. Beddingfield wrote:
> > 
> > I'm doing time stretching app, and want the UI to show 
> > position/length info in terms of the original media.  
> > However, gst_element_query_position() and _duration() always 
> > gives me playback times relative to the wall clock.  This 
> > time is affected by the playback speed.
> > 
> > Does anyone know a way to handle this?[1]
> 
> Anyone?  :-)
> 
> Just curious.... is my question hard to understand?  Or is it a hard question to answer?  Or... other?
> 
> I don't really want to give up on gstreamer... but this looks like a dead end.

The element probably doesn't adjust the applied_rate in the segment
events. This can be fixed if you file a bug.

Wim

> 
> Thanks,
> Gabriel
> 
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
> 
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> 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