Sie sind auf Seite 1von 15

Using 10-bit AVC/H.

264 Encoding with 4:2:2 for


Broadcast Contribution

Pierre Lauzon
North America Sales Director

Based on a paper by Pierre Larbier, ATEME CTO

Confidential
Confidential
Contribution Requirements
● Contribution Feeds Require the Highest Possible Quality to Support
Multiple Generations:
• Must Maintain Pixel Depth and Chroma Information

● The Entire Production Chain is 10 bits


• Starting form the SDI/HDSDI
• Film scanning, cameras, AVC-Intra, video editing, tape decks, playout servers, etc

● Bit Rates Ranging form 15Mbps to 3G


● Latencies from 300msec to 1 sec
● Transport over Satellite
• Up to 60Mbps with DVB-S2
• Maximize the number & quality programs

● Transport over Fiber Optics


• Very high bandwidth available… at some operations cost

Confidential
Confidential
Contribution Today – Tomorrow?

● Large amount of content ingested at less than 60Mbps


● MPEG-2 [4:2:2 Profile] is most widely used – 19Mbps, 55Mbps
o JPEG-2000 (above 100Mbps) - Fiber
o AVC/H.264 in 4:2:2 8-bit (up to 60Mbps) – intermediate step (skipped)
o Limited gain over MPEG-2 at high bitrates
● H.264 Encoders & Decoders Supporting All High 4:2:2 Profile tools
are being released
o 4:2:2 Chrominance
o 10 bit Depth
o Better Bit Rate Efficiency
o 1080p60 a must for new deployments

Confidential
Confidential
A Full Range of MPEG-4 Contribution Applications

50
H264 4:2:2
H264 4:2:2
JPEG2000
45
H264 4:2:0
PSNR (dB)

MPEG2 4:2:2
40
MPEG2 4:2:0

35

30
<10 Mbps 30Mbps 50Mbps 60Mbps
0 20 40 80 100Mbps 120
Bitrates Mbits/s
IP contribution: Satellite contribution: High Video quality Contribution:
Decrease Bandwidth Increase Service Density Increase Video Quality

Confidential
Confidential
AVC/H.264 Broadcast Profiles

Coding Tools Main Profile High Profile High 4:2:2 Profile

I,P,B slices X X X
Multiple Reference Pictures X X X
CAVLC, CABAC Entropy Coding X X X
Interlaced Coding X X X
Weighted Prediction X X X
In-loop Filtering X X X
4:2:0 Chroma Format X X X
8-bit Sample Depth X X X
8x8 Transform X X
8x8 Intra Prediction X X
Quantization Scaling Matrices X X
Separate Chroma Quantizers X X
Monochrome Video Format X X
9 and 10-bit Sample Depth X
4:2:2 Chroma Format X

Confidential
Confidential
4:2:0 Compression

● Professional video sources are 4:2:2


● 4:2:0 compression requires resampling filters

4:2:2 4:2:2 → 4:2:0 4:2:0 4:2:0 4:2:0 → 4:2:2 4:2:2


Downscaling Encoding Decoding Upscaling
SDI SDI

Encoder Decoder

• Progressive and Interlace chroma location schemes are different


• Challenges for existing chroma re-sampling architecture:
o Possible mismatch between the 2 re-sampling filters
o Re-sampling filters quality not guaranteed
o Choosing between Progressive and Interlace filters is not obvious

Confidential
Confidential
4:2:0 Chroma Artifacts

● Mainly caused by a mismatch between downscale/upscale filters


o Color bleeding
o Chroma detail loss
o Interlace/Progressive artifacts
● Worsen with each generation
● Difficult to control in a Production chain
Detail Loss

Color
Smearing Interlace
artifacts

After 5x 4:2:2 ↔ 4:2:0 conversions Source picture

Confidential
Confidential
4:2:2 Compression - Concatenation
● At the 1st generation, with perfect re-sampling filters, 4:2:2 and 4:2:0
overall quality is roughly the same:
CrowdRun, 1080i25
49

47

