Get 24bit audio with AAC

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
TRACKER
Posts: 6
Joined: Tue Jan 01, 2019 12:31 am

Get 24bit audio with AAC

Post by TRACKER » Fri Jan 18, 2019 3:19 pm

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

rollin_eng
Veteran User
Posts: 3067
Joined: Wed May 04, 2011 11:06 pm

Re: Get 24bit audio with AAC

Post by rollin_eng » Fri Jan 18, 2019 3:22 pm

Could you please post your HB logs, instructions can be found here:

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

User avatar
Rodeo
HandBrake Team
Posts: 12087
Joined: Tue Mar 03, 2009 8:55 pm

Re: Get 24bit audio with AAC

Post by Rodeo » Fri Jan 18, 2019 3:29 pm

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.

TRACKER
Posts: 6
Joined: Tue Jan 01, 2019 12:31 am

Re: Get 24bit audio with AAC

Post by TRACKER » Fri Jan 18, 2019 3:31 pm

ok and technically or historically why AAC cant have 24 bits? thanks

User avatar
Rodeo
HandBrake Team
Posts: 12087
Joined: Tue Mar 03, 2009 8:55 pm

Re: Get 24bit audio with AAC

Post by Rodeo » Fri Jan 18, 2019 3:35 pm

Basically each sample has a different bit depth. This applies to all lossy audio encoding techniques.

TRACKER
Posts: 6
Joined: Tue Jan 01, 2019 12:31 am

Re: Get 24bit audio with AAC

Post by TRACKER » Fri Jan 18, 2019 3:40 pm

thanks, great forum!

musicvid
Veteran User
Posts: 3179
Joined: Sat Jun 27, 2009 1:19 am

Re: Get 24bit audio with AAC

Post by musicvid » Fri Jan 18, 2019 3:56 pm

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.

User avatar
Rodeo
HandBrake Team
Posts: 12087
Joined: Tue Mar 03, 2009 8:55 pm

Re: Get 24bit audio with AAC

Post by Rodeo » Fri Jan 18, 2019 9:55 pm

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.

musicvid
Veteran User
Posts: 3179
Joined: Sat Jun 27, 2009 1:19 am

Re: Get 24bit audio with AAC

Post by musicvid » Sat Jan 19, 2019 12:41 am

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

JeromeMartinez
Posts: 1
Joined: Fri Feb 01, 2019 5:00 pm

Re: Get 24bit audio with AAC

Post by JeromeMartinez » Fri Feb 01, 2019 5:06 pm

Rodeo wrote:
Fri Jan 18, 2019 3:29 pm
MediaInfo 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.

User avatar
Rodeo
HandBrake Team
Posts: 12087
Joined: Tue Mar 03, 2009 8:55 pm

Re: Get 24bit audio with AAC

Post by Rodeo » Fri Feb 01, 2019 5:14 pm

Well he must be using an outdated version then.

Post Reply