H.264 (AVC): The Video Codec That Enabled YouTube and Modern Streaming
H.264 (also called AVC — Advanced Video Coding) is the most widely deployed video codec in history. Released in 2003, it achieved roughly 50% better compression than MPEG-2 while remaining decodable on commodity hardware. H.264 enabled YouTube (2005), Netflix streaming (2007), and video calling to go mainstream. As of 2026, virtually every device on earth — phones, TVs, cameras, computers — can decode H.264. It has been largely superseded by AV1 for web streaming but remains the universal fallback.
H.264, formally known as MPEG-4 Part 10 or Advanced Video Coding (AVC), is the most widely deployed video codec in history. Jointly developed by the ITU-T Video Coding Experts Group (VCEG) and the ISO/IEC Moving Picture Experts Group (MPEG), it was finalized in 2003. ## Why It Mattered H.264 achieved approximately 50% better compression than MPEG-2 (the DVD/broadcast standard) at equivalent visual quality, while remaining computationally tractable for hardware decoding. This combination enabled: - **YouTube** (launched 2005): Web video at acceptable quality over early broadband connections - **Netflix streaming** (launched 2007): Feature-length movies delivered over home internet - **Video calling**: Skype, FaceTime, and later Zoom all relied on H.264 for real-time communication - **Mobile video**: Smartphone cameras and playback became viable with hardware H.264 encoders/decoders ## Technical Approach H.264 uses the same fundamental framework as all modern codecs — divide frames into blocks, predict motion between frames, encode only the residual difference, then compress with entropy coding — but introduced several innovations: variable block sizes (from 16×16 down to 4×4), multiple reference frames for prediction, in-loop deblocking filters to reduce blocking artifacts, and context-adaptive binary arithmetic coding (CABAC) for more efficient entropy coding. ## Profiles and Levels H.264 defines multiple profiles for different use cases: Baseline (low-complexity, for mobile/video calling), Main (standard quality, for broadcast), and High (best compression, for Blu-ray and streaming). This flexibility allowed the same codec to serve both a feature phone and a production studio. ## Current Status As of 2026, virtually every computing device on earth can decode H.264. It remains the universal fallback codec — when a device or platform needs to ensure compatibility, H.264 is the safe choice. For new streaming deployments, AV1 has largely superseded it (YouTube uses AV1 for 75%+ of streams), but H.264 will persist for years in legacy devices, security cameras, and contexts where decoder universality outweighs compression efficiency. Video Codec History: H.261 to AV2 and the 2026 State of Streaming Compression