'Scaletempo' and its "rate" property

Stefan Kost ensonic at hora-obscura.de
Thu Jul 7 10:32:31 PDT 2011


On 06/29/11 19:26, Victor henri wrote:
> Well
>
> I just had to use the "tempo" property of the 'pitch' element; there
> is no need to combine it with 'g_seek_event'; the "pitch" element can
> do it alone
> By the way, the 'pitch' element seems to not be documented anywhere; I
> discovered the existence of its "tempo" property by looking at the
> code of another app using it (called PlayitSlowly)
gst-inspect does show the properties. There are indeed no docblobs for
the both soundtouch elements. As you have figured the usage already, it
would be great if you would send a patch adding the docblobs to the top
of the *.cc files. I can help with the rest of the doc-integration.

Stefan

>
> However, this doesn't explain why 'scaletempo' provides such an error
> message (even in the demo app from Gstreamer doc)...
>
> Victor
>
> ------------------------------------------------------------------------
> From: nadaeck at hotmail.com
> To: gstreamer-devel at lists.freedesktop.org
> Subject: RE: 'Scaletempo' and it "rate" property
> Date: Tue, 28 Jun 2011 23:21:13 +0200
>
> Hello again
>
> On the other hand, when I compile the demo and run it, I almost always
> get the error messages :
>
>      GStreamer-CRITICAL **: gst_event_new_new_segment_full: assertion
> `start <= stop' failed
>
>      GStreamer-CRITICAL **: gst_pad_push_event: assertion `event !=
> NULL' failed
>
> This doesn't happen if I disable Scaletempo (through the checkbox)...
>
> Victor
>
>
> ------------------------------------------------------------------------
> From: nadaeck at hotmail.com
> To: gstreamer-devel at lists.freedesktop.org
> Subject: 'Scaletempo' and it "rate" property
> Date: Tue, 28 Jun 2011 18:44:32 +0200
>
> Hello to all
>
> Is there please a simple example oh how to use the 'scaletempo'
> element? I'm aware thata there is documentation at the 'bad-plugins'
> directory, but this is an example in four files and seems very
> complicated, when I just want to know how it works basically; the
> trick seems to be at the "rate" property that cannot be changed
> directly with 'g_object_set'
>
> I have made a simple 'equivalent' of scaletempo by combining 1) the
> change of speed in 'g_seek_event' and 2) the pitch element that
> changes in a proportional opposite way; it works.
>
> But I understand that the "overlap", "search" and "stride" are very
> interesting and allow to compensante for the 'loss of quality' due
> essentially to the slow down of the reading. My app implements those
> quite simply and the demo seems very confuse to me. Is there a simple
> 'skeleton' or basic demo about this?
>
> Thank you
>
> Victor
>
> _______________________________________________ gstreamer-devel
> mailing list gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________ gstreamer-devel
> mailing list gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110707/14d58ef6/attachment.htm>


More information about the gstreamer-devel mailing list