MPEG-4 Part 2
MPEG-4 Part 2, MPEG-4 Visual is a video encoding specification designed by the Moving Picture Experts Group. It belongs to the MPEG-4 ISO/IEC family of encoders. It uses block-wise motion compensation and a discrete cosine transform, similar to previous encoders such as MPEG-1 Part 2 and H.262/MPEG-2 Part 2.
Examples of popular implementations of the encoder specifications include DivX, Xvid and Nero Digital.
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. In MPEG-4 Visual, there are two types of video object layers: the video object layer that provides full MPEG-4 functionality, and a reduced functionality video object layer, the video object layer with short headers. MPEG-4 Part 2 is partially based on ITU-T H.263. The first MPEG-4 Video Verification Model used ITU-T H.263 coding tools together with shape coding.
History
The MPEG-4 Visual format was developed by the Moving Picture Experts Group committee. The standard was developed using patents from over a dozen organizations, listed by MPEG LA in a patent pool. The majority of patents used for the MPEG-4 Visual format were from three Japanese companies: Mitsubishi Electric, Hitachi, and Panasonic. See Patent holders below for a full list of patent holders.Editions
Profiles
To address various applications ranging from low-quality, low-resolution surveillance cameras to high definition TV broadcasting and DVDs, many video standards group features into profiles and levels. MPEG-4 Part 2 contains approximately 21 profiles.The most commonly deployed profiles are the Advanced [|Simple Profile] and the Simple Profile, which is a subset of the ASP.
Other profiles include the Advanced Coding Efficiency Profile, the Advanced Real Time Simple Profile, the Core Profile, the Main Profile, and the [|Simple Studio Profile].
Most of the video compression schemes standardize the bitstream leaving the encoder design to the individual implementations. Therefore, implementations for a particular profile are all technically identical on the decoder side. A point of comparison would be that an MP3 file can be played in any MP3 player, whether it was created through iTunes, Windows Media Player, LAME, or the common Fraunhofer encoder.
Simple Profile (SP)
The Simple Profile is mostly aimed for use in situations where low bit rate and low resolution are mandated by other conditions of the applications, like network bandwidth, device size etc. Examples are mobile phones, some low end video conferencing systems, electronic surveillance systems etc.Levels
Advanced Simple Profile (ASP)
The Advanced Simple Profile was not included in the original standard. Its notable technical features relative to the Simple Profile, which is roughly similar to H.263, include:- Support for "MPEG"-style quantization
- Support for interlaced video
- Support for B pictures
- Quarter Pixel motion compensation
- Global motion compensation
The quarter-pixel motion compensation feature of ASP was innovative, and was later also included in later designs such as MPEG-4 Part 10, HEVC, VC-1 and VVC. Some implementations of MPEG-4 Part 2 omit support for this feature, because it has a significantly harmful effect on the speed of software decoders and it is not always beneficial for quality.
The global motion compensation feature is not actually supported in most implementations although the standard officially requires decoders to support it. Most encoders do not support it either, and some experts say that it does not ordinarily provide any benefit in compression. When used, ASP's global motion compensation has a large unfavorable impact on speed and adds considerable complexity to the implementation.
Levels
Simple Studio Profile (SStP)
The Simple Studio Profile has six levels, ranging from SDTV to 4K resolution. SStP allows for up to 12-bit bit depth and up to 4:4:4 chroma subsampling, using intra-frame coding only. SStP is used by HDCAM SR.Levels
Patent holders
MPEG-4 Part 2 patents have expired worldwide, the last one on January 28, 2024. Two patents related to this technology remain active in Brazil, each one owned by Dolby Laboratories and Siemens. The following organizations held patents for MPEG-4 Visual technology, as listed in the patent pool administered by MPEG LA.| Organization | Patents |
| Mitsubishi Electric | 255 |
| Hitachi | 206 |
| Panasonic | 200 |
| Sun Patent Trust | 125 |
| Toshiba | 96 |
| Samsung Electronics | 92 |
| Sony | 84 |
| Philips | 73 |
| Sharp Corporation | 44 |
| Pantech | 36 |
| Robert Bosch GmbH | 27 |
| Nippon Telegraph and Telephone | 24 |
| GE Technology Development | 23 |
| CIF Licensing | 20 |
| Dolby | 19 |
| Telenor | 19 |
| Siemens AG | 15 |
| JVC Kenwood | 14 |
| Orange S.A. | 14 |
| LG Electronics | 13 |
| Fujitsu | 11 |
| ZTE | 10 |
| 9 | |
| BT Group | 3 |
| Calmare Therapeutics | 2 |
| Cable Television Laboratories, Inc. | 1 |
| Canon Inc. | 1 |
| KDDI | 1 |
| Microsoft | 1 |
| Oki Electric Industry | 1 |
| Sanyo | 1 |
Criticisms
MPEG-4 Part 2 has drawn some industry criticism. FFmpeg's maintainer Michael Niedermayer has criticised MPEG-4 for lacking an in-loop deblocking filter, GMC being too computationally intensive, and OBMC being defined but not allowed in any profiles among other things. Microsoft's Ben Waggoner states "Microsoft went down the codec standard route before with MPEG-4 part 2, which turns out to be a profound disappointment across the industry - it didn't offer that much of a compression advantage over MPEG-2, and the protracted license agreement discussions scared off a lot of adoption. I was involved in many digital media projects that wouldn't even touch MPEG-4 in the late 1990s to early 2000s because there was going to be a 'content fee' that hadn't been fully defined yet."Popular software implementations
- 3ivx
- DivX
- HDX4
- libavcodec
- Nero Digital
- QuickTime
- Xvid