On Tue, Nov 4, 2008 at 4:04 PM, Mark Knecht <[EMAIL PROTECTED]> wrote: > Hi, > I'm wondering if anyone has a good way to convert a large hierarcy > of directories populated with FLAC files to a new set of directories > using mp3 instead? The FLAC directory contains something like 20000 > files so I need the converted structure to replicate the original. > Most likely the tool has to be very tolerant of file naming, unicode, > etc., as there are likely to be any number of strange things in there. > > Possibly something in perl or, for the likes of me, even something GUI > based.
I wouldn't trust something GUI-based; it would probably call the mp3 encoder with suboptimal default settings. I would write a script myself. For flac decoding use (of course) media-libs/flac; for mp3 encoding, media-sound/lame. You can probably chain them in a pipe, using flac -dc infile.flac | mp3lame <lameopts> - outfile.mp3 . Read lame's man page and write a shell (or perhaps python/perl) script.