Advanced Video Coding (AVC), which is also called H.264, is the most widely used video compression standard. It is compatible with all major streaming protocols and container formats.
After reading this article you will be able to:
Related Content
Subscribe to theNET, Cloudflare's monthly recap of the Internet's most popular insights!
Copy article link
Advanced Video Coding (AVC), also called H.264, is the most common video compression standard in use today. AVC/H.264 can encode high-quality video at lower bit rates than older compression standards (the "bit rate" is the number of units of information that have to be processed for each second of video).
Blu-ray and a wide variety of streaming services, including on-demand and live TV, use H.264. Despite the fact that its use sometimes requires royalty payments to organizations that own the patents for it, over 90% of the video industry uses H.264.
Video compression, also called video encoding, is the process of reducing the size of video data so that it can be efficiently moved from one place to another. A completely uncompressed video file might take up several Blu-ray discs. It would also take a tremendous amount of time to stream from a server to a user's computer, and real-time playback would be next to impossible. By contrast, a compressed video file can fit into one Blu-ray disk, even with extremely high picture quality. And it can be streamed quickly and in near real time from a server to a user's computer.
Video compression works by removing redundant visual information and unnecessary details, and by relying on mathematical calculations to generate most of each frame of video, rather than recording every frame. By recording how the visuals change from frame to frame, video compression stores entire videos without storing every frame.
H.264 is a lossy compression standard, meaning unnecessary information is removed from the video. However, this should not impact the video's quality, since the important information for displaying the video is kept.
Almost all streaming protocols in use today are compatible with H.264, including the Real Time Streaming Protocol (RTSP), HTTP live streaming (HLS), HTTP dynamic streaming (HDS), and dynamic adaptive streaming over HTTP (MPEG-DASH). In fact, HLS works only with H.264, while some streaming protocols can use other compression standards.
A video container file stores video, audio, and metadata; one of the most common types of container files is MP4. H.264 works with multiple container formats, including MP4, TS, and MOV.
H.265 is also known as High Efficiency Video Coding (HEVC), and it is the compression standard that followed H.264. It provides even better picture quality than H.264. Many video hosting servers use H.265 in addition to H.264. However, because the older H.264 is so widely adopted and already offers good quality at manageable bit rates, it is likely to remain in use for some time.
Cloudflare Stream encodes all videos using H.264. Stream enables adaptive bitrate streaming (which adjusts the quality of the video as it plays) by encoding every video at several different quality levels. Learn more about Cloudflare Stream.