DivX

From Wikipedia, the free encyclopedia

This article is about the video codec DivX. For the pay-per-view DVD system, see DIVX.
DivX
DivX logo
Developer: DivX, Inc.
Latest release: 6.4 / October 3, 2006
OS: Cross-platform
Use: Media player / Codec / Media format
License: proprietary
Website: www.divx.com

DivX is a video codec created by DivX, Inc. (formerly DivXNetworks, Inc.), which has become popular due to its ability to compress lengthy video segments into small sizes while maintaining relatively high visual quality. DivX uses lossy MPEG-4 Part 2 compression, where quality is balanced against file size for utility. It is one of several codecs commonly associated with ripping, where audio and video multimedia are transferred to a hard disk and transcoded. As a result, DivX has been a center of controversy because of its use in the replication and distribution of copyrighted DVDs. Many newer "DivX Certified" DVD players are able to play DivX encoded movies, although the Qpel and GMC features are often omitted to reduce processing requirements so, for compatibility reasons, they are excluded from the base DivX encoding profiles.

Contents

[edit] Name

"DivX" should not be confused with "DIVX", an unrelated attempt at a new DVD rental system employed by the US retailer Circuit City. The winking emoticon in the early "DivX ;-)" codec name was a tongue-in-cheek reference to the failed DIVX system.

[edit] Early work

DivX ;-) 3.11 Alpha and later 3.xx versions refers to a hacked version of the Microsoft MPEG-4 Version 3 video codec, extracted around 1998 by French hacker Jerome Rota (also known as Gej). The Microsoft codec, which originally required that the compressed output be put in an ASF file, was altered to allow other containers such as AVI. Rota hacked the Microsoft codec because newer vesions of the Windows Media Player wouldn't play his video portfolio and résumé that were encoded with it. Instead of re-encoding his portfolio, Rota and German hacker Max Morice [1] decided to reverse engineer the codec, which "took about a week" [2],

From 1998 through 2002, independent enthusiasts within the DVD-ripping community created software tools which dramatically enhanced the quality of video files that the DivX ;-) 3.11 Alpha and later 3.xx versions could produce. One notable tool is Nandub, a modification of the open-source VirtualDub, which features two-pass encoding (termed "Smart Bitrate Control" or SBC) as well as access to internal codec features.

[edit] DivXNetworks

In early 2000, Jordan Greenhall recruited Rota to form a company (originally called DivXNetworks, Inc., renamed to DivX, Inc. in 2005) to improve DivX and steward its development. This effort resulted first in the release of the "OpenDivX" codec and source code on January 15, 2001. OpenDivX was hosted as an open source project on the Project Mayo web site hosted at projectmayo.com (the name comes from "mayonnaise", because, according to Rota, both DivX and mayonnaise are both "French and very hard to make." [3]). The company's internal developers and some external developers worked jointly on OpenDivX for the next several months, but the project eventually stagnated.

In early 2001, DivX employee "Sparky" wrote a new and improved version of the codec's encoding algorithm known as "encore2." This code was included in the OpenDivX public source repository for a brief time, but then was abruptly removed. The explanation from DivX at the time was that "the community really wants a Winamp, not a Linux." It was at this point that the project forked. That summer, Rota left the French Riviera and moved to San Diego "with nothing but a pack of cigarettes"[4] where he and Greenhall founded what would eventually become DivX Inc. [3]

DivX took the encore2 code and developed it into DivX 4.0, initially released in July 2001. Other developers who had participated in OpenDivX took encore2 and started a new project—Xvid—that started with the same encoding core. The company released a clean room version of the codec as DivX 4.0 in July 2001. DivX, Inc has since continued to develop the DivX codec, releasing DivX 5.0 in March 2002. By the release of version 5.2.1 on 2004-09-08, the DivX codec was substantially feature complete[2]. Changes since then have tended to focus on speed, and encouraging wider hardware player support.

