After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156467 - [speed] element speed0 performs a yield, please fix element
[speed] element speed0 performs a yield, please fix element
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.5
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-26 11:47 UTC by Mark Van den Borre
Modified: 2005-06-30 15:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mark Van den Borre 2004-10-26 11:47:57 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?
Comment 1 Ronald Bultje 2004-12-19 23:00:32 UTC
The element needs a fix (if that wasn't clear yet).
Comment 2 Mark Van den Borre 2004-12-30 17:55:45 UTC
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.
Comment 3 Tim-Philipp Müller 2005-02-10 15:10:02 UTC
This is fixed in CVS now.

Cheers
 -Tim