Recommendations for converting WAV to MP3?

Tabitha McNerney tabithamc at gmail.com
Sat Jun 28 15:12:20 PDT 2008


On Sat, Jun 28, 2008 at 3:16 AM, Chris Janton <face at centosprime.com> wrote:

> On 2008-06-28 , at 02:33 , Ryan Schmidt wrote:
>
>  But if you repeatedly want to convert batches of files, then you're
>> right, a script is needed, and though AppleScript could work, a
>> command-line utility might serve better. A popular mp3 encoder is
>> "lame", for which a MacPorts port exists. I haven't used it myself,
>> but maybe it will work for you. Looking through the output of "port
>> search mp3" I also see "bladeenc" which might work too.
>>
>
>
> Try this -
>
> sudo port install ffmpeg +lame +extvorbis +faac +faad +xvid +x264
>
> Now you can translate like this
>
> ffmpeg -i ./imaprofessional.wav -y -acodec libmp3lame -ab 128k ./b.mp3
> 2&>/dev/null
>
> which says take the input file "imaprofessional.wav" overwrite output files
> (-y) use audio codec libmp3lame (-acodec) with an audio bitrate of 128K
> (-ab) with file ./b.mp3 as output - please put all of the chatter on stderr
> onto /dev/null


Chris,

Thanks. I really like this approach. Nothing wrong with using iTunes also,
but all power to open source and the command-line!

Thanks,

T.M.


>
>
>
> 8)
> ----------------------------------
> Chris Janton  - face at CentosPrime dot COM
> Netminder for Opus1.COM
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080628/b7ec6ebe/attachment.html 


More information about the macports-users mailing list