Lecture 9: MPEG-2
Instructor: Kate Ching-Ju Lin (林靖茹)
Wireless Communication Systems
@CS.NCTU
1
- Chap. 11.3 of “Fundamentals of Multimedia”
Some reference from http://media.ee.ntu.edu.tw/courses/dvt/15F/
Wireless Communication Systems @CS.NCTU Lecture 9: MPEG-2 - - PowerPoint PPT Presentation
Wireless Communication Systems @CS.NCTU Lecture 9: MPEG-2 Instructor: Kate Ching-Ju Lin ( ) Chap. 11.3 of Fundamentals of Multimedia Some reference from http://media.ee.ntu.edu.tw/courses/dvt/15F/ 1 Outline Introduction
1
Some reference from http://media.ee.ntu.edu.tw/courses/dvt/15F/
2
3
4
at 4-9 Mb/s
communications
(scalable) coding
temporal scalability, hybrid scalability (up to 3 layers)
be decoded by MPEG-1 decoder
5
6
7
SP MP SNRP SSP HP
New profiles:
8
9
Level Profile Simple 4:2:0 Main 4:2:0 SNR Scalable 4:2:0 Spatially Scalable 4:2:0 High 4:2:0 or 4:2:2
High 1920x1152 (60 frames/s) High-1440 1440x1152 (60 frames/s) Main 720x576 (30 frames/s) Low 352x288 (30 frames/s) 15 Mbit/s 80 Mbit/s 60 Mbit/s 15 Mbit/s 4 Mbit/s 15 Mbit/s for 2 layers 60 Mbit/s for 3 layers 100 Mbit/s for 3 layers 4 Mbit/s for 2 layers 80 Mbit/s for 3 layers 20 Mbit/s for 3 layers
* numbers in the table are maximum allowed
10
11
12
13
I P B P B B B B Bidirectional Interpolation Prediction
14
the other from forward prediction
15
Y Cb Cr difference macroblock DCT, Q, Entropy coding
16
1I 2B 3B 4P 5B 6B 7P 8B 9B 10I 11B 12B 13P 14B 15B 16P
1I 4P 2B 3B 7P 5B 6B 10I 8B 9B 13P 11B 12B 16P 14B 15B GOP1 GOP2 GOP1 GOP2 (CLOSED) (OPEN)
17
I = Intra-Picture coding, allow random access, for reference P = Predictive coding, causal prediction only, can be referenced B = Bi-directional coding, noncausal prediction, never referenced
18
19
factors
to the start of the next slice à prevent error propagation
20
21
4:2:0 4:2:2 4:4:4 Y Cb Cr Y Cb Cr Y Cb Cr
22
Top field Bottom field
23
24
Current Frame Reference Frame
16X16 16X16
25
Current Field
16X16 16X16 16X16
OR Reference Fields
16X16 16X16 16X16
OR
26
temporal spatial spatial temporal
MB in a B-frame
Current Ref
27
two 16 × 8 parts
28
16 16 16 8 8
are taken at the same time
29
Current Frame
16X8
OR Reference Frame
16X8 16X8 16X8 16X8 16X8
OR spatial time spatial time
Current Frame
16X8
Average Reference Frame
16X8 16X8 16X8 16X8 16X8
V1 PV1 PV2 V2 Average
31
Current Field
16X16 16X16 16X16
Reference Fields Average V1 PV1
32
0.5 1 1.5 2 2.5 3 3.5 4 4.5
0.5 1 1.5 2 2.5 3 3.5 4 4.5 Field Vector from bitstream dmv Derived Vectors Top Bottom Top Bottom Reference Picture Picture Being Predicted Figure 7-12. Scaling of motion vectors for dual prime prediction
33
34
Current Field
16X8
OR Reference Fields OR
16X8 16X8 16X8 16X8 16X8
35
Motion Compensation Mode Used in Field Pictures? Used in Frame Pictures? Frame Prediction for Frame Pictures No Yes Field Prediction for Field Pictures Yes No Field Prediction for Frame Pictures No Yes Dual-Prime for P-Pictures Yes Yes 16x8 MC for Field Pictures Yes No
36
37
Frame format Field format
38
39
Zigzag (progressive) Alternate (interlaced)
40
41
enhancement layer
bandwidth fluctuation)
42
43
Video in Lower level coded bitstream out Upper level coded bitstream out DCT
+
IDCT
+
MCP VLC Q IQ DCT
+
IDCT
MCP VLC Q IQ W
44
VLD IQ IDCT MCP VLD IQ IDCT
+
MCP
+
Lower level coded bitstream in Lower level decoded video out Upper level decoded video out Upper level coded bitstream in W
45
DCT
+
IDCT
+
MCP Q VLC VLC Q Video in IQ Lower level coded bitstream out Upper level coded bitstream out IQ coarse Q fine Q
46
VLD IQ IDCT MCP
+
VLD IQ IDCT
+
MCP
+
Upper level coded bitstream in Upper level decoded video out Lower level decoded video out Lower level coded bitstream in coarse Q fine Q
47
48
49
50
51
types of multimedia information into one stream
52
software based process
a disk )
the ability to include multiple programs in a single stream
error-prone channels
53