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 329917 - some files are played choppy and distorted
some files are played choppy and distorted
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: dont know
0.10.2
Other Linux
: Normal major
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-04 19:23 UTC by Tomasz Torcz
Modified: 2006-02-11 11:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example failing file (193.05 KB, application/ogg)
2006-02-04 19:24 UTC, Tomasz Torcz
Details

Description Tomasz Torcz 2006-02-04 19:23:14 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.
Comment 1 Tomasz Torcz 2006-02-04 19:24:04 UTC
Created attachment 58711 [details]
example failing file
Comment 2 Tim-Philipp Müller 2006-02-04 21:00:35 UTC
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.

Comment 3 Tomasz Torcz 2006-02-04 21:17:22 UTC
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 :)
Comment 4 Jan Schmidt 2006-02-09 23:30:52 UTC
gst-plugins 0.8.12 came out today.
Comment 5 Tomasz Torcz 2006-02-10 22:17:35 UTC
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. 
Comment 6 Tim-Philipp Müller 2006-02-10 23:04:19 UTC
Please try:

% gst-launch-0.8 filesrc location="fla22k_04_intro.ogg" ! oggdemux ! vorbisdec
! audioconvert ! audioscale ! alsasink
Comment 7 Tomasz Torcz 2006-02-11 00:22:08 UTC
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.
Comment 8 Tim-Philipp Müller 2006-02-11 11:53:34 UTC
Great, thanks for confirming.