PDA

View Full Version : Rhythmbox mp3 Support


mad_pheonix
2005-04-18, 05:07 PM CDT
Howdy all...

So, after installing FC4 T1 I put the livna repos in my yum.conf file and ran yum install gstreamer-plugins-mp3. Install finished cleanly. Ran gst-register-0.8 as root, and then again in my user account for good measure. Here's the output:

[btimm@localhost ~]$ gst-register-0.8
Trying to load global_registry ...
Added plugin cdparanoia with 1 feature.
Added plugin dvdlpcmdec with 1 feature.
Added plugin overlay with 1 feature.
Added plugin udp with 2 features.
Added plugin png with 2 features.
Added plugin auparse with 1 feature.
Added plugin gstbasicgthreadscheduler with 1 feature.
Added plugin speed with 1 feature.
Added plugin gstaudiofilter with 0 features.
Added plugin filter with 3 features.
Added plugin gsttags with 1 feature.
Added plugin ac3parse with 1 feature.
Added plugin videodrop with 1 feature.
Added plugin alpha with 1 feature.
Added plugin gstoptscheduler with 1 feature.
Added plugin gstoptgthreadscheduler with 1 feature.
Added plugin monoscope with 1 feature.
Added plugin gconfelements with 2 features.
Added plugin rtjpeg with 2 features.
Added plugin y4menc with 1 feature.
Added plugin gdkpixbuf with 2 features.
Added plugin trm with 1 feature.
Added plugin audiorate with 1 feature.
Added plugin chart with 1 feature.
Added plugin textoverlay with 1 feature.
Added plugin xwindowlistener with 0 features.
Added plugin debug with 5 features.
Added plugin gstfairgthreadscheduler with 1 feature.
Added plugin theora with 2 features.
Added plugin switch with 1 feature.
Added plugin typefindfunctions with 66 features.
Added plugin cdplayer with 1 feature.
Added plugin videomixer with 1 feature.
Added plugin vbidec with 1 feature.
Added plugin festival with 1 feature.
Added plugin multipart with 2 features.
Added plugin tta with 2 features.
Added plugin gstspider with 2 features.
Added plugin gstentrygthreadscheduler with 1 feature.
Added plugin deinterlace with 1 feature.
Added plugin artsdsink with 1 feature.
Added plugin spectrum with 1 feature.
Added plugin videocrop with 1 feature.
Added plugin decodebin with 1 feature.
Added plugin median with 1 feature.
Added plugin playondemand with 1 feature.
Added plugin videorate with 1 feature.
Added plugin lame with 1 feature.
Added plugin gstgetbits with 0 features.
Added plugin videotestsrc with 1 feature.
Added plugin smpte with 1 feature.
Added plugin gstdataprotocol with 0 features.
Added plugin playbin with 1 feature.
Added plugin jpeg with 5 features.
Added plugin mulaw with 2 features.
Added plugin sine with 1 feature.
Added plugin rfbsrc with 1 feature.
Added plugin gstvideo with 0 features.
Added plugin gstaudio with 0 features.
Added plugin gstindexers with 2 features.
Added plugin interleave with 2 features.
Added plugin gstidct with 0 features.
Added plugin autodetect with 2 features.
Added plugin sdlvideosink with 1 feature.
Added plugin ximagesink with 1 feature.
Added plugin rtp with 4 features.
Added plugin gstbytestream with 0 features.
Added plugin efence with 1 feature.
Added plugin gstentryomegascheduler with 1 feature.
Added plugin tcp with 7 features.
Added plugin stereo with 1 feature.
Added plugin gnomevfs with 2 features.
Added plugin synaesthesia with 1 feature.
Added plugin colorspace with 1 feature.
Added plugin volenv with 1 feature.
Added plugin dvdec with 1 feature.
Added plugin alsa with 3 features.
Added plugin cutter with 1 feature.
Added plugin vcdsrc with 1 feature.
Added plugin alphacolor with 1 feature.
Added plugin gstresample with 0 features.
Added plugin videobox with 1 feature.
Added plugin gstbasicomegascheduler with 1 feature.
Added plugin gst_arts with 1 feature.
Added plugin gstoptomegascheduler with 1 feature.
Added plugin level with 1 feature.
Added plugin passthrough with 1 feature.
Added plugin video4linux with 5 features.
Added plugin subparse with 1 feature.
Added plugin silence with 1 feature.
Added plugin qtdemux with 1 feature.
Added plugin gstelements with 15 features.
Added plugin goom with 1 feature.
Added plugin volume with 1 feature.
Added plugin gstmultifilesink with 1 feature.
Added plugin gstvideofilter with 0 features.
Added plugin gst1394 with 1 feature.
Added plugin snapshot with 1 feature.
Added plugin videobalance with 1 feature.
Added plugin qcamsrc with 1 feature.
Added plugin glimagesink with 1 feature.
Added plugin videoscale with 1 feature.
Added plugin smooth with 1 feature.
Added plugin ffmpegcolorspace with 1 feature.
Added plugin wavenc with 1 feature.
Added plugin alaw with 2 features.
Added plugin gstequalizer with 1 feature.
Added plugin effectv with 8 features.
Added plugin mad with 4 features.
Added plugin adder with 1 feature.
Added plugin videoflip with 1 feature.
Added plugin ossaudio with 3 features.
Added plugin gstaudioconvert with 2 features.
Added plugin audioscale with 1 feature.
Added plugin vorbis with 4 features.
Added plugin games with 1 feature.
Added plugin xvimagesink with 1 feature.
Added plugin gstaf with 3 features.
Added plugin esdsink with 2 features.
Added plugin speex with 2 features.
Added plugin flxdec with 1 feature.
Added plugin navigationtest with 1 feature.
Added plugin smoothwave with 1 feature.
Added plugin rmdemux with 1 feature.
Added plugin modplug with 1 feature.
Added plugin apetag with 1 feature.
Added plugin riff with 0 features.
Added plugin ffmpeg with 197 features.
Added plugin flac with 3 features.
Added plugin gamma with 1 feature.
Added plugin wavparse with 1 feature.
Added plugin mixmatrix with 1 feature.
Added plugin avi with 2 features.
Added plugin mng with 2 features.
Added plugin timeoverlay with 1 feature.
Added plugin asf with 2 features.
Added plugin ogg with 5 features.
Added plugin cdxaparse with 2 features.
Added plugin matroska with 2 features.
Rebuilding user_registry (/home/btimm/.gstreamer-0.8/registry-i386.xml) ...
Loaded 139 plugins with 474 features.

