merrymonk has asked for the wisdom of the Perl Monks concerning the following question:

I have an Evoke radio which lets me record radio programs in mp2 format. I want to convert these to mp3 format so that I can listen to the recordings on an mp3 player.
I also want to transfer and add to the tag information.
I have found ways of using Perl to deal with the tag issue and I know that I can use one of the many audio conversion applications to carry out the conversion from mp2 to mp3.
However, it would be good to do this completely within one Perl application.
I found that BrowserUk on Oct 20, 2010 at 05:29 UTC included the following comment
The tool I used was for Windows, but I just did a search and found http://www.mpg123.de/, which can apparently do this using mpg123 -w <filename>.wav <filename>.mp3
Therefore I imagine that there would be a similar line for mp2 to mp3.
The question then becomes has any Monk used this approach for audio conversion and if so it would be great if some more complete sample Perl code was available.
Equally it would be good to know of other methods of doing this which have been successful.

Replies are listed 'Best First'.
Re: mp2 to mp3 conversion
by marto (Cardinal) on Dec 01, 2011 at 10:06 UTC
Re: mp2 to mp3 conversion
by Anonymous Monk on Dec 01, 2011 at 10:18 UTC
Re: mp2 to mp3 conversion
by Anonymous Monk on Dec 01, 2011 at 12:56 UTC

    Just wanted to point out that MP2 and MP3 are from the same family of formats (MP2 has fewer inherent limitations so it can sound superior, btw), so your portable player may already support playing MP2. Try it.