LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 10-01-2005, 06:12 PM   #1
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Rep: Reputation: 30
converting .ogg to .mp3?


I got some .ogg music files on my computer. I need to convert them to .mp3 so I can play them in my truck. Any ideas?
 
Old 10-01-2005, 06:41 PM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 31
Audacity will do this. For batch jobs, you probably want to look into lame (I'm guessing this can also decode mp3 if it can encode it) and oggenc or some other ogg encoder. mplayer may also be capable of a few tricks.

Samsara
.

Last edited by Samsara; 10-01-2005 at 06:42 PM.
 
Old 10-01-2005, 09:14 PM   #3
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Original Poster
Rep: Reputation: 30
thanks bro. I have heard good things about lame, so I will try that out. I think lame even intergrates into k3b for mp3 CD ripping.
 
Old 10-01-2005, 10:04 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 55
It is generally not a good idea to convert from one lossey format to another.

When the oggs were encoded, the encoder "threw away" some information in order to compress the file. If you convert them into mp3, the mp3 encoder will throw away some more information. It is NOT possible to convert from one to the other without losing information.

You can convert ogg - wav - mp3. However, since both ogg and mp3 are lossey, you will NEVER get back the original music file.

I hope this helps
--Ian
 
Old 10-02-2005, 11:27 AM   #5
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 31
Quote:
Originally posted by IBall
It is generally not a good idea to convert from one lossey format to another.

When the oggs were encoded, the encoder "threw away" some information in order to compress the file. If you convert them into mp3, the mp3 encoder will throw away some more information. It is NOT possible to convert from one to the other without losing information.

You can convert ogg - wav - mp3. However, since both ogg and mp3 are lossey, you will NEVER get back the original music file.

I hope this helps
--Ian
I'm guessing he wouldn't be taking this route if he had a choice (he had to wait for an answer on the forum and install and learn to use additional software).

The thing to also note is that ogg is less lossy than mp3 in terms of frequency bands, so converting ogg -> mp3 is theoretically better than mp3 -> ogg.

Greetz,

Samsara
.
 
Old 10-02-2005, 06:15 PM   #6
stimpsonjcat
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

Rep: Reputation: 15
Quote:
Originally posted by servnov
I think lame even intergrates into k3b for mp3 CD ripping.
there is a great kde app called soundkonverter . it is basically a frontend to oggenc, oggdec, and lame (and others).
stimpy
 
Old 10-02-2005, 09:27 PM   #7
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 55
Quote:
Originally posted by Samsara
I'm guessing he wouldn't be taking this route if he had a choice (he had to wait for an answer on the forum and install and learn to use additional software).

The thing to also note is that ogg is less lossy than mp3 in terms of frequency bands, so converting ogg -> mp3 is theoretically better than mp3 -> ogg.

Greetz,

Samsara
.
True, but if he does have a choice, he should use it.

For example, if he has the original tracks on CD then he should re-rip and encode straight into mp3. If he has no choice, or doesn't mind reduced quality, then conversion has to be the way to go...

--Ian
 
Old 10-02-2005, 09:39 PM   #8
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Original Poster
Rep: Reputation: 30
I will re-rip, thanks for the replys guys.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
converting ogg vorbis to mp3 Samoth Linux - Software 3 11-28-2005 08:05 PM
Converting from .wma to .mp3/.ogg Napalm Llama Linux - Software 2 09-10-2005 12:18 PM
Converting cda to mp3 OR ogg Cyb3rKnyght Linux - Software 2 10-18-2004 09:41 PM
converting from ogg to mp3 adee Linux - Newbie 4 04-04-2004 04:05 PM
Converting mp3 to ogg schatoor Linux - Software 8 07-07-2003 01:58 AM


All times are GMT -5. The time now is 08:54 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration