Ogg to Mp3, easy way :D

| January 9th, 2009

Just found out this nice post http://liquidat.wordpress.com/2007/12/03/short-tip-convert-ogg-file-to-mp3/ showing how to convert ogg files to mp3. Had to apply some changes to the command line, so here it is (just in case you need it like I did):

[code] for file in *.ogg;do oggdec -o - "$file"|lame --vbr-new -h -V 4 - - "$(basename "$file" .ogg).mp3";done[/code]

The only flaw is that music tags (artist, album, etc) get lost in the process. There must be a way to maintain them in the mp3 file, but I haven’t had the time to play with it yet …

2 Responses to “Ogg to Mp3, easy way :D”

  1. Chris Says:

    if your ogg file is not too large you can try using this free converter
    http://www.oggconvert.com

    it’s all online, nothing to download

  2. admin Says:

    Cool! Will try that out :)

Leave a Reply