John Gorst wrote:
Robin Bowes wrote:

Aha! I too have a utility named flac2mp3.pl which, surprisingly enough, converts flac files to mp3 format.

I wrote it for exactly the same situation - I store all my music in flac format and needed to convert it to mp3 for my iPod.

My goal was to write something that I could just point at a directory tree full of flac files and have it mirrored into a corresponding directory structure full of mp3 files. I also only want to convert those files that need converting, i.e. newly-added files. Finally, I didn't want to have to re-transcode a file if only the tags have changed, so I added a tags-only mode.


Sounds as if it is just what I need!!
Just a few questions!

1) can I specify what quality MP3 output to use?

As you've already found out, simply modify the array @lameargs to suit your needs. As you can see from the comment immediately above, I have made a note that a possible enhancement would be to specify that on the command line.

2) if there are MP3 files in the source directory, will it just copy these to the output directory (this is the behavious I am looking for)

Again, as you've already found out, no it won't.

Just copy all your mp3s over and then run flac2mp3.

If I extend flac2mp3 to include "mirroring", i.e. delete any files found in the target directory that don't have corresponding source files, then I may consider adding mp3 copying.

I've set up a bunch of mail lists relating to flac2mp3.

Details are here:

http://robinbowes.com/article.php/20050611002827903

R.
--
http://robinbowes.com

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping

Reply via email to