Convert MP3 in OGG Vorbis Format using Ubuntu Linux
Following the blog « How to rip the audio from a DVD with Ubuntu Linux » I had to convert my mp3 files in ogg.
MP3 is a proprietary format, you’re « supposed » to pay a fee when you want your player to read it. You can read a lot more about this problem in Wikipedia.
Ogg Vorbis is an open source format. Sadly it is not as popular, but there is portable audio player, like the Samsung YP-K5J who can read ogg and you can read them on your computer.
Convert MP3 in OGG Vorbis
First we will install a little script made by Nathan Walp: mp32ogg
sudo apt-get install mp32ogg
It’s done, now to convert a file, open a terminal and do:
mp32ogg --quality=10 --delete --rename=%t /home/Musiques/file.mp3
Warning: it will delete the original file!! (remove « –delete » if you don’t want).







juillet 4th, 2007 17:58
mp3 is patented, but it doesn’t mean you (as end user) have to pay for it. mpg123 decoder is open source. Lame encoder is under GPL, too. there are issues if you are going to include mp3 encoding/decoding in your distribution, that’s true.
There’s no reason to convert your mp3s to ogg, but the political ones. mp3 and ogg use different psychoacoustic models, and you’ll lose quality. And there’s definitely to point in –quality=10 when converting from mp3, there won’t be any difference between 10, 9, 8 and maybe even 7, no matter what bitrate mp3 had.
juillet 6th, 2007 17:32
[...] a pretty cool tutorial from Le Ludo Blog on how to convert your proprietary mp3 file into the open Ogg Vorbis [...]
janvier 3rd, 2008 09:01
yet another tutorial in regards to this topic:
http://blog.linuxconfig.org/convert-from-mp3-to-ogg-and-from-ogg-to-mp3-format-with-soundconvert/
octobre 21st, 2008 02:55
Come on, the political reasons are important reasons to use ogg vorbis. ogg vorbis is also of better quality. Converting from a lower quality mp3 to ogg vorbis won’t improve the quality though.
octobre 21st, 2008 02:57
by the way i’m converting due to the fact nobody supports mp3 in the gnu/linux world… it’s annoying to be flying and realize that the computer you brought with a fresh copy of the os doesn’t have mp3 playback. i don’t blame the distributions- i blame those distributing in mp3 format. i end up having to convert to avoid that ugly situation. thats why i’m doing it now.
janvier 30th, 2009 18:33
Come on, the political reasons are important reasons to use ogg vorbis. ogg vorbis is also of better quality. Converting from a lower quality mp3 to ogg vorbis won’t improve the quality though.
février 8th, 2009 22:36
Thanks For Author
février 25th, 2009 22:28
beautiful site..))
I will go to you.
mars 15th, 2010 11:20
I’m using Ubuntu Karmic Koala at the moment and your article is still very useful. Thank you very much.
avril 15th, 2010 08:23
nice article…thanks
mai 22nd, 2010 03:50
try http://www.oggconvert.com
online tool… nothing to download
works great as long as you’re not trying to convert a gigantic dvd file
mai 24th, 2010 09:06
You can also visit http://www.oggconvert.com/ to convert OGG file to any of the following MP3, AAC, FLAC, OGG, WMA, M4A and WAV.