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 142566 - Certain mp3s don't get played correctly
Certain mp3s don't get played correctly
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.1
Other Linux
: Normal normal
: 0.8.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-15 00:10 UTC by BC
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description BC 2004-05-15 00:10:57 UTC
About 25% of my mp3s don't get played correctly by gstreamer and rhythmbox.  All
I hear is high-pitched garble.  All other music players handle my mp3s without a
problem.  When I recompiled rhythmbox to use the xine backend everything worked
just fine.

The gst-launch and gst-launch-ext commands also yields a high-pitched noise. 
When I run gst-launch like this:

gst-launch filesrc location="song.mp3" ! mad ignore-crc=1 ! osssink

the mp3 plays correctly.  I don't know what a crc is, but this seems to be the
only way to get gstreamer to play about 200 of my mp3s.  Although a large
portion of my mp3s come from some not so honorable sources, some of these mp3s I
know I ripped myself.  However, some of these songs are pretty old so I have no
idea what I used to rip them with.  I submitted a bug report since other audio
players can play my music correctly.

BTW, if its any useful I also had this problem with 0.6.x versions of gstreamer
and rhythmbox.

Here's one of the mp3s in question:
http://filebox.vt.edu/users/bcamba/test.mp3
Comment 1 David Moore 2004-05-15 03:06:40 UTC
According to mp3check, available at http://jo.ath.cx/soft/mp3check/mp3check.html
your file indeed has bad CRCs.  They are all set to zero.  This is confirmed by
madplay, which comes with libmad.  It plays pure silence unless ignore-crc is set.

It seems that most other players out there ignore CRCs by default since some mp3
encoders don't seem to set the CRCs properly in the first place.  It might be a
good idea for gstreamer to default to ignore-crc=1.

Furthermore, it is a bug that gstreamer plays squealing for a file with bad
CRCs.  The correct behavior should be silence.  I suspect the mad plugin is
simply not handling the CRC error gracefully and instead loses sync in the file.
Comment 2 Ronald Bultje 2004-05-16 20:48:53 UTC
Did what David proposed, works in CVS now.