Twice as Nice?
Half truths about MPEG-2 vs. AVC-I compression
By The Sony Tech Guy | August 17, 2010
Good GOP, good GOP. This Group of Pictures includes 15 frames, starting with a fully-defined Intra frame (I), Predictive frames (P) and Bi-directional predictive frames (B).
Proponents of AVC-I compression have been quick to seize on a simple, and we believe simplistic, claim: "Twice the compression efficiency of MPEG-2." It's a bold promise that has a nice ring to it and has been repeated ad infinitum. The only problem: it just isn't true.
As long as there has been bit-rate reduction in video recording, there have been compression food fights. Back in 1993, Sony launched our first compressed video format. The Digital Betacam® system featured a robust data rate of 90 Megabits per second (for standard definition, mind you) and mild compression, about 2:1. Nevertheless, compression was immediately attacked as a depravity and an abomination. Of course, Digital Betacam products went on to enjoy widespread success at the high end of video production. Oddly enough, the same people who attacked compression soon embraced it across the board.
The rise of MPEG-2
Fast forward to the present day and compression is almost ubiquitous in the broadcast and video production universe. Prominent among the compression codecs is MPEG-2 Long GOP, the product of the international Moving Picture Experts Group formed by the ISO and IEC. MPEG-2 Long GOP is the technical foundation of many professional recording formats including the HDVâ¢, XDCAM®, XDCAM HD, XDCAM EXâ¢ and XDCAM HD MPEG422 systems.
MPEG-2 Long GOP is so widespread because it combines the efficiency of two types of compression. Its intraframe compression squeezes out the redundancy that exists within individual pictures. But wait, there's more. The system's interframe compression squeezes out the redundancy that occurs when one frame of video in a Group of Pictures (GOP) is almost identical to the others. The success of MPEG-2 Long GOP is evident in thousands of productions from the biggest reality TV hits to newsmagazines and documentaries, from sports to education to indie film production.
In the face of this success, the food fights continue unabated with extravagant claims for AVC-I.
How AVC compares
It is true that AVC is based on MPEG-4, itself an evolution of MPEG-2. It's true that AVC is a respected family of compression standards, embraced by Sony for NXCAMâ¢ and consumer AVCHDâ¢ products. What's also true is that by using the entire set of compression tools as stipulated for the generic form of AVC-AVC Long GOP-AVC really does have twice the compression efficiency of MPEG-2 Long GOP. The kicker is that we're talking about AVC Long GOP, but the competitive claim is being put forward for AVC-I.
AVC Long GOP takes advantage of a powerful, advanced toolkit of interframe and intraframe compression techniques. It excels at modest bitrates by taking out massive interframe redundancies. In fact, the advantages in compression efficiencies offered by AVC are primarily based on its better exploitation of these frame-to-frame redundancies. Take away the genius-level interframe processing and you're left with something less impressive: a scheme with just 15-20% more efficiency than other intra-only techniques such as DV, JPEG and MPEG-2 Intra. This slight edge of AVC-I is overwhelmed by the interframe efficiency of MPEG-2 Long GOP. In the end, MPEG-2 Long GOP can produce significantly higher picture quality than AVC-I at a similar data rate.
For authoritative information on how the codecs really compare, and what kind of thinking goes into selecting an appropriate codec, I encourage you to read "Codec Technology for XDCAM Tapeless Products and Systems," a paper by Hugo Gaggioni, Chief Technology Officer at Sony. Tell Hugo that I sent you.
Compression fun facts
The next time you're at a cocktail party and meet an attractive person, try not to use any of the following as conversational gambits.
- A compression encoder must follow the syntax that the decoder will understand. But that still leaves considerable latitude for creativity and original engineering on the encoder side. The Sony MPEG-2 encoders of today are emphatically not the same as the encoders of yesteryear, even when the decoders are identical.
- What happens when a scene changes in the middle of a GOP? Sony encoders immediately recognize the change, insert an I-frame and they preserve the integrity of your imagery.
- MPEG-2 is everywhere you look, featured in hundreds of millions of devices. You'll find MPEG-2 enshrined in the ATSC high definition broadcast standard, cable TV, satellite TV, DVD as well as a compression option in the Blu-ray Discâ¢ standard.
- MPEG-4 encompasses quite disparate compression schemes including tools for low bit rates intended for web video, for moderate bitrates including the AVCHD format and remarkable tools for the high quality required by the MPEG-4 Simple Studio Profile (SStP) as used in the HDCAM SR system. SStP has been extended to support resolutions to 4K and data rates to 3.6 Gigabits per second.
- While compression can be performed in software, portable products often benefit from executing compression in hardware. Sony has devoted huge resources to developing dedicated compression silicon including the TORINO chip for MPEG-2 Long GOP and the new CURIE chip for MPEG-4 Simple Studio Profile.
Under the hood
For a really close inspection of what makes video compression tick from a guy who knows whereof he speaks, take a look at Hugo Gaggioni's tutorials, on Page 2. They're the last two parts of a larger series, Basics of Broadcast Technology. The complete series is featured at sony.com/videon.
Get articles like this in your inbox: Sign Up
Disclosure, to comply with the FTC’s rules 16 CFR Part 255 This article was either written by Sony employees or for Sony by an outside contractor. It is intended for the Sony Channel on ProVideo Coalition, which Sony sponsors.