[edit] DivX 6

DivX 6 media container icon

The latest generation, DivX 6, was released on June 15, 2005 and expands the scope of DivX from being just a codec to including a full media container format. DivX 6 introduces a new file format called "DivX Media Format" (with a .divx extension) that includes support for the following DVD-like features:

  • Interactive video menus
  • Multiple subtitles
  • Multiple audio tracks
  • Chapter points
  • Other metadata
  • Multiple format

While in previous generations video encoded with DivX was analogous to video formats such as MPEG-2, in its 6.0 generation the new DivX Media Format is analogous to media container formats such as Apple's QuickTime. In much the same way that media formats such as DVD specify MPEG-2 video as a part of their specification, the DivX Media Format specifies MPEG-4-compatible video as a part of its specification. However, despite the use of the ".divx" extension, this format is simply the AVI file format by another name. The methods of including multiple audio and even subtitle tracks involve storing the data in RIFF headers and other such AVI hacks which have been known for quite a while, such that even VirtualDubMod supports them. Of course, the traditional method of creating standard AVI files is still supported.

[edit] Spyware in prior versions

At one point, DivXNetworks offered for download an "ad supported" version of their DivX Professional product free of charge to users who were willing to view advertisements. The ads in question were delivered by the notorious Gator adware software. While this attracted much criticism at the time, it should be noted that users had to manually select the "ad supported" download rather than the for-pay professional version or the free version. Additionally, users were informed during installation of the ad-supported version that the Gator software would be installed on their PC and were presented with a license agreement to which they had to consent in order to continue the installation. Unfortunately, the Gator software would still install parts of itself without the user agreeing to this installation, and was notoriously difficult to remove after installation; this raised considerable consternation amongst DivX users, causing many to turn to its Open Source rival, Xvid. The latter is freely available without installing adware and has been demonstrated in independent comparisons to produce better quality output (see section on competitors below).

Due to the generally hostile opinion towards spyware on the Internet, DivXNetworks announced on the DivX.com web site that, from July 15, 2004, no further DivX software would incorporate any adware [3]. Free versions of DivX Pro before 5.2 typically contained spyware. From 5.2 onwards, including version 6, no spyware was included. When accessed in March 2006, the Professional version of DivX was only available in the form of a paid release or a 6-month free trial with no adware included.

[edit] Current version

The current version of the DivX Community Codec, which is the same for all platforms, is version 6.4, available from DivX.com. The latest version of the DivX package for Windows 2000/XP (which contains DivX Player 6.4.0.13, DivX Community Codec 6.2.5, and DivX Web Player 1.0) is version 6.4, and the latest version of the DivX package for Mac OS X (which contains DivX Player 1.0.3, DivX Community Codec 6.2.5, and DivX Web Player 1.0.2) is version 6.5, released May 25, 2006. In addition, an unofficial DivX for Linux codec update has also been released at version 6.1.1. The DivX codec and DivX Player are available for free at the DivX website. Paying customers can access additional features of the DivX codec in the registered version, known as DivX Pro, and can also use DivX Converter, a one-click encoding application as a revamp of Dr.DivX and associated encoding tools (such as the Electrokompressiongraph™, or EKG, which helped increase the viewability of highly compressed high-motion scenes). The latest version of DivX Converter for Windows is 6.2.1, and the latest version of DivX Converter for Mac is 1.1.1. Current versions however do access a domain name server.

[edit] Web player

Recently DivX have also released the DivX Web Player 1.0.1 (formerly known as the DivX Browser Plug-In Beta) via the DivX Labs website, demonstrating 720p HD playback live inside major browsers for Windows and Mac OS. Dr DivX 2 OSS, an Open Source DivX transcoding application, is available from SourceForge.

[edit] DivX Profiles

