H.264 won on good-enough compression plus near-universal hardware support. How profiles and levels work, and why High Profile Level 4.1 is still the default.
H.264/AVC (Advanced Video Coding) was standardized jointly by ITU-T and MPEG (ISO/IEC) in 2003. Compared with the previous generation, MPEG-2, it cut the bitrate by about 50% at the same quality — in the language of Chapter 2, a BD-rate of roughly -50%.
H.264 didn't win on compression ratio. It won because one standard could serve a huge range of applications: low-end video calls and top-quality Blu-ray both shipped under the single name 'H.264'. The mechanisms that made this possible are profiles and levels.
Separately from the profile, a level sets upper limits on maximum resolution, frame rate, bitrate, and number of reference frames. For example, Level 3.1 goes up to 720p30, Level 4.1 up to 1080p30 (the Blu-ray standard), and Level 5.1 up to 4K.
Think of a profile as a car's trim level (a base model with only airbags vs. a top trim with adaptive cruise control) and a level as its engine class (the top speed and load capacity of a 1000cc vs. a 3000cc engine). A decoder chip declares, "I can decode up to High Profile, Level 4.1," and playback of bitstreams outside that range is not guaranteed.
Many services, YouTube and Facebook among them, are known to still use H.264 High Profile, Level 4.1 (1080p30) as the default for their compatibility-first track. That combination is guaranteed to have hardware decoding on almost every device (smartphones more than ten years old, smart TVs, browsers). HEVC and AV1 compress better, but in practice the guarantee that "it will play for everyone" often matters more than a quality gain. You can check whether your own device plays H.264 in hardware with Codec Support Check.
The most widely adopted video codec in history, standardized in 2003.
Defines the set of coding tools a bitstream may use.
Defines performance limits such as resolution, frame rate, and bitrate.
The most widely used H.264 profile. Includes the 8×8 transform, among other tools.
What is the biggest reason H.264 High Profile Level 4.1 is still widely used today?