45
Combined PSNR (dB)

43

41
4:2:0
39 4:2:2

37

35

33
20 40 60 80 100 120 140 160 180 200 220
Bitrate (Mbps)

4:2:2 vs. 4:2:0 with perfect re-sampling filters

• But in multi-generation and/or with mismatched sampling filters,


4:2:2 quality is much better than 4:2:0
Confidential
Confidential
8-bit versus 10-bit Compression: Precision

● Professional video sources are 10-bit


● 8-bit compression requires rounding before compression

10-bit 10-bit → 8-bit 8-bit 8-bit 8-bit → 10-bit 10-bit


Downscaling Encoding Decoding Upscaling
SDI SDI

Encoder Decoder

• Motion compensation and loop-filtering are performed using 8-bit


samples
• Challenges for 8-bit architecture:
o Scalers match and quality not guaranteed
o Reduced accuracy in the encoding process reduces coding efficiency
o Luma shift caused by lack of rounding control

Confidential
Confidential
10-bit Compression: Banding Removal

● Processing video with 8-bit sample depth may create banding


artifacts in shallow changing light scenes:
o Blue skies
o Underwater scenes
o Sunsets
● These defects are not visible at 10-bit or more

Banding artifacts

8-bit compression 10-bit compression

Confidential
Confidential
10-bit Compression: Increased Coding Efficiency

● Coding efficiency is increased: less bit-rate for the same quality


● Rate saving between 5% and 20% on most sources
● Most of the gain is provided with 10-bit coding. 12-bit and 14-bit
coding efficiency gain is much smaller
Woman with a Bird Cage, 1080i30 Woman with a Bird Cage, 1080i30
50 0.60

48

PSNR Y gain relative to 8-bit (dB)


0.50
46

44
0.40
42
PSNR Y (dB)

40 8 bit 10 bit
0.30
10 bit 12 bit
38
12 bit
36 0.20
34

32 0.10

30
0.00
28
0 20 40 60 80 100 120 140 160 180 200 220
0 15 30 45 60 75 90 105 120 135 150
Bitrate (Mbps) Bitrate (Mbps)

RD curve at 8,10 and 12-bit Distortion gain vs 8-bit compression

Confidential
Confidential
10-bit Compression: Artifacts Reduction

● 10-bit compression reduces 3 kind of artifacts:


o Contouring
o Smearing
o Mosquito noise
● As a side-effect, 10-bit compression also reduces random
distortion of shallow textured objects (clouds for instance)

Mosquito
Noise

Contouring

8-bit compression 10-bit compression

Confidential
Confidential
MPEG-4/AVC H422P vs. MPEG-2 422P

● H.264 H422P outperforms MPEG-2 422P in Contribution


applications:
o 10-bit support
o More than 20Mbps saved at Contribution rates

Woman with a Bird Cage, 1080i30 CrowdRun, 1080i25


51 46
50 44
49
48 42
Combined PSNR (dB)

Combined PSNR (dB)


47 40
46
45 38
44 MPEG-2 MPEG-2
36
43 AVC/H.264 AVC/H.264
42 34
41 32
40
39 30
38 28
0 20 40 60 80 100 120 140 160 0 20 40 60 80 100 120 140 160
Bitrate (Mbps) Bitrate (Mbps)

Example 1 Example 2

Confidential
Confidential
Summary

● Supporting the native video format, H.264 High422P was


designed for high quality professional applications:

⇒ 4:2:2 sampling format reduces chroma artifacts

⇒ 10-bit compression increases coding efficiency over 8-bit

⇒ 10-bit compression helps removing artifacts difficult to mask

⇒ H.264 High422P outperforms legacy MPEG-2 422P, at all bitrates

H.264 4:2:2 10-bit compression is the ideal


encoding format for Contribution applications
Confidential
Confidential
Thank You !

Pierre LAUZON
ATEME Canada
t: (514) 907-1351
m: (514) 862-0836
p.lauzon@ateme.com

Confidential
Confidential

Das könnte Ihnen auch gefallen