- You can install flac/lame to whatever location you want, independent of foobar2000. In addition, since you are converting to mp3, you don't really need flac binaries.
- you configure foobar2000 so that it can locate the lame binary. In preference/components/diskwriter, select "output presets" "command line encoder: lame -.....". Then click edit and find your lame.exe.
- The way foobar2000 conversion works, and I don't see this mentioned anywhere, is that it "plays back" the music file (flac, wavpack, whatever) to a wav file, and then call the executable you specified in CLI interface to convert the resulting wave file to whatever format you desire. The advantage of this approach is that you can convert from any format that foobar2000 understands without relying on some external utility to convert it to wave format first. Foobar2000 does the decoding from the source format, utility you specify does the encoding to the target format.
- You trigger the conversion by adding all files to the playlist, select them all, and convert in the context menu.
- The tricky part is to convert them to a specific location, such as c:\mp3, and retaining the directory structure you had in c:\flac\.... I posted a question on this in the other thread but haven't had the chance to try out the solution suggested there yet...
- I believe foobar will add tags after the conversion to the resulting mp3 file. It is configured under preference/playback/input/standard inputs. You can select the mp3 tags to write. I use ID3v2. It is kind of strange that it is configured here. Does it mean foobar2000 will update your mp3 files automatically when it opens them?
- If you are not converting to mp3, you need to specify tag information in the command line to the encoding program....
I agree with you 100%, there should be some documentation on this. I write programs for a living and it took me a while to figure this out. Maybe one of these days I'll add something to the Wiki when I have figured everything out...
[{POST_SNAPBACK}][/a]
Fantastic response, wildgoose ... just what I was looking for. Thanks!
For future reference, here's what I've learned from this thread:
1) foobar2000 (0.8.3) does not install CLI by default -- you need to select it as a special install option. I found this out by chance. The CLI is needed to add "new" encoders to foobar.
2) Replies to this thread are useful in helping with directory structures of the output:
[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=32807&hl=cli]http://www.hydrogenaudio.org/forums/index....ic=32807&hl=cli[/url]
To include the important parts:
$if2(%artist%,)\$if2(%album%,)\$if(%tracknumber%,$num(%tracknumber%,2),$num(%_diskwriter_index%,3)) - $if2(%title%,%_filename%)
And:
$directory(%_path%,3)\$directory(%_path%,2)\$directory(%_path%,1)\$if(%tracknumber%,$num(%tracknumber%,2),$num(%_diskwriter_index%,2)) - $if2(%title%,%_filename%)
See the full thread for details.
3) I'm still not done. The directory structure isn't exactly what I would like. And I'm having problems with my conversion to MP3 -- way too much bass distortion. But I'll follow up on that in the appropriate boards. I'll post any additional findings back here so this is all in one place for future reference...
Thanks again for the help.