GNOME Bugzilla – Bug 156467
[speed] element speed0 performs a yield, please fix element
Last modified: 2005-06-30 15:31:06 UTC
Distro: Ubuntu Warty Gstreamer version: 0.8.7 Gstreamer plugins version: 0.8.5 I'm investigating the creation of a very simple gstreamer-based music player (ogg/mp3/CD), with one special feature: the ability to slow down the playback easily. Such an app would be a huge help for my students. When I launch the following pipeline: gst-launch-0.8 filesrc location=test.mp3 ! mad ! audioconvert ! speed speed=2.0 ! osssink I get some stuttering sound output, plus the following error message repeated: ** (process:5027): WARNING **: element speed0 performs a yield, please fix the element Am I doing something wrong? Does the element need a fix?
The element needs a fix (if that wasn't clear yet).
With the following pipelines, I get correctly slowed down ogg vorbis and flac files respectively (plus the same warnings mentioned above): gst-launch-0.8 filesrc location=music.mp3 ! mad ! speed speed=0.6 ! vorbisenc ! filesink location=slowmusic.ogg gst-launch-0.8 filesrc location=music.mp3 ! mad ! speed speed=0.6 ! flacenc ! filesink location=slowmusic.flac But when I try to do something similar with wavenc, the pipeline fails to start: gst-launch-0.8 filesrc location=music.mp3 ! mad ! speed speed=0.6 ! wavenc ! filesink location=slowmusic.wav The same pipeline without the speed element does work: gst-launch-0.8 filesrc location=music.mp3 ! mad ! wavenc ! filesink location=slowmusic.wav The following bug may be somewhat related: http://bugzilla.gnome.org/show_bug.cgi?id=135779 I'm not at all sure if with this comment I'm saving you valuable time or just taking it. I hope it's the former. I really want to see gstreamer succeed.
This is fixed in CVS now. Cheers -Tim