Skip to content
Compare

DivX vs Xvid: legacy MPEG-4 video codecs

Compare classic DivX and Xvid video, MPEG-4 Advanced Simple Profile, AVI files, FOURCC identifiers and decoding compatibility.

Classic DivX and Xvid commonly use MPEG-4 Part 2 video. DivX 3 and newer DivX-branded products are distinct cases, so the brand alone is not a codec identifier.

Codec families

PropertyClassic DivXXvid
Coding familyDivX 4/5/6: MPEG-4 Part 2MPEG-4 Part 2 ASP
Earlier variantsDivX 3: Microsoft MPEG-4-derivedNot a DivX 3 implementation
Common containerAVI / DIVXAVI
Typical FOURCCDIVX, DX50XVID

Xvid is a community-developed implementation of MPEG-4 Advanced Simple Profile. DivX later also marketed products based on H.264 and HEVC. An old AVI marked DivX is not necessarily encoded with the same technology as a recent DivX-branded file.

Advanced Simple Profile

Features such as B-frames, quarter-pixel motion compensation and global motion compensation may be used by MPEG-4 ASP encoders. Older hardware often implements only a subset. Profile, settings and packed bitstream conventions can affect decoding even when the file extension is familiar.

Quality and interchange

Compression quality depends on the source, encoder implementation, bitrate and settings. The brands do not establish an intrinsic quality ordering. Transcoding a legacy file to H.264 or HEVC can improve delivery compatibility but cannot recreate detail lost during its original encoding.

Identifying legacy files

Use the media file inspector to distinguish the AVI container from the actual video and audio codecs. FOURCC values are useful hints but may be ambiguous; the stream itself is the stronger evidence.

Specifications and sources

Windows playback

Media Player Codec Pack

MPC-FFmpeg (Plus x64)

MPC-FFmpeg provides an alternative playback route for the following formats: