Need 24 bit Audio on YouTube Posted Videos - I can only find 16 bit

LBro wrote on 5/27/2019, 10:22 AM


I have hunted around looking for a codec that includes 24 bit audio instead of 16 bit sound for YouTube videos. I am coming up blank in my search. At present I am using MAGIX AVC/ACC MP4 format and a template of Internet HD 1080p 29.97 fps (NVIDIA NVENC). But this only allows 16 bit (depth) soundtracks. These videos are mostly audio with a slide show thrown in. So video quality is secondary to the audio, where I would like a higher bit depth.

Do you know of a stock codec/Template to use that would allow 24 bit audio? Is there other 3rd party codecs that could be used to up the game here?

Thanks for any help or info you can share,



wwaag wrote on 5/27/2019, 1:06 PM

You can easily do this using the RenderPlus tool in HappyOtterScripts

Here is a screen grab of the encoder dialog.

And here is a demo.

The key is to render a 24bit wav file from Vegas and then mux the audio with the video stream in an mov container since pcm audio is not formally permitted within the mp4 container.

The beta period for HOS has been extended to 1 Aug.

fr0sty wrote on 5/27/2019, 1:35 PM

Youtube doesn't deliver audio in 24 bit, I can't find any confirmation that it survives the encoding process in 24 bit quality all the way to playback. Vegas can do 24 bit in WAV and FLAC if I remember right, but how to get that muxed with a video youtube will accept is beyond me.

Edit> HOS to the rescue again! Though still, I don't think your audio will emerge out of youtube's compression in 24 bit quality. Still good to give them the best you can before it goes into their encoder.

LBro wrote on 5/27/2019, 1:52 PM


Great stuff folks! I thank all so far, very much!

@WWaag - Flat awesome! Not sure I get all you got going here but I just started to look into it. In my case the audio is 24 bit going into Vegas as it is coming out of Reaper - the DAW. So I can pretty much render from there anything needed to make this one work.

@fr0sty - Yes, I have always wondered about this and what "encoding" specifically does... I was talking to Vegas support over this issue and they tried to tell me Vegas 11 did not support 24 bit audio in an MP4. I said it sure does and put a spectrum analyzer on it to show it did. Now I mention this as possibly I could check the my YouTube vid candidate prior to processing at YouTube to ensure it is 24 bit. Then play back the processed video from YouTube through the analyzer again to see what I end up with. If all that works out ok it will verify what is going on. - Stay tuned as this one is near and dear to me...

Thanks again and I off to figure out the Otter...


fr0sty wrote on 5/27/2019, 2:20 PM

Vegas' built in AVC encoder doesn't have a 24 bit mode (you are only allowed to select bitrate and sample rate, not bit depth), not even in the latest version 16, so I'm not sure how you managed to get 24 bit out of it. Are you sure about that spectrum result?

LBro wrote on 5/27/2019, 2:34 PM


That was in the very old Sony "Vegas 11 Platinum Studio" version that I saw it. Yes, I have verified that indeed, back in that era they had a way to put out an MP4 with 24 bit audio rates and even 32 bit float... Thus my first question to Magix was about that. - What happened to the 24 bit audio after you folks took Vegas over from Sony? I was told that Vegas never had 24 bit audio back then. But that is not true.

We came down to the fact Vegas Pro 16 supports 24 bit rate audio but that the codec(s) does not support it.

Off to meet up with the Otter and see what this thing can do!




rraud wrote on 5/27/2019, 6:44 PM

Lately I have been using an audio only HOS using the (third-party) Nero or FDK AAC encoder with a CBR 48k 320kbps or higher setting for music intensive projects...then muxing the AAC (.m4a) audio file into the AVC video, but this can be done at the same time as the video render if so desired. The Nero and FDK AAC encoders are regarded as the best available by most pro audio folks. Neither are included with HOS and must be added separately.

LBro wrote on 5/27/2019, 7:18 PM


Got HOS going. Big thanks to @wwaag for turning that one on to me.

@rraud - If one loads up a copy of Nero, will the AAD encoder be in there and available to the HOS?

Thanks to all as this has been a productive day. In large part to all that you folks have shared!


fr0sty wrote on 5/27/2019, 9:09 PM

Vegas fully supports 24 bit audio, just not in MP4 AAC. You must render to an audio format like WAV or FLAC in order to get 24 bit audio. You can then use HOS to mux it with an mp4 video, but all youtube is going to do is encode it back to 16 bit anyway, you aren't going to gain much if any quality from sending them 24 bit.

rraud wrote on 5/28/2019, 9:07 AM

@rraud - If one loads up a copy of Nero, will the AAD encoder be in there and available to the HOS?

Yes, providing the neroAacEnc.exe flle is in the Program files> HappyOtterScripts folder. Same with the FDK encoder (fdkaac.exe).

I assume 'AAD' is a typo.

LBro wrote on 5/28/2019, 9:14 AM

Thanks rraud - Yes that was a typo... It will be interesting to try and hear the differences between the codecs!