Whew!

I finally configured foobar2000 to do this.

What I was missing was the foobar2000 command-line encoder plugin.  I
believe it's because I installed foobar2000 using the "special"
installer.  The command-line encoder is called foo_clienc.dll.  Check
Foobar2000 - Preferences - Component libraries.  If it's not there, get
it here:

http://www.saunalahti.fi/cse/foobar2000/foo_clienc.zip

Unzip foo_clienc.dll into your foobar2000/components directory. 
Restart foobar.

Put the files you want encoded into your playlist.  You can use
anything foobar2000 accepts: WAV, FLAC, MP3, etc.  Highlight them all,
right-click.  Select Convert - Settings.  Preferences - Diskwriter
should come up (alternately you can just go directly to Foobar2000 -
Preferences - Diskwriter).

Most of the settings are obvious, but a few to look out for:

- Output file name formatting is set to $num(%_diskwriter_index%,3)
%_filename%.  This will put a 3-digit number based on the foobar2000
playlist track number in front of the file name.  I changed it to
%_filename% instead.

- Output presets: this is the most important part.  You'll have a
variety of presets to choose from, but you should see lots of
Commandline Encoder presets.  You can use one of these or you can make
your own by pressing "Add new".  It will ask you what encoder to use -
use Commandline Encoder.  It'll then ask you where your encoder is,
point it to your LAME.exe.  The extension field is important, you need
to put mp3 in here or else your files will have no extension.  The
parameters field below this controls the encoder.  In your case
(converting from 128 kbps MP3 to 56 kbps MP3) you'd use:

-b 64 %s %d

or - b 48 %s %d

You can't use 56 kbps for CBR (constant bit rate) mode, although you
can use it in ABR (average bit rate) mode:

- abr 56 %s %d

...but that's recommended for voice recordings only.

More on command-line arguments here:

http://www.hydrogenaudio.org/forums/index.php?showtopic=28124

I'm using -V 6 --vbr-new --id3v2-only --pad-id3v2 %s %d for files to
play back in my car.  It makes files about the same size as 128 kbps
CBR, but with higher quality.

The %s and %d is required to make the files.  I think %s decompresses
the files into temporary .WAVs and %d makes the file name.  At any
rate, it will fail without %s %d.

Give it a name on Display name.

- Use ReplayGain uses existing ReplayGain volume data to encode the
file at the adjusted volume.  IMHO this is a bit dangerous as it can't
be undone.  With MP3Gain, at least you can undo any changes you make.

Now highlight all your files, right-click, select Convert - Run
Conversion...and wait.  First foobar2000 will convert all the files to
temporary .WAVs, then it will call up the command-line encoder to
encode them.  You will see a DOS box pop up for the command-line
encoder.

This now has everything I need.  It's stable, it can convert FLAC and
MP3, it supports tagging, it supports custom arguments and it's free.


-- 
Mark Lanctot
------------------------------------------------------------------------
Mark Lanctot's Profile: http://forums.slimdevices.com/member.php?userid=2071
View this thread: http://forums.slimdevices.com/showthread.php?t=19586

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

Reply via email to