Yet when I go into rhythmbox and try to import my music folder, it all remains greyed out. Also, I cannot drag n' drop mp3's from nautilus into rhythmbox. I'm stumped. It seems to me that I've followed all the steps in the Fedora FAQ. Anybody have a solution to this?

imdeemvp
2005-04-19, 01:04 AM CDT
did you reboot?

mad_pheonix
2005-04-19, 01:07 AM CDT
Yes, I rebooted. No difference. All the mp3's are still greyed out, and i still can't drag n' drop.

imdeemvp
2005-04-19, 01:21 AM CDT
Weird....may be you need to do a bug report.

cybrjackle
2005-04-19, 08:05 AM CDT
The problem is you are running a test release and trying to use rpms build against a different tool chain. It is not recommended to use other repo's with a test release because of the "tool chain" factor. If you must use "other" rpms it would be best to grab the src.rpms and try to rebuild them, keeping in mind that you are going to run into gcc4 problems. You can always install the compat-gcc32 and use CC=gcc32 to rebuild.

reboot? This isn't windows, 98% of reboots are because of new kernels ;-)

imdeemvp
2005-04-19, 12:00 PM CDT
reboot? This isn't windows, 98% of reboots are because of new kernels ;-)
Dont mean to start something here but sometimes it requires a reboot for stuff to work. i.e nvidia sound and video drivers....

