Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Converting FLAC to ALAC using Foobar (Read 66816 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Converting FLAC to ALAC using Foobar

Reply #25
I have been unable to get it to work on my Win10 PC using qaac.exe; presumably I don't have the required libraries (qaac --check returns ERROR: CoreAudioToolbox.dll: The specified module could not be found.). More info here.
https://sites.google.com/site/qaacpage/cabinet

Download makeportable.zip and iTunes installation package from Apple and extract required dll's with makeportable.cmd. Then put extracted dll's in qaac folder and try again.

Re: Converting FLAC to ALAC using Foobar

Reply #26
ffmpeg also works (ffmpeg -i infile.flac -acodec alac outfile.m4a), but it's preferable for me to use foobar.

I just thought I'd add.... there's no reason why you can't use ffmpeg as an encoder with foobar2000. Not that there'd be any advantage for ALAC (I wouldn't think) but you can use ffmpeg to convert to any formats it supports. The following command line works for ALAC (ffmpeg as the encoder):

-i - -ignore_length true -c:a alac %d

Or you could use ffmpeg's filters and then pipe the audio to another encoder. I sometimes use ffmpeg to compress before encoding as AAC with QAAC, with the command line below saved as a foobar2000 encoder preset. You have to specify cmd.exe as the encoder. The following works for me on XP. It might need to be modified for other Windows flavours.

 /d /c c:\progra~1\foobar2000\encoders\ffmpeg.exe -i - -ignore_length true -c:a pcm_f32le -af dynaudnorm=f=150 -f wav - | c:\progra~1\foobar2000\encoders\QAAC\qaac.exe --ignorelength -s --no-optimize --no-delay -V 91 -o %d -