Initial Verdict on Google’s WebM Video Format

Submitted by lalit on May 20, 2010 - 5:57pm.

Google announced the new open and free video format called WebM at Google IO yesterday. The WebM format includes VP8 – a high quality video codec, Vorbis audio codec and a container format based on Matroska media container. The video format is designed for web to deliver high quality video while efficiently adapting to the varying processing and bandwidth conditions found on broad range of web connected devices. Companies like Mozilla, Opera and Adobe are supporting the new WebM video format and they will add WebM support to their respective software platforms soon.

Google claims that when it comes to web video content the new WebM video format is more efficient and offers better quality the MPEG-4 H.264 format. However, many developers disagree with Google. One of the H.264 developers Jason Garrett-Glaser performed a detailed technical analysis of the new video format and came to the conclusion that WebM format is a mess. He wrote on his website:

Overall, VP8 appears to be significantly weaker than H.264 compression-wise. The primary weaknesses mentioned above are the lack of proper adaptive quantization, lack of B-frames, lack of an 8×8 transform, and non-adaptive loop filter. With this in mind, I expect VP8 to be more comparable to VC-1 or H.264 Baseline Profile than with H.264. Of course, this is still significantly better than Theora, and in my tests it beats Dirac quite handily as well.
In terms of decoding speed I’m not quite sure; the current implementation appears to be about 16% slower than ffmpeg’s H.264 decoder (and thus probably about 25-35% slower than state-of-the-art decoders like CoreAVC). Of course, this doesn’t necessarily say too much about what a fully optimized implementation will reach, but the current one seems to be reasonably well-optimized and has SIMD assembly code for almost all major DSP functions, so I doubt it will get that much faster.
I would expect, with equally optimized implementations, VP8 and H.264 to be relatively comparable in terms of decoding speed. This, of course, is not really a plus for VP8: H.264 has a great deal of hardware support, while VP8 largely has to rely on software decoders, so being “just as fast” is in many ways not good enough. By comparison, Theora decodes almost 35% faster than H.264 using ffmpeg’s decoder.

Jason has posted a detailed preview of the V8 video codec and WebM format on his website. If you want to learn more about the comparison of H.264 and WebM you should check out Jason’s article here. In the video below Google introduces the new WebM format at Google I/O 2010 keynote.