Help - Search - Members - Calendar
Full Version: Encoding multiple files
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
Phixion
I am trying to encode some .wav files to .mp3 @ 320 CBR. Is there any way I can encode an entire directory?

I've been looking through 'lame -?' and 'lame --help' and found nothing about multiple files.

I've tried 'lame -b 320 <input filename>' and that encodes single files fine, only it doesn't carry over the tag info.

Is there any way to encode multiple .wav files and automatically carry the tags over, or better still - encode straight from FLAC to mp3 and carry tags over?

Cheers
Fandango
foobar2000 starts multiple encoding jobs based on the amount of CPU cores in your system.

But be warned that your hard disk might become a bottleneck when your CPU is too powerful. You can adjust the amount of jobs in fb2k's advanced settings, tho.

PS: BTW I'd be glad to hear about alternatives to fb2k, too. A simple GUI exactly like BatchEnc with single command line profiles and that creates and starts a NT batch script but with parallel encoding feature just like fb2k's would be nice.

Starting up 3 BatchEnc instances and balancing the to-be-encoded files between each one is what I do not want to do myself... tongue.gif
Phixion
I usually use foobar2000 to convert my FLACs to MP3, but it doesn't seem to have a 320kbps CBR option anymore.

I've found Synthetic Souls flac-mp3 batch script now, I'll give that a go!
Fandango
Oh, it has when you create your own 320CBR profile... wink.gif

Menu: File->Preferences->Tools->Converter->Encoding Presets->Add New... choose "Custom" Encoder and use lame's "-b 320" command line option there:

"-S --noreplaygain -b 320 - %d"

PS: One big disadvantage of fb2k is that the converter cannot delete the source audio file. dry.gif Which makes it less suited for transcoding many lossless files.
Phixion
Nice, thanks alot

I remember doing this in a previous version but for some reason I'd forgotten how to get to it and thought they might have removed it! smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.