Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48979 - gstreamer-based players won't play certain mp3s
Summary: gstreamer-based players won't play certain mp3s
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Low minor
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-25 15:51 UTC by BC
Modified: 2004-05-18 09:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BC 2004-04-25 15:51:06 UTC
as of this writing i'm using:

gstreamer & gst-plugins versions 0.8.1
rhythmbox 0.8.1
muine 0.5.3 (from breakmygentoo)

When using these players with the gstreamer backend I hear mostly silence and garbled noise when playing a large number (about a quarter) of my mp3s.  The majority of my mp3s play fine however.  All my mp3s play without error in other music players like xmms.

If I recompile these players to use the xine backend instead of gstreamer, all is well.  However, the latest rhythmbox ebuild no longer supports xine.  I've had this problem since the 0.6.x versions of gstreamer and rhythmbox as well.  Back then rhythmbox wouldn't play those files at all, it would just skip over them to the next song.  I can attach one of the suspect mp3s if needed.

Note that I have also tried to compiled gstreamer, gst-plugins-{alsa, mad, etc}, and rhythmbox with CFLAGS="-march=i686" even though my current emerge info says otherwise.  The problem remains however.

Reproducible: Always
Steps to Reproduce:
1. Play certain songs in rhythmbox with gstreamer backend
2.
3.

Actual Results:  
some silence and some garbled sounds

Expected Results:  
play my music correctly

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.mirrors.pair.com/
ftp://raven.cslab.vt.edu/pub/linux/gentoo/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-gnome /usr/local/bmg-main"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb cdr crypt cups encode esd fam flac foomaticdb
gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imlib jpeg libg++ libwww mad
mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl pam pdflib perl png
ppds python quicktime readline sdl slang ssl svga tcltk tcpd truetype x86 xml2
xmms xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-04-26 09:03:42 UTC
mmm don't tell me you use bmg, makes me distrust anything you say really.

Try playing those problematic mp3's directly from the commandline :

gst-launch-ext-0.8 <mp3name>

or

gst-launch-0.8 filesrc location="<mp3>" ! mad ! audioconvert ! osssink 

Comment 2 BC 2004-04-26 14:45:42 UTC
I hear nothing but garble when running those commands.

btw, the only bmg packages i have installed (according to emerge -eDpv world) are:
x11-themes/hicolor-icon-theme-0.4
media-libs/xine-lib-20040418
media-video/totem-0.99.11
app-office/abiword-2.1.1
gnome-base/gdm-2.6.0.0
gnome-extra/gal-2.1.8
net-libs/libsoup-2.1.9
gnome-extra/libgtkhtml-3.1.12
x11-libs/gtk-sharp-0.18_p1
media-sound/muine-0.5.3
dev-libs/libsigc++-2.0.0

I don't see how any of these packages would break gstreamer, but then again I could be wrong.  Wouldn't be the first time.  I hope my problem isn't beyond help...
Comment 3 BC 2004-05-05 12:53:49 UTC
here's one of the songs gstreamer won't play:

http://filebox.vt.edu/users/bcamba/test.mp3
Comment 4 foser (RETIRED) gentoo-dev 2004-05-05 14:28:54 UTC
it seems this file has bad CRC info. Try playing it like this :

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

It's not so nice of the plugin to output garbage,  but this really is the file at fault.
Comment 5 BC 2004-05-05 15:47:02 UTC
It plays fine with that last command.  Odd that about 25% of my mp3s seem to have bad CRCs.  Although a large portion of my mp3s come from some not so honorable sources, the test file I posted I know I ripped myself.  That songs about 4 or 5 years old so I have no idea what I used to rip it with.

Regardless, every other audio player handles my mp3s without a problem and gstreamer should too.  I just checked the gnome bugzilla and searched for comments matching "crc" but nothing relevant turned up.  Should I maybe submit a bug over there?
Comment 6 BC 2004-05-16 14:17:01 UTC
I filed a bug over at gnome bugzilla, its now fixed in cvs:

http://bugzilla.gnome.org/show_bug.cgi?id=142566
Comment 7 foser (RETIRED) gentoo-dev 2004-05-18 09:35:32 UTC
hm right.. i wanted to look at it. They took the easy way out there, but i guess it solves the problem.