| MPEG Overview |
Compression Technology :
an MPEG Overview
| MPEG Overview | This chapter presents an overview of the Moving Picture Experts Group (MPEG) standard that is implemented by the CL480. The standard is officially known as ISO/IEC Standard, Coded Representation of Picture, Audio and Multimedia/hypermedia Information, ISO 11172. It is more commonly referred to as the MPEG-1 standard. |
| MPEG Stream Structure | This section explains
the structure of an MPEG system stream and introduces
some concepts used in the rest of the chapter.MPEG System Stream StructureIn its most general form, an MPEG system stream is made up of two layers:
General Decoding ProcessFigure 2-1 shows a generalized decoding system for the audio and video streams. The system decoder extracts the timing information from the MPEG system stream and sends it to the other system components. (The Synchronization section has more information about the use of timing information for audio and video synchronization.) The system decoder also demultiplexes the video and audio streams from the system stream; then sends each to the appropriate decoder. The video decoder decompresses the video stream as specified in Part 2 of the MPEG standard. (See Inter-Picture Coding section and Intra-picture (Transform) Coding section for more information about video compression.) The audio decoder decompresses the audio stream as specified in Part 3 of the MPEG standard. Figure 2-1 General MPEG Decoding SystemVideo Stream Data HierarchyFigure 2-2 MPEG Data HierarchyA header and a series of one or more pictures intended to allow random access into the sequence. Figure 2-3 Location of Luminance and Chrominance ValuesFigure 2-4 Macroblock CompositionAudio Stream Data HierarchyFigure 2-5 Audio Stream StructureEach audio packet header contains the following information:
|
| Inter-Picture Coding | Much of the information
in a picture within a video sequence is similar to
information in a previous or subsequent picture. The MPEG
standard takes advantage of this temporal redundancy by
representing some pictures in terms of their differences
from other (reference) pictures, or what is known as
inter-picture coding. This section describes the types of
coded pictures and explains the techniques used in this
process.Picture TypesThe MPEG standard specifically defines three types of pictures: intra, predicted, and bidirectional. Intra pictures, or I-pictures, are coded using only information present in the picture itself. I-pictures provide potential random access points into the compressed video data. I-pictures use only transform coding (as explained in the Intra-picture (Transform) Coding section) and provide moderate compression. I-pictures typically use about two bits per coded pixel. Like I-pictures, P-pictures serve as a prediction reference for B-pictures and future P-pictures. However, P-pictures use motion compensation (see the Motion Compensation section) to provide more compression than is possible with I-pictures. Unlike I-pictures, P-pictures can propagate coding errors because P-pictures are predicted from previous reference (I- or P-) pictures. Figure 2-6 Forward PredictionFigure 2-7 Bidirectional PredictionVideo Stream CompositionFigure 2-8 Typical Display Order of Picture TypesFigure 2-9 Video Stream versus Display OrderingMotion Compensation
Four codings are therefore possible for each macroblock in a B-picture:
Backward prediction can be used to predict uncovered areas that do not appear in previous pictures. |
| Intra-picture (Transform) Coding | The MPEG
transform coding algorithm includes these steps:
|
| Synchronization |
The MPEG standard provides a timing mechanism that
ensures synchronization of audio and video. The standard
includes two parameters: the system clock reference (SCR)
and the presentation timestamp (PTS).
System Clock ReferencesFigure 2-11 SCR Flow in MPEG SystemPresentation Timestamps |
| Technology Links | The links listed below in some cases lead to downloadable software encoders and decoders. We are not endorsing these programs; in fact, if you want good, real-time, full-motion, high-quality digital video, hardware encoding and decoding solutions, and specifically OUR hardware solutions, are the only way to go. UC Berkeley MPEG Research:Basic background on MPEG compression plus downloadable MPEG decoders for Unix, DOS, and Windows. Also includes downloadable MPEG files. URL: http://www-plateau.cs.berkeley.edu/mpeg/ MPEG FAQ (by Scientific Vizualization Group)SciViz is a group of Italian researchers and scientists. They maintain a useful list of frequently asked questions about MPEG, in fact, many other MPEG-related pages point to this one for general MPEG information. This page also contains a comprehensive list of companies offering MPEG products. URL: http://www.crs4.it/~luigi/MPEG/mpegfaq.html MPEG Technical Info (by Enterprise Integration Technologies)Contains some useful information about translating Quicktime to MPEG on both Macintosh and Unix platforms. URL: http://www.eit.com/techinfo/mpeg/mpeg.html Open MPEG Consortium (OM-1)"OM-1 is a committee formed of software and hardware developers/manufacturers that has the goal of standardization of MPEG software & hardware codecs (coder/decoder). By establishing standards the committee aims at portability of MPEG titles across various manufacturer's decoders. " (from the OM-1 home page) Optibase LibraryFor people who can't even spell MPEG. This site contains two very readable articles: "Digital Video Primer" and "MPEG Primer." They won't satisfy techies but they do provide good overview material to keep your boss busy while you do real work. |