4

Yes, I know, H.264/AVC is here for everyone, and we're moving (slowly) towards H.265/HEVC, so why bother with these historic formats? Well, just because it's history. I admit my research has been limited to Google/forums/Wikipedia, but I haven't managed to get the relationship between these codecs straight.

Wikipedia DivX

There are two DivX codecs; the regular MPEG-4 Part 2 DivX codec and the H.264/MPEG-4 AVC DivX Plus HD codec.

Okay, the latter doesn't matter here, that's just their H.264 implementation. But this does seem to state that the first and famous DivX is an MPEG-4 Part 2 implementation.

Wikipedia MPEG-4 Part 2

Several popular codecs including DivX, Xvid and Nero Digital implement this standard.

Okay, but wasn't DivX some kind of rogue development, decompiled Microsoft code, then modified, and even the Microsoft code being a modification of MPEG-4 Part 2?

Wikipedia H.263

MPEG-4 Part 2 is H.263 compatible in the sense that a basic H.263 bitstream is correctly decoded by an MPEG-4 Video decoder.

So there's overlap between the two, but one is for movies and such (MPEG), the other for teleconferencing and such (ITU), so their specced out for different contexts.

Sorry for the confused question … guess what I'm looking for is a mental map of these codecs with their relationships and how they came about and in how far they are the same and/or different.

1
  • This indeed a bit complicated topic, MPEG-4 has a weird history. I will try to answer this once I verified some of my "knowledge".
    – timonsku
    Jun 5, 2014 at 23:47

1 Answer 1

2

H.263 was a sole development of the ITU but I wouldn't bother all too much with the specified use case of video conferencing. It's a codec with the main purpose of improving the compression compared to older codecs which of course is beneficial for video conferencing where bandwidth is a very limiting factor, especially at the time the codec got developed.

The MPEG then developed MPEG4-Part 2 which is based upon H.263 and offers bit-stream compatibility to the base-line level of h.263, meaning there is a h.263 compatible bit-stream in an MPEG4-Part 2 encoded video that you could call the basis for the actual MPEG4-Part 2 video stream that extended the h.263 compatible stream. So MPEG4-Part 2 offers a few more features than h.263 but essentially they are very closely related.

With MPEG4-Part 2 started this weird age of many companies making their own implementation of these two codecs resulting in a few new container formats that were only used by these specific implementations f.e. RealMedia's .rmf/.rmvb or DivX's altered version of AVI, .divx. RealMedia even made their own codec again based on h.263. A horrible age of a ton of different formats that needed their own browser plugins and players because they weren't fully compatible to each other, either because of their container or slight alterations to either h263 or MPEG-4 Part 2.

Which made this codec generation a bit special, while .MP4 was already present at the time in an early form it was barley used as the container format for MPEG4-Part 2. So h.263 and MPEG-4 Part 2 was found in a ton of different container formats unlike h.264 which has is also found in several container formats but with the intended container format MP4 being the defacto standard that is found everywhere. The most popular alternative being the open source Matroska container format (.mkv/.mka). Apple's QuickTime .mov also supports h.264 but even in the Apple Ecosystem MP4 is dominating. In my opinion the biggest reason why h.264 is such a huge success today.

DivX began as a reversed engineered version of Microsoft's MPEG4-Part 2 implementation. At that point there was no company behind DivX, it gained popularity because of its good compression at that time and also being free to use. After DivX made it into a company they revamped the code for the codec as it was still based on some Microsoft code.

Though it still was an MPEG4-Part 2 implementation after the rewrite and became a pretty popular codec that was supported by a lot of DVD players at the time. Some developers of DivX went on and made the open source version called Xivd (that used AVI instead of .divx) that gained a lot of popularity in the movie "pirating" scene and was their standard for encoding videos for several years until h.264 came along. Though even after h.264 was readily in use by consumers Xvid was still used for a few years because of it's good understanding in the scene. It became somewhat of an art to encode movies in Xvid because of all those sophisticated encoding options available in the Xvid encoder. Xvid had a few advanced features that weren't implemented in DivX which made videos encoded with those feature in-compatible with DivX certified devices.

Since MPEG4-Part 2 the MPEG and ITU-T are jointly developing codecs, H.264 being their first co-operation. This is the reason why the codec is often referred to as h.264/MPEG4-4 AVC. MPEG-4 AVC being the MPEG's/ISO name for the standard and h.264 that of the ITU-T. Different names but identical standards. The same goes for h.265/HEVC.

I hope that helped a bit clearing things up, though a lot of this is also knowledge taken from Wikipedia, so it might not be new to you but I tried to put it an order that made sense.

1
  • I would like to thank you very much for this detailed and interesting answer!
    – Lumi
    Jun 11, 2014 at 6:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.