Time stretching

Sean McNamara smcnam at gmail.com
Fri May 11 12:31:09 PDT 2012


Hi,

On 5/11/12, Dave Mateer <dave_mateer at ntm.org> wrote:
> Anyone? Is there no such plugin?

The only plugin that I personally know of that does "time stretching"
is the GstSoundtouch plugin, the "pitch' element within that. But I
don't think it handles video at all.

If you're up for writing your own plugin, you might be able to sync up
the operations of GstSoundtouch with an element (does one exist?) for
video time shifting, by using your own reference clock within the
element to automatically drop frames/samples or whatever
underrun/overrun compensating mechanism you want to implement. At
least half of the work (the audio part) is done for you...

HTH,

Sean

>
> <bump />
>
> From: gstreamer-devel-bounces+dave_mateer=ntm.org at lists.freedesktop.org
> [mailto:gstreamer-devel-bounces+dave_mateer=ntm.org at lists.freedesktop.org]
> On Behalf Of Dave Mateer
> Sent: Wednesday, May 02, 2012 3:16 PM
> To: gstreamer-devel at lists.freedesktop.org
> Subject: Time stretching
>
> Can someone point out to me what plug-in I need to do a time stretch?
> (Change the playback rate without changing pitch.)
>
> Also, will this keep the clock synchronized across all media? That is, if
> the audio is playing back at 50% speed, then the associated video should
> also be played at half-speed.
>
> Thanks,
>
> Dave
>
>


More information about the gstreamer-devel mailing list