>[on YT] Everything plays at a similar loudness, regardless of how it was mastered. And no-one has noticed. None of us noticed; it seems like the labels and sound engineers may have; take this image comparing the dynamic range of the CD and youtube releases of Pharrell's "Happy"[1]- I thought at the time it might just have been a mishap or random occurance, but now it looks like it was a very deliberate move. So, rat…
Your example seems to show a completely clipped sample (in the CD) and a more reasonably mastered copy (in the YT clip) with greater dynamic range. Once the dynamic range has been destroyed through compression (not digital compression, I'm speaking of gain compression http://en.wikipedia.org/wiki/Gain_compression) it would difficult or nearly impossible to restore without affecting the quality.
My guess - in this instance, I think the CD and YT clips come from different masters.