[gst-devel] Position info when doing time stretch

Michael Smith msmith at xiph.org
Wed Sep 8 04:56:36 CEST 2010


This works the way you want it to if you speed up/slow down playback
using the seek API.

You're instead using the pitch element, which doesn't do that.

Since you're controlling the playback speed, you could track the
corrections yourself.

Mike


On Tue, Sep 7, 2010 at 7:50 PM, Gabriel M. Beddingfield
<gabrbedd at gmail.com> 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.
>
> 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