SlideShare ist ein Scribd-Unternehmen logo
1 von 20
MPEG 4, H.264 Compression StandardsMPEG 4, H.264 Compression Standards
Presented by Dukhyun Chang
(dhchang@mmlab.snu.ac.kr)
ContentsContents
Introduction
Features of the H.264/AVC
Profile & performance of H.264/AVC
Conclusion
Evolution of Video coding StandardsEvolution of Video coding Standards
ITU-T
Standard
Joint
ITU-T/MPEG
Standards
MPEG
Standard
1988 1990 1992 1994 1996 1998 2000 2002 2004
H.261
(Version 1)
H.261
(Version 2)
H.263 H.263+ H.263++
H.262/MPEG-2 H.264/MPEG-4 AVC
MPEG-1
MPEG-4
(Version 1)
MPEG-4
(Version 2)
Structure of H.264/AVC video encoderStructure of H.264/AVC video encoder
Control
Data
Video Coding Layer
Data Partitioning
Network Abstraction Layer
H.323/IP MPEG-2 etc.H.320 MP4FF
Coded Macroblock
Coded Slice/Partition
ApplicationsApplications
Broadcast
Streaming
Content
Server
Internet
Link
Mobile
Communication
Storage
DMB
Multimedia Service
VCL
NAL
Mpeg-2
systems
RTP
payload
ISO media
file format
encapsulation
H.320,
H.324/M
NAL gives VCL network
independent interface
Data Structure of MPEGData Structure of MPEG
GOP GOP GOPSH SH SH
I B B P B B P …… BBB P
slice
slice
MB MB MB MB MB MB ….
Y1
Y3
Y2
Y4
Cb Cr
Sequence
GOP
Picture
Slice
Macroblock
ContentsContents
Introduction
Features of the H.264/AVC
Profile & Performance of H.264/AVC
Conclusion
Basic coding structure of H.264/AVC for a macroblockBasic coding structure of H.264/AVC for a macroblock
Entropy
Coding
Scaling & Inv.
Transform
Motion-
Compensation
Control
Data
Quant.
Transf. coeffs
Motion
Data
Intra/Inter
Coder
Control
Decoder
Motion
Estimation
Transform/
Scal./Quant.
-
Input
Video
Signal
Split into
Macroblocks
16x16 pixels
Intra-frame
Prediction
De-blocking
Filter
Output
Video
Signal
New features of H.264
TransformTransform
MPEG-4 AVC
MPEG-2 / MPEG-4
Integer
Transform
Incoming
4x4 Block
transformed
4x4 Block
DCT
Transform
Incoming
8x8 Block
transformed
8x8 Block
Intra & Inter Coding StructureIntra & Inter Coding Structure
Intra Coding Structure
– Intra Frame  Motion estimation cannot be exploited
• Eliminate spatial redundancy
– Directional spatial prediction
Motion Compensation
– Various block sizes and shapes for motion compensation
• More precise compensation
0
Sub-macroblock
partitions
0
1
0 1
0 1
2 3
0
0
1
0 1
0
2
1
3
1 macroblock partition of
16*16 luma samples and
associated chroma samples
Macroblock
partitions
2 macroblock partitions of
16*8 luma samples and
associated chroma samples
4 sub-macroblocks of
8*8 luma samples and
associated chroma samples
2 macroblock partitions of
8*16 luma samples and
associated chroma samples
1 sub-macroblock partition
of 8*8 luma samples and
associated chroma samples
2 sub-macroblock partitions
of 8*4 luma samples and
associated chroma samples
4 sub-macroblock partitions
of 4*4 luma samples and
associated chroma samples
2 sub-macroblock partitions
of 4*8 luma samples and
associated chroma samples
Motion CompensationMotion Compensation
Multiple reference pictures
– Arbitrary weights
– Regardless of the temporal direction
– Can use B-Slice as reference
Adaptive Deblocking FilterAdaptive Deblocking Filter
Deblocking Filter
– There are severe blocking artifacts
• 4*4 transforms and block-based motion compensation
– Result in bit rate savings of around 6~9%
– Improve subjective quality and PSNR of the decoded picture
Without Filter With AVC Deblocking Filter
FMO (1/2)FMO (1/2)
FMO (Flexible Macroblock Ordering)
– Slice (composed in FMO)  Enhance Robustness to data loss
Picture
Slice Group
Slice
…
.
.….
Independently-
decodable
FMO (2/2)FMO (2/2)
Slice #0
Slice #1
Slice #2
Subdivision of a picture into
slices when not using FMO
Slice Group #0
Slice Group #1
Slice Group #2
Subdivision of a QCIF frame into slices when
utilizing FMO
Slice Group #0
Slice Group #1
ASOASO
ASO (Arbitrary Slice Ordering)
– Independently-decoded Slice
• Enables sending and receiving the slice in any order
• Improve end-to-end delay in real-time application
Picture Picture
Internet protocol network
Slice Slice
Start to
decode
Entropy CodingEntropy Coding
CAVLC (Context Adaptive Variable Length Coding)
– Context : already coded information of the neighboring
blocks and the coding status of the current block
– Optimized VLC tables are provided for each context to code
the coefficients in different statistical conditions
CABAC (Context Adaptive Binary Arithmetic Codes)
– Use a binary arithmetic coding engine
– Compression improvement is consequence of
• Adaptive probability estimation
• Improved context modeling scheme
– Exploiting symbol correlations by using contexts
– Average bit-rate saving over CAVLC 5~15%
ProfilesProfiles
Comparison to Previous StandardsComparison to Previous Standards
ConclusionConclusion
H.264 is the standard of both ITU-T VCEG and ISO/IEC MPEG
gains in compression efficiency of up to 50% compared to
previous standards
New key features are:
– Enhanced motion compensation
– Small blocks for transform coding
– Integer transform
– Improved deblocking filter
– Enhanced entropy coding
Increased complexity relative to prior standards
ReferencesReferences
Ralf Schafer, Thomas Wiegand and Heiko Schwarz, “The emerging H.264/AVC
standard,” in EBU technical review, Jan. 2003.
Jorn Ostermann et al., “Video coding with H.264/AVC: Tools, Performance, and
Complexity,” in IEEE Circuit and systems magazine, first quarter. 2004.
Thomas Wiegand et al., “Overview of the H.264/AVC Video Coding Standard,” in
IEEE transactions on circuits and systems for video technology, Vol. 12, No.7,
July. 2003.
M. Mahdi Ghandi and Mohammad Ghanbari, “The H.264/AVC Video Coding
Standard for the Next Generation Multimedia Communication,” in IAEEE Jounal.

