Skip to content
nu774 edited this page Dec 16, 2012 · 24 revisions

It doesn't work! How should I setup -b (bits per sample) option? How should I setup --rate option?

It's most likely due to wrong command like you give. Try directly from command prompt and see what qaac says. Note that you need -o to specify output filename. The following is OK:

qaac input.wav -o output.m4a

The following is wrong:

qaac input.wav output.m4a

Since qaac can handle multiple input files, output.m4a is also taken as input file and it fails (since it doesn't exist).

If you are encoding to AAC, there's no concept of "bits per sample" in the same sense as of PCM audio. Therefore, you don't need it.

If you are encoding to ALAC losslessly, just don't touch it. Otherwise, use it only when you actually want to change output bit depth. It's an option to change output bit depth. If you don't touch it (and don't apply any DSP), output bit depth will be the same as of input. If you apply some DSP such as sample rate conversion or lowpass filter, internal sample format is converted to float. Therefore, you might want to use -b to get 16 or 24bit result.

Usually you don't need it. This is an option to change sampling rate, so use it only when you actually want to do sampling rate conversion. If you are encoding to AAC, lower sampling rate (or --rate auto) allows you to use more lower bitrate setting.