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.

In reply to mp2 to mp3 conversion by merrymonk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.