BTW... I also suspected that the problem occurred due to the test version in use.

cybrjackle
2005-04-19, 12:44 PM CDT
:)

I've never had a problem with video or sound, you can restart "services" without bringing the whole box down, again, this is linux and not windows :P

mad_pheonix
2005-04-23, 02:33 PM CDT
I've been rebuilding rpms for mplayer now and most of them have gone flawlessly with gcc 4. However, one library in particular, faad2, refuses to rebuild using gcc 4. You mentioned that by installing gcc-compat-32 I could rebuild it using the old version of gcc, but first I have a couple of questions....

1. Will my system b0rk if, say, all the libraries that mplayer depends on are built by gcc4, except for one built by gcc 3.2?
2. How do I actually pass the CC option? I've read the rpmbuild man page and it doesn't seem to say anything about that option, unless I'm mistaken and you were talking about passing it to configure when isntalling from source.

--Thanks

cybrjackle
2005-04-23, 09:28 PM CDT
1. probably not

2. use something like

i686

CC=gcc32 rpmbuild --define "optflags %{__global_cflags} -m32 -mcpu=i686 -march=i686 -fasynchronous-unwind-tables" --ba <what.spec>


x86_64

CC=gcc32 rpmbuild --define "optflags %{__global_cflags} -m64 -mcpu=x86_64 -march=x86_64 -fasynchronous-unwind-tables" --ba <what.spec>


That is what I've been using and most things build without a problem.

mad_pheonix
2005-04-24, 01:34 PM CDT
Well, I rebuilt gstreamer-plugins-mp3 as well as all of it's dependencies. I ran gst-register-0.8. Still no luck. Any mp3 entries in the rhythmbox file browser are still greyed out. Is there anything else I can try? Or is it bug report time?

mad_pheonix
2005-04-24, 11:12 PM CDT
Alright, so I re-installed Rhythmbox and all it's deps from scratch, including a very annoying faad2 bug which I wound up patching. Compiled Rhythmbox to use xine-lib this time, and everything is working, EXCEPT that all the mp3's are still greyed out in the file selector. I can select the files, they're just greyed out. Files play perfectly though. Bug report time?

cybrjackle
2005-04-25, 07:06 AM CDT
Alright, so I re-installed Rhythmbox and all it's deps from scratch, including a very annoying faad2 bug which I wound up patching. Compiled Rhythmbox to use xine-lib this time, and everything is working, EXCEPT that all the mp3's are still greyed out in the file selector. I can select the files, they're just greyed out. Files play perfectly though. Bug report time?

Not sure who you would send the bug report to though, not rh/fedora because they don't support mp3 and you rebuilt the rpm to put in "non-standard" software :D

RIgnazio
2005-06-16, 07:22 PM CDT
Nope. your problem:

[btimm@localhost ~]$ gst-register-0.8
Run this as root!

su -
<password>

Run gst-register-0.8 now, and then launch rhythmbox. mp3 works PERFECTLY!

Hope I helped.

_The Almighty Roger

BanjoTEKE
2005-06-17, 07:10 AM CDT
OK, so I run as root:

su
password then type: gst-register-0.8

I did that and showed a huge list flying down the screen.. then finished... BUT nothing changed in RhythmBox... Should I reboot or something?

imdeemvp
2005-06-17, 12:33 PM CDT
OK, so I run as root:

su
password then type: gst-register-0.8

I did that and showed a huge list flying down the screen.. then finished... BUT nothing changed in RhythmBox... Should I reboot or something?
The folder that contains the mp3, was it use in windows media player? if so check for album covers that window media player downloads as albums info to display while playing. When I had in mp3 folder rythmbox would not work at all.

RIgnazio
2005-06-18, 06:31 PM CDT
OK, so I run as root:

su
password then type: gst-register-0.8

I did that and showed a huge list flying down the screen.. then finished... BUT nothing changed in RhythmBox... Should I reboot or something?

First of all, this is Linux, so rebooting is rarely necesary, except for kernel updates, NVidia, etc.

