Convert MP3 to OGG on UbuntuLinux (Updated 05/28/2011)

Updated 05/28/2011
To convert MP3s to OGG, now I install dir2ogg (sudo apt-get install dir2ogg) and then–after switching to the top level directory with the MP3 audio files–at the command line type in:

dir2ogg -r -q 10 -a –delete-input *

To break it down, here’s what the options do:

-r recursively goes through every directory beneath the current level to convert.
-q 10 this indicates the level of quality. Although the default is 3, I’ve set it to 10 for top quality.
-a convert all supported formats
–delete-input This will remove the original MP3 file.

Yes, I already know that converting from MP3 to OGG may result in a loss of quality. Acceptable for these recordings. I employed dir2ogg on PeppermintICE.

OLD BLOG ENTRY

I wanted to convert all my MP3s to OGG. While there are some reasons why you shouldn’t do this, I wanted to do it, so…
First, I tried out this tip on using Sound Converter. While Sound Converter worked great on a relatively small number of MP3s (about 30 or so), it choked on a few hundred conversions. I’m not sure why. I’ll still use it, but not for big conversions…of course, I probably won’t have big conversions again since I accomplished it all with my second attempt.
Second, I decided to try a command line program to get the job done. The program I used was mp32ogg. A very simple program to use that I installed with this command:

sudo apt-get install mp32ogg

and then ran at the command line:

mp32ogg –delete *

Worked without problem.


var addthis_pub=”mguhlin”;


Subscribe to Around the Corner-MGuhlin.org


Be sure to visit the ShareMore! Wiki.


Discover more from Another Think Coming

Subscribe to get the latest posts sent to your email.

Leave a comment