LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   converting .ogg to .mp3? (http://www.linuxquestions.org/questions/linux-general-1/converting-ogg-to-mp3-368826/)

servnov 10-01-2005 05:12 PM

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?

Samsara 10-01-2005 05:41 PM

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
.

servnov 10-01-2005 08:14 PM

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.

IBall 10-01-2005 09:04 PM

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

Samsara 10-02-2005 10:27 AM

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
.

stimpsonjcat 10-02-2005 05:15 PM

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

IBall 10-02-2005 08:27 PM

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

servnov 10-02-2005 08:39 PM

I will re-rip, thanks for the replys guys.

vtel57 03-06-2014 03:21 PM

This is an older thread, but I wanted to comment on the use of Audacity to convert from .ogg to .mp3 formats. Yes, I have the original paid-for content that I'm converting. However, I'm lazy, so it was easier to convert the files using Audacity than it was to re-rip everything. Note: this is just for a small pocket MP3 player that I use for my daily bike rides. That being said, I did not (using much-abused by loud Rock&Roll 52 year old ears) notice any diminished sound quality in these converted .mp3s. Just saying...

Later...

~Eric


All times are GMT -5. The time now is 03:35 PM.