The huge list is normal: this is what you should have gotten:
[root@r3desktop ~]# gst-register-0.8
Rebuilding global_registry (/var/cache/gstreamer-0.8/registry-i386.xml) ...
Added plugin vcdsrc with 1 feature.
Added plugin png with 2 features.
Added plugin gst_arts with 1 feature.
Added plugin gstgetbits with 0 features.
Added plugin udp with 2 features.
Added plugin speed with 1 feature.
Added plugin playondemand with 1 feature.
Added plugin cdparanoia with 1 feature.
Added plugin gstresample with 0 features.
Added plugin rtjpeg with 2 features.
Added plugin alphacolor with 1 feature.
Added plugin gstaudiofilter with 0 features.
Added plugin gstindexers with 2 features.
Added plugin spectrum with 1 feature.
Added plugin ac3parse with 1 feature.
Added plugin volume with 1 feature.
Added plugin audiorate with 1 feature.
Added plugin chart with 1 feature.
Added plugin gconfelements with 2 features.
Added plugin videocrop with 1 feature.
Added plugin gstoptscheduler with 1 feature.
Added plugin passthrough with 1 feature.
Added plugin video4linux2 with 2 features.
Added plugin overlay with 1 feature.
Added plugin volenv with 1 feature.
Added plugin videobox with 1 feature.
Added plugin artsdsink with 1 feature.
Added plugin interleave with 2 features.
Added plugin switch with 1 feature.
Added plugin gsttags with 1 feature.
Added plugin gstbasicgthreadscheduler with 1 feature.
Added plugin gstdataprotocol with 0 features.
Added plugin xwindowlistener with 0 features.
Added plugin gstoptgthreadscheduler with 1 feature.
Added plugin silence with 1 feature.
Added plugin gstelements with 15 features.
Added plugin alpha with 1 feature.
Added plugin rfbsrc with 1 feature.
Added plugin deinterlace with 1 feature.
Added plugin gstspider with 2 features.
Added plugin ffmpegcolorspace with 1 feature.
Added plugin audioscale with 1 feature.
Added plugin videorate with 1 feature.
Added plugin vbidec with 1 feature.
Added plugin efence with 1 feature.
Added plugin textoverlay with 1 feature.
Added plugin theora with 2 features.
Added plugin gstoptomegascheduler with 1 feature.
Added plugin gstbasicomegascheduler with 1 feature.
Added plugin debug with 5 features.
Added plugin autodetect with 2 features.
Added plugin tta with 2 features.
Added plugin gnomevfs with 2 features.
Added plugin auparse with 1 feature.
Added plugin videoscale with 1 feature.
Added plugin gstvideo with 0 features.
Added plugin gstaudio with 0 features.
Added plugin gst1394 with 1 feature.
Added plugin colorspace with 1 feature.
Added plugin videodrop with 1 feature.
Added plugin monoscope with 1 feature.
Added plugin typefindfunctions with 66 features.
Added plugin alaw with 2 features.
Added plugin dvdlpcmdec with 1 feature.
Added plugin smpte with 1 feature.
Added plugin gstvideofilter with 0 features.
Added plugin cdplayer with 1 feature.
Added plugin stereo with 1 feature.
Added plugin gstentryomegascheduler with 1 feature.
Added plugin trm with 1 feature.
Added plugin y4menc with 1 feature.
Added plugin rtp with 4 features.
Added plugin jpeg with 5 features.
Added plugin ximagesink with 1 feature.
Added plugin median with 1 feature.
Added plugin smooth with 1 feature.
Added plugin navigationtest with 1 feature.
Added plugin gstfairgthreadscheduler with 1 feature.
Added plugin level with 1 feature.
Added plugin gstbytestream with 0 features.
Added plugin mulaw with 2 features.
Added plugin subparse with 1 feature.
Added plugin videomixer with 1 feature.
Added plugin decodebin with 1 feature.
Added plugin videotestsrc with 1 feature.
Added plugin sine with 1 feature.
Added plugin wavenc with 1 feature.
Added plugin gstaudioconvert with 2 features.
Added plugin dvdec with 1 feature.
Added plugin gdkpixbuf with 2 features.
Added plugin cutter with 1 feature.
Added plugin gstequalizer with 1 feature.
Added plugin filter with 3 features.
Added plugin festival with 1 feature.
Added plugin tcp with 7 features.
Added plugin synaesthesia with 1 feature.
Added plugin qcamsrc with 1 feature.
Added plugin videobalance with 1 feature.
Added plugin snapshot with 1 feature.
Added plugin glimagesink with 1 feature.
Added plugin alsa with 3 features.
Added plugin gstidct with 0 features.
Added plugin gstmultifilesink with 1 feature.
Added plugin multipart with 2 features.
Added plugin playbin with 1 feature.
Added plugin video4linux with 5 features.
Added plugin gamma with 1 feature.
Added plugin gstentrygthreadscheduler with 1 feature.
Added plugin gstaf with 3 features.
Added plugin goom with 1 feature.
Added plugin riff with 0 features.
Added plugin xvimagesink with 1 feature.
Added plugin flxdec with 1 feature.
Added plugin esdsink with 2 features.
Added plugin apetag with 1 feature.
Added plugin mixmatrix with 1 feature.
Added plugin ogg with 5 features.
Added plugin games with 1 feature.
Added plugin avi with 2 features.
Added plugin adder with 1 feature.
Added plugin speex with 2 features.
Added plugin sdlvideosink with 1 feature.
Added plugin smoothwave with 1 feature.
Added plugin ossaudio with 3 features.
Added plugin mng with 2 features.
Added plugin modplug with 1 feature.
Added plugin qtdemux with 1 feature.
Added plugin matroska with 2 features.
Added plugin rmdemux with 1 feature.
Added plugin flac with 3 features.
Added plugin vorbis with 4 features.
Added plugin effectv with 8 features.
Added plugin timeoverlay with 1 feature.
Added plugin videoflip with 1 feature.
Added plugin asf with 2 features.
Added plugin cdxaparse with 2 features.
Added plugin wavparse with 1 feature.
Rebuilding user_registry (/root/.gstreamer-0.8/registry-i386.xml) ...
Loaded 137 plugins with 274 features.


