LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   playing mp3 audio files in ubuntu! (https://www.linuxquestions.org/questions/ubuntu-63/playing-mp3-audio-files-in-ubuntu-449244/)

randell6564 05-28-2006 02:47 AM

playing mp3 audio files in ubuntu!
 
OK...

I,ve managed to mount my windows file systems. I store all of my music on my fat32 storage drive (hdb1).

NOW I'm unable to play those files (mp3 audio files) with 'rythmbox music player'!

Any help?

Simon Bridge 05-28-2006 02:50 AM

http://easylinux.info/wiki/Ubuntu

mp3 playback capability is proprietary, so seldom ships with distros. (large companies are more vulnerable to lawsuits than individuals).

You can always convert your mp3's to ogg/vorbis format, I have yet to find anyone who can spot the loss of quality in a double-blind test.

randell6564 05-28-2006 02:53 AM

Quote:

Originally Posted by Simon Bridge
http://easylinux.info/wiki/Ubuntu

mp3 playback capability is proprietary, so seldom ships with distros. (large companies are more vulnerable to lawsuits than individuals).

You can always convert your mp3's to ogg/vorbis format, I have yet to find anyone who can spot the loss of quality in a double-blind test.



Thanks Simon, but just how do I convert?

Simon Bridge 05-28-2006 03:02 AM

Code:

$ sudo apt-get install mp32ogg
man mp32ogg (for usage)

while you're at it, convert your gifs to png format :)
http://www.r1ch.net/stuff/gif2png/

And Open Office will convert those DOC files to open-document. (Folk with Word will still be able to read RTF files.)

Using open formats is generally The Right Choice: however, that easylinux wiki is a good read, settle down with a hot cocoa and browse through it. You'll probably still want to play mpeg video.

randell6564 05-28-2006 03:17 AM

Thank you my friend!

I will let you know how things turn out!

randell6564 05-28-2006 03:19 AM

This is what I got at the terminal:

root@Shop:/home/scott# sudo apt-get install mp32ogg
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package mp32ogg


CRAP!!

manishsingh4u 05-28-2006 03:30 AM

Quote:

Originally Posted by randell6564
NOW I'm unable to play those files (mp3 audio files)

XMMS is a very popular mp3 music player much similar to winamp used in windows. Just type in these commands
Code:

sudo apt-get install xmms
By the time it is installed, you will be able to play mp3 files for sure.

randell6564 05-28-2006 03:41 AM

Quote:

Originally Posted by manishsingh4u
XMMS is a very popular mp3 music player much similar to winamp used in windows. Just type in these commands
Code:

sudo apt-get install xmms
By the time it is installed, you will be able to play mp3 files for sure.

THANKS!! It worked out perfect!

Simon Bridge 05-28-2006 03:51 AM

xmms dosn't come with the ability to play mp3 - and you won't get it from the default repositories either.

You have to enable the extra repos, install the codecs, install xmms, then associate the player with the proprietary codecs.

considering the request to change formats, after information on how to play mp3s was provided, I just guessed it was deemed more desirable to stay free ;)

You need to enable the additional repos to get any use out of ubuntu.
Follow the link I sent you for information how to do this.

or sudo gedit /etc/sources.list and uncomment anything that looks like it should be.

Personally, I keen an ogg2mp3 script so I can play my music on a portable mp3 player :) though there are now popular brands playing ogg/vorbis now. I play all media in my desktop in totem.

randell6564 05-28-2006 04:02 AM

"xmms dosn't come with the ability to play mp3 - and you won't get it from the default repositories either".

Simon, As I type, I am listening to my mp3 audio useing 'xmms'!

Just installed 'xmms' from terminal using the same syntax that you provided! No Problems!

Simon Bridge 05-28-2006 04:14 AM

Quote:

Simon, As I type, I am listening to my mp3 audio useing 'xmms'!
Just installed 'xmms' from terminal using the same syntax that you provided! No Problems!
That I provided, or that manishsingh4u provided?

If "sudo apt-get install xmms" gets you mp3 playback, then I'll have to go have a Word with the good folk at easylinux wiki (and go edit that howto page).

Or did you follow the howto?

xmms is cute - I havn't used it since I ditched RH9 and discovered totem. If you play audio in totem, you get a way-cool visualisation to impress any windows buff.

Anyway - I'm glad you've got your trouble sorted.
Since I am one of these "free software" folk, may I point you at: http://www.xiph.org/ ... these good folk maintain the ogg media container, the vorbis audio format, and the theora video format. There is an excellent point-by-point about the ogg/vorbis there.

I strongly suggest ripping further CDs to ogg/vorbis format (ubuntu will do this automatically)...

randell6564 05-28-2006 04:26 AM

The syntax that YOU provided my friend!

'Manishsing4u' just provided the 'xmms' part.

I have not read the tutorial yet, But Yes, I AM listening to my mp3 audio using 'xmms'!

All I did was type: sudo apt-get install xmms like the two of you said and BAM...I'm dancing!!

Thanks Guys!!

manishsingh4u 05-28-2006 06:17 AM

Quote:

Originally Posted by Simon Bridge
xmms dosn't come with the ability to play mp3 - and you won't get it from the default

It is the not the question here that XMMX has ability to play mp3 files on it's own or it needs any extra puglins. Anyway, I have installed XMMS on Debian 3.1 r1, Ubuntu 6.06 - Flight 6 (Dapper Drake), K/Ubuntu 5.10 using the same
Code:

apt-get install xmms
and it plays mp3 without any further apt-gets or anything. Ofcousre, in other distributions like Redhat 9, Fedora Core, etc , I had to add mp3 support separately as dependency installations, etc. But, in Ubuntu, apt-get takes care of the dependencies and it just works this way without adding any extra repositories although, some lines in /etc/apt/sources.list sometimes need to be uncommented.
About Totem, my experience with Totem is not good, it starts much late as compared to XMMS. Amerok is good. I like Amarok because it can play music directly from the network.
I would love to know about ogg-vorbis music websites, if possible and the best ripper for Ubuntu. Thanks.

randell6564 05-28-2006 10:42 AM

I just installed 'Amarok' and it will not play mp3's right out the gate like 'xmms' does!

What plug in do I need?

manishsingh4u 05-28-2006 10:54 AM

Quote:

Originally Posted by randell6564
I just installed 'Amarok' and it will not play mp3's right out the gate like 'xmms' does!

What plug in do I need?

Check this page. It helped me with this problem. Here's the link
https://wiki.ubuntu.com/RestrictedFo...14503330d4e970


All times are GMT -5. The time now is 05:52 PM.