Title: MPEG-1%20and%20MPEG-2%20Digital%20Video%20Coding%20Standards
1MPEG-1 and MPEG-2 Digital Video Coding Standards
- Author Thomas Sikora
- Presenter Chaojun Liang
2Overview
- Introduction
- Intra-picture Coding Techniques
- Inter-picture Coding Techniques
3What is MPEG?
- Stands for Moving Picture Expert Group
- Nickname to a family of International standards
used for coding audio-visual information in a
digital compressed format. - Includes MPEG-1, MPEG-2, and upcoming MPEG-4.
4MPEG-1
- Finalized in 1991
- Optimized to work at 352240, 30 f/s or 352288,
25f/s - Bit-rate is optimized for application of around
1.5 Mb/sec - Defined for progressive frames only
5MPEG-2
- Finalized in 1994
- Digital television broadcasting
- Target bit-rate raised to 4-9Mb/sec
- Main Profile, Main Level
- 720480 pixels, 30 frame/sec, 15Mb/sec
- Main Profile, High Level (HDTV)
- 19201280 pixels, 30 frame/sec, 80Mb/sec
6MPEG Video Layers
7Intra Frame Coding Techniques
Bit-Rate Control
Video Filter
Run-length Encoding
Bitstream Buffer
DCT
Quantizer
8Video Filter
- Subjective Redundancy
- Eyes more sensitive to changes in Luminance, less
to variations in Chrominance - R G B -gt Y Cb Cr
- Sample Chrominance 21 in both directions
9Video Filter
Color Space Transform
Sample
R G B
Y Cb Cr
Y Cb Cr
10Statistical Redundancy
11Discrete Cosine Transform
- Closely related to Discrete Fourier Transform
- Performed on 88 block
Forward DCT
Inverse DCT
12DCT Basis Patterns
13DCT Basis Patterns
Increasing Vertical Frequency (Down)
Increase Horizontal Frequency (Right)
14Variance Distribution of DCT Coefficients
15DCT Coefficient Quantization
- Higher frequency -gt Larger step size -gt more
coarsely quantized - Force as many of the DCT-Coefficients as possible
to zero or near zero
16Example Coefficients
17Run-Length Encoding
Run-Amplitude Pairs
Bit Stream
Variable Length Code Table
18Inter Frame Coding Techniques
- Exploit temporal redundancy
- Use Motion Estimation to eliminate temporal
redundancy
19Picture Types
- Intra Pictures (I-Pictures)
- Predicted Pictures (P-Pictures)
- Bi-directional Pictures (B-Pictures)
20Intra Pictures
- Coded with only info in the picture itself
- Random access points into the compressed data
- Moderate compress about 2 bits per coded pixel
21Predicted Pictures
- Coded with respect to the nearest previous
I-Picture or P-Picture
22Bi-directional Pictures
- Use both a past and future picture as a reference.
23Video Stream Composition
- Encoder chose frequency and location of
I-Pictures - Typical display order
24Video Stream vs Display order
25Motion Estimation
Tree moved down to the right
People moved farther to the right than tree
Frame 1
Frame 2
26Motion Estimation
- To adequately represent the change, or the
difference, between 2 video frames - Frame-wise direct minus not effective
- Macroblock-wise minus
- 2-D spatial search for each luminance macroblock
27Macroblock Matching
Frame 1
Frame 2
28Picture 1
Picture 2
Predicted Picture
Residual Error Picture
29Coding of Residual Errors
- Similar to Intra frame coding
- Different quantization matrix
- Motion vectors are also coded
30(No Transcript)
31(No Transcript)
32(No Transcript)
33(No Transcript)