'Scaletempo' and its "rate" property

Victor henri nadaeck at hotmail.com
Wed Jun 29 19:26:37 PDT 2011


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)

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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110630/f88603a9/attachment.html>


More information about the gstreamer-devel mailing list