DivX has defined many profiles, which are sets of MPEG-4 features as determined by DivX. Because the grouping is different from what is specified in the MPEG-4 standard, there is a DivX-specific device certification process for device manufacturers. [5] DivX's profiles differ from the standardized profiles of the ISO/IEC MPEG-4 international standard.

Profiles
Handheld Portable Home Theater High Def
Supports all resolutions up to maximum of DivX 5.xx only 176 x 144 @ 15 fps DivX 4.xx & 5.xx720 x 480 @ 30 fps; 720 x 576 @ 25 fps DivX 3.11352 x 240 @ 30 fps; 352 x 288 @ 25 fps DivX 3.11, 4.xx & 5.xx 720 x 480 @ 30 fps 720 x 576 @ 25 fps DivX 4.xx & 5.xx 1280 x 720 @ 30 fps
Macroblocks per second 1485 DivX 4.xx & 5.xx 40500 DivX 3.11 9900 40500 108000
Maximum average bitrate 200 kbps DivX 4.xx & 5.xx 4000 kbps DivX 3.11 768 kbps 4000 kbps 4000 kbps
Maximum peak bitrate during any 1 second of video 400 kbps DivX 4.xx & 5.xx 8000 kbps DivX 3.11 2000 kbps 8000 kbps 20000 kbps
Minimum VBV buffer size (Kilobytes) 32k bytes DivX 4.xx & 5.xx 384k bytes DivX 3.11 128k bytes 384k bytes 768k bytes

[edit] Encoding applications

The original closed source Dr.DivX terminated at version 1.06 for DivX 5.21. Work on an open source version has begun. Dr.DivX OSS offers greatly expanded features over the free DivX converter application, that was bundled with the codec from version 6 onwards.

Other applications exist, such as AutoGK (no longer updated) and VirtualDub.

[edit] Open source

An open source version of the codec—called OpenDivX®—was released by DivX in early 2001, and this version served as the basis for the open source Xvid codec, the source code of which is largely maintained by Xvid Solutions.

[edit] Competitors

The main competitors in the for-license video compression software market are Adobe's Flash 8 (using ON2's VP6), Microsoft's Windows Media Video series, Apple Computer's QuickTime, and the RealNetworks RealVideo series.

While DivX has long been renowned for its excellent video quality, its open-source equivalent Xvid, also based on MPEG-4 Part 2, now offers comparable quality. In a series of subjective quality tests at Doom9.org, the DivX codec was beaten by Xvid in the 2003, 2004, and 2005 tests.

The open source library libavcodec can decode MPEG-4 video encoded with DivX (and other MPEG-4 codecs, such as Xvid or libavcodec MPEG-4). Combined with image postprocessing code from the MPlayer project, it has been packaged into a DirectShow decoding filter called ffdshow, which can be used with most Windows video players and reportedly achieves higher image quality while generating less CPU load than the DivX codec[6].

Since the standardization of H.264/MPEG-4 AVC, also known as MPEG-4 Part 10, a new generation of codecs has arisen, such as x264. Despite being at a relatively early stage of development, these codecs out-performed DivX in Doom9's 2005 quality test, thanks to the more advanced features of MPEG-4 Part 10. Part 10's advanced features come at a cost: they are two to three times more CPU intensive than the relatively lightweight algorithms used in the DivX codec. It remains to be seen whether DivX will release a new codec based on the newer specification, like the Xvid team did with their Xvid AVC codec (not yet released to the public).

[edit] References

  1. ^ DVD & Internet Piracy - What is the Truth Behind It?. Retrieved on December 9, 2006.
  2. ^ Escaping the Napster trap. Retrieved on March 15, 2001.
  3. ^ a b Escaping the Napster trap. Retrieved on March 15, 2001.
  4. ^ DivX CEO on Video, YouTube, iPod. Retrieved on December 8, 2006.
  5. ^ [1] DivX Profiles from support forums
  6. ^ ffdshow review from afterdawn.com, accessed 17 August 2006

[edit] See also

[edit] External links