GNOME Bugzilla – Bug 329917
some files are played choppy and distorted
Last modified: 2006-02-11 11:53:34 UTC
I have serious problem with some music files. They sound distorted when played and sound is choppy. It's a long standing bug (from 0.8), but upgrading to 0.10 didn't fix it. I've tried: gst-launch-0.8 filesrc location="fla22k_04_intro.ogg" ! oggdemux ! vorbisdec ! audioconvert ! alsasink then gst-launch-0.10 [...] and playing with QuodLibet, which uses playbin element. On the other hand, mplayer or ogg123 play all files fine. The only thing common to failing files (.ogg, .mp3 and .mod) seems to be sampling rate. All of them are 22050 Hz. Therefore I suspect some bad interaction with ALSA built-in resampler. My soundcard is some integrated nForce2 soundchip, controled by snd_intel8x0 and snd_ac97_codec modules. System is Slackware -current.
Created attachment 58711 [details] example failing file
There were are a few bugs in 0.8 that could have caused these problems (alsasink bugs and audioscale bugs), which should be fixed in 0.8 CVS now (0.8.12 release coming up soon). As for 0.10, I can't hear any difference between what ogg123, mplayer and gst-launch-0.10 playbin=file:///path/to/foo.ogg output here on my box.
I will test 0.8.12 when it will be available. On some computers this file does play fine, on others does not. I can try to record output to .wav :)
gst-plugins 0.8.12 came out today.
Now it doesn't work at all: % gst-launch-0.8 filesrc location="fla22k_04_intro.ogg" ! oggdemux ! vorbisdec ! audioconvert ! alsasink RUNNING pipeline ... ERROR: from element /pipeline0/vorbisdec0: Internal GStreamer error: pad problem. File a bug. Additional debug info: gstpad.c(2562): gst_pad_set_explicit_caps: /pipeline0/vorbisdec0: failed to negotiate (try_set_caps with "audio/x-raw-float, rate=(int)22050, channels=(int)2, endianness=(int)1234, width=(int)32, buffer-frames=(int)0" returned REFUSED) Execution ended after 15 iterations (sum 211314000 ns, average 14087600 ns, min 22000 ns, max 210124000 ns). It works when alsasink is replaced by osssink, but that's irrelevant, as osssink always played good quality and alsasink was bad.
Please try: % gst-launch-0.8 filesrc location="fla22k_04_intro.ogg" ! oggdemux ! vorbisdec ! audioconvert ! audioscale ! alsasink
It works without distorsions. Gst0.10 seems to play it fine too, but I upgraded it recently to 0.10.3 and plugins-base to 0.10.2. Thanks, this bug can be closed.
Great, thanks for confirming.