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 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Anyone? Is there no such plugin? <bump /> From: gstreamer-devel-bounces+dave_mateer=[hidden email] [mailto:gstreamer-devel-bounces+dave_mateer=[hidden email]] On Behalf Of Dave Mateer 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 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi,
On 5/11/12, Dave Mateer <[hidden email]> 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=[hidden email] > [mailto:gstreamer-devel-bounces+dave_mateer=[hidden email]] > On Behalf Of Dave Mateer > Sent: Wednesday, May 02, 2012 3:16 PM > To: [hidden email] > 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 > > gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Dave Mateer
You can use the scaletempo module to preserve the pitch of the audio
track. The video will be synchronized, since you will specify the whole pipeline playback rate with the first parameter of gst_event_new_seek. In other words, it is not the audio component that imposes its rate to the pipeline. Instead, the scaletempo element will adjust the pitch according to the playback rate of the pipeline. Olivier On Fri, 2012-05-11 at 15:10 -0400, Dave Mateer wrote: > Anyone? Is there no such plugin? > > > > <bump /> > > > > From: gstreamer-devel-bounces > +dave_mateer=[hidden email] > [mailto:gstreamer-devel-bounces > +dave_mateer=[hidden email]] On Behalf Of Dave Mateer > Sent: Wednesday, May 02, 2012 3:16 PM > To: [hidden email] > 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 > > > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |