LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-28-2006, 02:47 AM   #1
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
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?
 
Old 05-28-2006, 02:50 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.
 
Old 05-28-2006, 02:53 AM   #3
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
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?
 
Old 05-28-2006, 03:02 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.

Last edited by Simon Bridge; 05-28-2006 at 03:43 AM.
 
Old 05-28-2006, 03:17 AM   #5
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Thank you my friend!

I will let you know how things turn out!
 
Old 05-28-2006, 03:19 AM   #6
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
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!!
 
Old 05-28-2006, 03:30 AM   #7
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
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.

Last edited by manishsingh4u; 05-28-2006 at 03:50 AM.
 
Old 05-28-2006, 03:41 AM   #8
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
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!
 
Old 05-28-2006, 03:51 AM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.

Last edited by Simon Bridge; 05-28-2006 at 03:53 AM.
 
Old 05-28-2006, 04:02 AM   #10
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
"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!
 
Old 05-28-2006, 04:14 AM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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)...

Last edited by Simon Bridge; 05-28-2006 at 06:29 PM.
 
Old 05-28-2006, 04:26 AM   #12
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
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!!
 
Old 05-28-2006, 06:17 AM   #13
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
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.

Last edited by manishsingh4u; 05-28-2006 at 06:20 AM.
 
Old 05-28-2006, 10:42 AM   #14
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
I just installed 'Amarok' and it will not play mp3's right out the gate like 'xmms' does!

What plug in do I need?
 
Old 05-28-2006, 10:54 AM   #15
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing network audio on Ubuntu with smb: martian Linux - Software 3 03-19-2006 10:03 AM
Playing MP3 files tiredoflogins Linux - Newbie 2 10-02-2004 03:12 PM
Playing Mp3 files in RH9 Adam555 Linux - Newbie 7 05-06-2004 01:23 PM
Playing remote MP3 files rsanfelice Linux - Software 4 04-20-2004 11:02 AM
Problem with playing audio CDs and mp3 songs dhanakom Linux - General 2 07-05-2003 03:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration