by kuschku · 9y ago · 0 comments
So, let’s look at a similar issue with video. Your display is likely only 720p, or 1080p, but a 4K video on youtube will still look a lot better, although technically it should have no visible difference.
But the reality is, we don’t get uncompressed video, or uncompressed audio.
We have a choice between audio or video compressed with lossy codecs, at 16bit/44kHz or 16bit/96kHz, or 4:2:0 video at 1080p or 4:2:0 video at 4K.
And just like you need 4K 4:2:0 mp4 video to get even close to the quality of uncompressed 1080p 4:4:4 video, you also need far higher sampling rate and depth of highly compressed audio to get a quality similar to 16bit/44.1kHz PCM.
That’s the real reason why 24bit/192kHz AAC downloads were even discussed.
However, if you have a 20 Mbps budget for the 4k to account for having 4 times as much original data, then there shouldn't be much of a difference in the downsampled 1080p video (ignoring peculiarities of the codec).
All this is not very relevant to the audio issue being discussed. It would be relevant if it were physically impossible to perceive the difference between 1080p and 4k video, and if watching 4k video potentially caused optical illusions. In that case, the only reason to prefer the 20 Mbps 4k stream would be if you planned to edit, mix, or zoom around in the video instead of simply watching it.
When it comes to audio, since size isn't as much of a concern as video, in most cases I would say "maybe I'll want to edit it someday" is strong enough reason to get the 24/192 material at a correspondingly high bitrate if it's available.
It’s all about peculiarities of the codec!
The issue at hand is apple selling 24bit/192kHz versions of lossy AAC compressed files, compared to 16bit/44.1kHz versions of AAC files.
And the issue I was comparing with video was the same – with video, codecs enforce Chroma Subsampling, where the resolution for color is half that of the actual imagery.
In the same way, AAC and mp3 heavily reduce the bandwidth for the upper half of the frequency spectrum, spending like 90% of their available bandwidth on the lower half (with 44.1kHz, they prioritize the range between 4 and 8kHz, specifically, where speech is).
The entire topic is if using a codec that specifically cuts away the lower and upper parts of the frequency spectrum, increasing the frequency spectrum can improve quality. And yes, it does. Apple is selling AAC, not WAV. Which makes the entire article useless.
Yes, we should all focus on replacing 16bit/44.1kHz AAC with 16bit/44.1kHz FLAC instead of 24bit/192kHz AAC, and we all should focus on replacing 4:2:0 1080p mp4 with 4:4:4 1080p mp4 instead of 4:2:0 4K mp4 (the chroma subsampling issue I mentioned). But that’s not the reality we live in, and given the choice between 16bit/44.1kHz AAC and 24bit/192kHz AAC, I’ll choose the second.
Same for video. YouTube very likely allocates more bandwidth for 4k video than would be required for equivalent quality at lower resolutions, assuming that you are interested in higher overall quality (e.g. less artifacts) if you go through the trouble of 4k video. That's a conscious choice, not a technical necessity.
Basically, mp4 and webm video only encodes the brightness channel Y at full resolution, and the color channels Pb Pr at half resolution. You can’t have mp4 or webm video without Chroma Subsampling, it’s defined in the codecs standard.
Audio codecs do something very similar, cutting off a large percentage of the higher and lower frequencies. mp3 (and AAC) for example allocate almost the entire space for the frequencies around 4 to 8kHz, and drops then drops a certain percentage of the upper frequencies entirely.
The article talks about uncompressed audio, but the topic he responds to is Apple choosing to sell 24bit/192kHz AAC lossy compressed audio. The author of the article is responding to a business decision, which has nothing to do with the actual topic of the article.
Not at all, bitrate differences are audible.
> And just like you need 4K 4:2:0 mp4 video to get even close to the quality of uncompressed 1080p 4:4:4 video, you also need far higher sampling rate and depth of highly compressed audio to get a quality similar to 16bit/44.1kHz PCM.
…how so?
Even with the same bitrate, you’ll need 4K video to get quality comparable to uncompressed 1080p.
For example, mp4 defines that the brightness channel Y should be stored with full resolution, and the color channels Pb Pr should be stored at half resolution. So in a 4K mp4 video at lossless bitrate, the actual colors will only be stored at 1080p. This functionality is called Chroma Subsampling.
Audio Codecs do something very similar, causing these exact issues.
Of course, cross-channel intra prediction would work better[1] but 4:2:0 is pretty good quality considering you can throw out 3/4 the pixels.
The same issue happens with audio. Nice theory, completely broken realistic implementations.