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: QAAC only encodes in 48 KHz? (Read 1752 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

QAAC only encodes in 48 KHz?

I have a 96 KHz file which I'm looking to preserve in its original sampling rate.  I am using the QAAC encoder in Foobar2000 and the only parameter it has to set is the bitrate/quality which I have set to Q91 (~192 kbps).  The resulting file ends up 48 KHz.  I don't imagine this is a limitation of the encoder and I know it isn't of the codec.  Can anyone help with what the issue might be and how to possibly correct this?

Thanks in advance!

Re: QAAC only encodes in 48 KHz?

Reply #1
Is there even a point of encoding a lossy file with such a high sampling rate? Like I believe a lot of other lossy codecs also max out at 48khz as well
LAME: -f -V 0 -Y
 Xing: -V150 -X2 -U2 -HF-1 -TX0

Re: QAAC only encodes in 48 KHz?

Reply #2
Is there even a point of encoding a lossy file with such a high sampling rate? Like I believe a lot of other lossy codecs also max out at 48khz as well
I mean, the point is that I'm looking to preserve the sampling rate; that's all.  Otherwise, the project I was working on could've just been set to 48 KHz, but obviously they're a reason that I didn't.

In any case, so you are saying it is a limitation of the format or the codec?  I didn't think AAC was limited to 48 KHz.  I seem to recall otherwise.  In fact, not to be lazy, I just checked and yeah, it is not limited to 48 KHz.

Re: QAAC only encodes in 48 KHz?

Reply #3
qaac.exe command line option for sampling rate is -r :

-r, --rate         keep: output sampling rate will be same as input
                             if possible.
                       auto: output sampling rate will be automatically
                             chosen by encoder.
                       n: desired output sampling rate in Hz.

Make a custom encoder setting within Foobar's encoding options for qaac.exe, with the parameter box line including-r 96000 (or -r keep).  For example, something like:  --ignorelength --no-smart-padding -v192 -q2 -r keep -o %d -

Re: QAAC only encodes in 48 KHz?

Reply #4
QAAC uses Apple encoding library and it doesn't support 96kHz AAC-LC.

IF you really need 96 kHz AAC-LC file, try Winamp FhG encoder or FDK encoder or Nero AAC encoder.

Re: QAAC only encodes in 48 KHz?

Reply #5
QAAC uses Apple encoding library and it doesn't support 96kHz AAC-LC.

IF you really need 96 kHz AAC-LC file, try Winamp FhG encoder or FDK encoder or Nero AAC encoder.
This article seems to suggest that it does support it.  Are you sure?  That's precisely what I am confused about.

Using a different encoder would defeat the purpose of my using AAC, as QAAC is the most efficient of the lot.  It is the most compatible across the board (apart from perhaps MP3) and works well for my purposes (in video).  Otherwise, I'd use OGG Vorbis.

Re: QAAC only encodes in 48 KHz?

Reply #6
Why don't you give it a try, and find out  ;)  .  I did just now for my own curiousity using the -r option and the resulting sample rate maxed out at 48kHz, so that does confirm what Ivqcl said.  Sorry if I gave you false hope in my last post.

Re: QAAC only encodes in 48 KHz?

Reply #7
Why don't you give it a try, and find out  ;)  .  I did just now for my own curiousity using the -r option and the resulting sample rate maxed out at 48kHz, so that does confirm what Ivqcl said.  Sorry if I gave you false hope in my last post.
:/