If you got no errors, load RhythmBox, and try importing an mp3. You will not notice a difference in RhythmBox, but mp3 support IS enabled.

RIgnazio
2005-06-18, 07:14 PM CDT
OK...sorry for the confusion and grief. I have a fool-proof tutorial now on how to do it, and I started from scratch so I KNOW it works...there is one little 51k file i forgot :P But its in the tut now, so enjoy.


Getting mp3 support for RhythmBox by Roger Ignazio, III 6/18/05

To enable mp3 support in RhythmBox, follow these directions:

su -
<root password>

yum -y install gstreamer gstreamer-plugins-mp3

When installed, as root run: gst-register-0.8
Then type exit and run gst-register-0.8 as yourself.
A huge list will go flying by, then it will end and return you to a [user@hostname dir]# prompt.
When done, open RhythmBox. Nothing will appear different, but mp3 support IS there.


***NOTICE: to do the above process, you NEED livna repos. If you do not have livna repos set up, follow these directions:

su -
<root password>

rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY

Copy and paste this into your /etc/yum.conf file:
[livna]
name=Livna.org Fedora Compatible Packages
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn
gpgcheck=1
enabled=1

OK. livna repos is now a part of yum.
Now, follow directions above to install gstreamer.

salapaka
2005-06-18, 07:45 PM CDT
Thanks RIgnazio, this helped a lot. Fool-proof indeed :)

RIgnazio
2005-06-19, 07:46 AM CDT
:) And to answer the original question...you can not import mp3's directly into RhythmBox. You MUST import a folder at a time. In windows, i use iTunes, so everything is sorted into folders by artist and album, so it didn't occur to me too much....
but you can't import single files...sucks doesn't it?