Page 1 of 1

Get 24bit audio with AAC

Posted: Fri Jan 18, 2019 3:19 pm
by TRACKER
Im trying to encode my files to 24 bit AAC with Handbrake and the output audio part is still 16 bits. I have selected AAC(avccodec not passthru) bitrate 320, stereo and in 'select behavior' I have put 24 as samplerate bit but wont do, any idea? Thank you

Re: Get 24bit audio with AAC

Posted: Fri Jan 18, 2019 3:22 pm
by rollin_eng
Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html

Re: Get 24bit audio with AAC

Posted: Fri Jan 18, 2019 3:29 pm
by Deleted User 11865
There is no such thing as 24-bit AAC. MediaInfo will report a 16-bit depth for all AAC audio, but that number is meaningless.
https://en.wikipedia.org/wiki/Audio_bit_depth wrote:
Bit depth is only meaningful in reference to a PCM digital signal. Non-PCM formats, such as lossy compression formats, do not have associated bit depths.

Re: Get 24bit audio with AAC

Posted: Fri Jan 18, 2019 3:31 pm
by TRACKER
ok and technically or historically why AAC cant have 24 bits? thanks

Re: Get 24bit audio with AAC

Posted: Fri Jan 18, 2019 3:35 pm
by Deleted User 11865
Basically each sample has a different bit depth. This applies to all lossy audio encoding techniques.

Re: Get 24bit audio with AAC

Posted: Fri Jan 18, 2019 3:40 pm
by TRACKER
thanks, great forum!

Re: Get 24bit audio with AAC

Posted: Fri Jan 18, 2019 3:56 pm
by Deleted User 13735
The warhorse standard for video is 48Khz 16 bit stereo This was when 16 bits was 16 bits :?
BluRay brought us into 21st Century audio, but most internet delivery and some media servers are still 16/48 depending on the codec.

Re: Get 24bit audio with AAC

Posted: Fri Jan 18, 2019 9:55 pm
by Deleted User 11865
Well if you feed 16-bit audio to the encoder, then the maximum actual bit depth of any sample will be 16 bits, of course.

HandBrake feeds 32-bit float to audio encoders, which allows for a maximum of up to 24 bits (integer equivalent) per sample.

Re: Get 24bit audio with AAC

Posted: Sat Jan 19, 2019 12:41 am
by Deleted User 13735
Making preservation of BluRay audio fidelity possible, contingent of course on the codecs.

And if a 32 bit float video environment becomes reality at some point, the sky's the limit

Re: Get 24bit audio with AAC

Posted: Fri Feb 01, 2019 5:06 pm
by JeromeMartinez
Rodeo wrote: Fri Jan 18, 2019 3:29 pmMediaInfo will report a 16-bit depth for all AAC audio
This bug has been fixed years ago, no need to keep saying that in 2019.

Re: Get 24bit audio with AAC

Posted: Fri Feb 01, 2019 5:14 pm
by Deleted User 11865
Well he must be using an outdated version then.