Weitere ähnliche Inhalte

Was ist angesagt?

Video coding technology proposal by
Video coding technology proposal by Video coding technology proposal by
Video coding technology proposal by
Videoguy
 
Pdh and sdh1
Pdh and sdh1Pdh and sdh1
Pdh and sdh1
Khant Oo
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
researchinventy
 

Was ist angesagt? (17)

Matlab source codes section | Download MATLAB source code freerce-codes
Matlab source codes section | Download MATLAB source code freerce-codesMatlab source codes section | Download MATLAB source code freerce-codes
Matlab source codes section | Download MATLAB source code freerce-codes
 
Design and Hardware Implementation of Low-Complexity Multiuser Precoders (ETH...
Design and Hardware Implementation of Low-Complexity Multiuser Precoders (ETH...Design and Hardware Implementation of Low-Complexity Multiuser Precoders (ETH...
Design and Hardware Implementation of Low-Complexity Multiuser Precoders (ETH...
 
SDH MAPPING AND MULTIPLEXING
SDH MAPPING AND MULTIPLEXINGSDH MAPPING AND MULTIPLEXING
SDH MAPPING AND MULTIPLEXING
 
Ethernet copper physical layer finally unveiled - Frederic Depuydt, KU Leuven
Ethernet copper physical layer finally unveiled -  Frederic Depuydt, KU LeuvenEthernet copper physical layer finally unveiled -  Frederic Depuydt, KU Leuven
Ethernet copper physical layer finally unveiled - Frederic Depuydt, KU Leuven
 
Video coding technology proposal by
Video coding technology proposal by Video coding technology proposal by
Video coding technology proposal by
 
Pdh and sdh1
Pdh and sdh1Pdh and sdh1
Pdh and sdh1
 
Fundamentals of sdh
Fundamentals of sdhFundamentals of sdh
Fundamentals of sdh
 
HDT TOOLS PRESENTATION (2000)
HDT TOOLS PRESENTATION (2000)HDT TOOLS PRESENTATION (2000)
HDT TOOLS PRESENTATION (2000)
 
SDH BASICS
SDH BASICSSDH BASICS
SDH BASICS
 
iMinds' course: preceding exercises
iMinds' course: preceding exercisesiMinds' course: preceding exercises
iMinds' course: preceding exercises
 
Sdh principles
Sdh principlesSdh principles
Sdh principles
 
SYNHRONOUS TRANSMISSION OFC
SYNHRONOUS TRANSMISSION OFCSYNHRONOUS TRANSMISSION OFC
SYNHRONOUS TRANSMISSION OFC
 
Introductin sdh-pdh
Introductin sdh-pdhIntroductin sdh-pdh
Introductin sdh-pdh
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
 
Ofdm sim-matlab-code-tutorial web for EE students
Ofdm sim-matlab-code-tutorial web for EE studentsOfdm sim-matlab-code-tutorial web for EE students
Ofdm sim-matlab-code-tutorial web for EE students
 
High Performance MAC Unit for FFT Implementation
High Performance MAC Unit for FFT Implementation High Performance MAC Unit for FFT Implementation
High Performance MAC Unit for FFT Implementation
 
Huawei osn3500 typical networking in packet mode
Huawei osn3500 typical networking in packet modeHuawei osn3500 typical networking in packet mode
Huawei osn3500 typical networking in packet mode
 

Andere mochten auch

video_compression_2004
video_compression_2004video_compression_2004
video_compression_2004
aniruddh Tyagi
 
Hw3 0972552
Hw3 0972552Hw3 0972552
Hw3 0972552
s0972552
 
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)
Godo Dodo
 
video compression techique
video compression techiquevideo compression techique
video compression techique
Ashish Kumar
 

Andere mochten auch (19)

MPEG/Audio Compression
MPEG/Audio CompressionMPEG/Audio Compression
MPEG/Audio Compression
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video Encoding
 
video_compression_2004
video_compression_2004video_compression_2004
video_compression_2004
 
MPEG Compression Standards
MPEG Compression StandardsMPEG Compression Standards
MPEG Compression Standards
 
Video Compression Techniques
Video Compression TechniquesVideo Compression Techniques
Video Compression Techniques
 
ISDD Video Compression
ISDD Video CompressionISDD Video Compression
ISDD Video Compression
 
Standards De Compression Audio Et VidéO
Standards De Compression Audio Et VidéOStandards De Compression Audio Et VidéO
Standards De Compression Audio Et VidéO
 
Hw3 0972552
Hw3 0972552Hw3 0972552
Hw3 0972552
 
Introduction To Video Compression
Introduction To Video CompressionIntroduction To Video Compression
Introduction To Video Compression
 
Hw2
Hw2Hw2
Hw2
 
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)
 
Chap55
Chap55Chap55
Chap55
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 
Iain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video CompressionIain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video Compression
 
Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
 
Compression
CompressionCompression
Compression
 

Ähnlich wie 28 h 264-avc_by_dhchang

Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
Videoguy
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding Standard
Videoguy
 
Microsoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresMicrosoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_Pres
Videoguy
 
09a video compstream_intro_trd_23-nov-2005v0_2
09a video compstream_intro_trd_23-nov-2005v0_209a video compstream_intro_trd_23-nov-2005v0_2
09a video compstream_intro_trd_23-nov-2005v0_2
Pptblog Pptblogcom
 
10.1.1.184.6612
10.1.1.184.661210.1.1.184.6612
10.1.1.184.6612
NITC
 
Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Generic Video Adaptation Framework Towards Content – and Context Awareness in...Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Alpen-Adria-Universität
 
Development of Network Service Infrastructure for Transcoding ...
Development of Network Service Infrastructure for Transcoding ...Development of Network Service Infrastructure for Transcoding ...
Development of Network Service Infrastructure for Transcoding ...
Videoguy
 

Ähnlich wie 28 h 264-avc_by_dhchang (20)

Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding Standard
 
H264 final
H264 finalH264 final
H264 final
 
THE H.264/MPEG4 AND ITS APPLICATIONS
THE H.264/MPEG4 AND ITS APPLICATIONSTHE H.264/MPEG4 AND ITS APPLICATIONS
THE H.264/MPEG4 AND ITS APPLICATIONS
 
PPT
PPTPPT
PPT
 
mpeg4copy-120428133000-phpapp01.ppt
mpeg4copy-120428133000-phpapp01.pptmpeg4copy-120428133000-phpapp01.ppt
mpeg4copy-120428133000-phpapp01.ppt
 
Deblocking_Filter_v2
Deblocking_Filter_v2Deblocking_Filter_v2
Deblocking_Filter_v2
 
Aruna Ravi - M.S Thesis
Aruna Ravi - M.S ThesisAruna Ravi - M.S Thesis
Aruna Ravi - M.S Thesis
 
Efficient video compression using EZWT
Efficient video compression using EZWTEfficient video compression using EZWT
Efficient video compression using EZWT
 
AVC VIDEO SECURITY ON WIRELESS CHANNEL
AVC VIDEO SECURITY ON WIRELESS CHANNELAVC VIDEO SECURITY ON WIRELESS CHANNEL
AVC VIDEO SECURITY ON WIRELESS CHANNEL
 
Microsoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresMicrosoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_Pres
 
09a video compstream_intro_trd_23-nov-2005v0_2
09a video compstream_intro_trd_23-nov-2005v0_209a video compstream_intro_trd_23-nov-2005v0_2
09a video compstream_intro_trd_23-nov-2005v0_2
 
Video coding standards ppt
Video coding standards pptVideo coding standards ppt
Video coding standards ppt
 
10.1.1.184.6612
10.1.1.184.661210.1.1.184.6612
10.1.1.184.6612
 
Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Generic Video Adaptation Framework Towards Content – and Context Awareness in...Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Generic Video Adaptation Framework Towards Content – and Context Awareness in...
 
Mpeg4copy 120428133000-phpapp01
Mpeg4copy 120428133000-phpapp01Mpeg4copy 120428133000-phpapp01
Mpeg4copy 120428133000-phpapp01
 
Bm34399403
Bm34399403Bm34399403
Bm34399403
 
Development of Network Service Infrastructure for Transcoding ...
Development of Network Service Infrastructure for Transcoding ...Development of Network Service Infrastructure for Transcoding ...
Development of Network Service Infrastructure for Transcoding ...
 
H263.ppt
H263.pptH263.ppt
H263.ppt
 
Complexity Analysis in Scalable Video Coding
Complexity Analysis in Scalable Video CodingComplexity Analysis in Scalable Video Coding
Complexity Analysis in Scalable Video Coding
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

28 h 264-avc_by_dhchang

  • 1. MPEG 4, H.264 Compression StandardsMPEG 4, H.264 Compression Standards Presented by Dukhyun Chang (dhchang@mmlab.snu.ac.kr)
  • 2. ContentsContents Introduction Features of the H.264/AVC Profile & performance of H.264/AVC Conclusion
  • 3. Evolution of Video coding StandardsEvolution of Video coding Standards ITU-T Standard Joint ITU-T/MPEG Standards MPEG Standard 1988 1990 1992 1994 1996 1998 2000 2002 2004 H.261 (Version 1) H.261 (Version 2) H.263 H.263+ H.263++ H.262/MPEG-2 H.264/MPEG-4 AVC MPEG-1 MPEG-4 (Version 1) MPEG-4 (Version 2)
  • 4. Structure of H.264/AVC video encoderStructure of H.264/AVC video encoder Control Data Video Coding Layer Data Partitioning Network Abstraction Layer H.323/IP MPEG-2 etc.H.320 MP4FF Coded Macroblock Coded Slice/Partition
  • 6. Data Structure of MPEGData Structure of MPEG GOP GOP GOPSH SH SH I B B P B B P …… BBB P slice slice MB MB MB MB MB MB …. Y1 Y3 Y2 Y4 Cb Cr Sequence GOP Picture Slice Macroblock
  • 7. ContentsContents Introduction Features of the H.264/AVC Profile & Performance of H.264/AVC Conclusion
  • 8. Basic coding structure of H.264/AVC for a macroblockBasic coding structure of H.264/AVC for a macroblock Entropy Coding Scaling & Inv. Transform Motion- Compensation Control Data Quant. Transf. coeffs Motion Data Intra/Inter Coder Control Decoder Motion Estimation Transform/ Scal./Quant. - Input Video Signal Split into Macroblocks 16x16 pixels Intra-frame Prediction De-blocking Filter Output Video Signal New features of H.264
  • 9. TransformTransform MPEG-4 AVC MPEG-2 / MPEG-4 Integer Transform Incoming 4x4 Block transformed 4x4 Block DCT Transform Incoming 8x8 Block transformed 8x8 Block
  • 10. Intra & Inter Coding StructureIntra & Inter Coding Structure Intra Coding Structure – Intra Frame  Motion estimation cannot be exploited • Eliminate spatial redundancy – Directional spatial prediction Motion Compensation – Various block sizes and shapes for motion compensation • More precise compensation 0 Sub-macroblock partitions 0 1 0 1 0 1 2 3 0 0 1 0 1 0 2 1 3 1 macroblock partition of 16*16 luma samples and associated chroma samples Macroblock partitions 2 macroblock partitions of 16*8 luma samples and associated chroma samples 4 sub-macroblocks of 8*8 luma samples and associated chroma samples 2 macroblock partitions of 8*16 luma samples and associated chroma samples 1 sub-macroblock partition of 8*8 luma samples and associated chroma samples 2 sub-macroblock partitions of 8*4 luma samples and associated chroma samples 4 sub-macroblock partitions of 4*4 luma samples and associated chroma samples 2 sub-macroblock partitions of 4*8 luma samples and associated chroma samples
  • 11. Motion CompensationMotion Compensation Multiple reference pictures – Arbitrary weights – Regardless of the temporal direction – Can use B-Slice as reference
  • 12. Adaptive Deblocking FilterAdaptive Deblocking Filter Deblocking Filter – There are severe blocking artifacts • 4*4 transforms and block-based motion compensation – Result in bit rate savings of around 6~9% – Improve subjective quality and PSNR of the decoded picture Without Filter With AVC Deblocking Filter
  • 13. FMO (1/2)FMO (1/2) FMO (Flexible Macroblock Ordering) – Slice (composed in FMO)  Enhance Robustness to data loss Picture Slice Group Slice … . .…. Independently- decodable
  • 14. FMO (2/2)FMO (2/2) Slice #0 Slice #1 Slice #2 Subdivision of a picture into slices when not using FMO Slice Group #0 Slice Group #1 Slice Group #2 Subdivision of a QCIF frame into slices when utilizing FMO Slice Group #0 Slice Group #1
  • 15. ASOASO ASO (Arbitrary Slice Ordering) – Independently-decoded Slice • Enables sending and receiving the slice in any order • Improve end-to-end delay in real-time application Picture Picture Internet protocol network Slice Slice Start to decode
  • 16. Entropy CodingEntropy Coding CAVLC (Context Adaptive Variable Length Coding) – Context : already coded information of the neighboring blocks and the coding status of the current block – Optimized VLC tables are provided for each context to code the coefficients in different statistical conditions CABAC (Context Adaptive Binary Arithmetic Codes) – Use a binary arithmetic coding engine – Compression improvement is consequence of • Adaptive probability estimation • Improved context modeling scheme – Exploiting symbol correlations by using contexts – Average bit-rate saving over CAVLC 5~15%
  • 18. Comparison to Previous StandardsComparison to Previous Standards
  • 19. ConclusionConclusion H.264 is the standard of both ITU-T VCEG and ISO/IEC MPEG gains in compression efficiency of up to 50% compared to previous standards New key features are: – Enhanced motion compensation – Small blocks for transform coding – Integer transform – Improved deblocking filter – Enhanced entropy coding Increased complexity relative to prior standards
  • 20. ReferencesReferences Ralf Schafer, Thomas Wiegand and Heiko Schwarz, “The emerging H.264/AVC standard,” in EBU technical review, Jan. 2003. Jorn Ostermann et al., “Video coding with H.264/AVC: Tools, Performance, and Complexity,” in IEEE Circuit and systems magazine, first quarter. 2004. Thomas Wiegand et al., “Overview of the H.264/AVC Video Coding Standard,” in IEEE transactions on circuits and systems for video technology, Vol. 12, No.7, July. 2003. M. Mahdi Ghandi and Mohammad Ghanbari, “The H.264/AVC Video Coding Standard for the Next Generation Multimedia Communication,” in IAEEE Jounal.