MP3 Playback in YDL4
Henry A. Leinhos
henry at leinhos.com
Sun Jan 30 05:24:47 MST 2005
Hi List,
There have been a few suggestions regarding the broken mp3 support in
YDL4 (as well as Fedora Core 2). While searching some fedora lists I
found a few references to two rpm packages to put the mp3 back in
Rhythmbox as well as xmms.
(a side note: after looking in the spec file for gstreamer-plugins, I
was amazed at the effort made by the Fedora people to rip this stuff out
of the code! It was one of the most involved spec files I've seen in a
while.)
================
Fixing mp3 playback in YDL4 in 3 easy steps
---------------------------
1. Rhythmbox
---------
(build/install gstreamer-plugins-mp3)
make sure you have the following packages:
glib2-devel
gstreamer-devel
libmad-devel
libid3tag-devel
lame-devel
get the source rpm with:
wget
http://rpm.livna.org/fedora/2/i386/SRPMS.stable/gstreamer-plugins-mp3-0.8.2-0.lvn.1.2.src.rpm
then rebuild the package (as root):
rpmbuild --rebuild gstreamer-plugins-mp3-0.8.2-0.lvn.1.2.src.rpm
and finally install (as root):
rpm -Uvh
/usr/src/yellowdog/RPMS/ppc/gstreamer-plugins-mp3-0.8.2-0.lvn.1.2.ppc.rpm
--------------
2. XMMS
(build/install xmms-mp3)
make sure the following packages are installed
gtk+-devel
glib-devel
xmms-devel
get the source rpm:
wget
http://rpm.livna.org/fedora/2/i386/SRPMS.stable/xmms-mp3-1.2.10-0.lvn.2.2.src.rpm
rebuild the package (as root):
rpmbuild --rebuild xmms-mp3-1.2.10-0.lvn.2.2.src.rpm
then install (as root):
rpm -Uvh /usr/src/yellowdog/RPMS/ppc/xmms-mp3-1.2.10-0.lvn.2.2.ppc.rpm
-------------
3. Fix /etc/modprobe.conf:
change:
alias snd-card-0 dmasound_pmac
install dmasound_pmac /sbin/modprobe --ignore-install dmasound_pmac &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove dmasound_pmac { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/m
to:
alias snd-card-0 snd-powermac
install snd-powermac /sbin/modprobe --ignore-install snd-powermac &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-powermac { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-powermac
in order to reload the sound drivers, you'll have to log out of
GNOME/KDE, switch to another virtural terminal, ctrl-alt-F1, and remove
the old sound modules:
/sbin/rmmod dmasound_pmac
/sbin/rmmod dmasound_core
The next time you log in the proper modules should load.
YMMV
More information about the yellowdog-general
mailing list