And for anyone who might be wondering, to pull off that "Stable Volume" feature, Youtube's servers simply offer alternate, processed encodings alongside the normal (unprocessed) encodings each video comes with. Those processed alternates can be identified by their "-drc" suffixes when using tools like
yt-dlp to enumerate a video's available formats (example:
https://pastebin.com/raw/4Dn5phvN).
I do not know if Youtube does normalization with simple peak protection limiting to the non-DRC versions of its tracks, but I would not be surprised if it did. Perhaps someone with an account (Kevin?) could upload an unlisted test video so we could find out? Turning down the volume on a copyright-clear song by 30 dB, and then amplifying a single snare hit right in the middle of it to -1 dB, would make for a pretty good test.
Regarding Youtube's modern lossy compression practices, kevtronics is correct there too, though it is worth adding that 128 kbit/s m4a-encapsulated AAC-LC encodings still exist with every video for the benefit of legacy browsers and older embedded players lacking built-in Opus decoding. So if anyone is using an old browser or an aging smart TV, you may end up hearing that format instead of the main Opus audio. (There are also ~48 kbit/s Opus and ~48 kbit/s HE-AAC encodings offered with every video for viewers with extremely slow connections. And for absolutely ancient players, Youtube still offers format 18, which is their last remaining muxed format. It combines 360p video with either 96 kbit/s 22 kHz HE-AAC or 128 kbit/s 44 kHz AAC-LC depending on some internally-determined metric I'm unsure of -- probably a speech/music detection algorithm.)
I also agree about Opus being superior to AAC-LC. But one possible catch comes to mind. When uploading audio to Youtube that is sourced from another lossy encoder, one suddenly faces the phenomenon of cascaded codes fighting each other. Just as they say to never re-encode MP3s as AACs or vice versa, I have to wonder whether the HD Radio codec would fare better through Youtube's AAC encoder, since I believe HD Radio's codec was based somehow on HE-AAC. I ripped the Opus and AAC-LC tracks from kevtronics' video using yt-dlp and uploaded them here, assuming he or anyone else would like to do some comparative Sennheiser-grade listening:
https://files.catbox.moe/uvyo9s.opus (source stats: 1.92MiB audio only opus 138k 48k)
https://files.catbox.moe/o1qeje.aac (source stats: 1.80MiB audio only mp4a 130k 44k)