SlideShare a Scribd company logo
An introduction to H.264 Advanced Video Compression Iain Richardson 22 nd  March 2010 V CODEX
Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
Video compression H.264 MPEG-4 MPEG-2 Broadcast Digital TV DVD / Blu-Ray IPTV Web Video Mobile Video …… ……
 
 
Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
Digital video Displayed frame Luma (Y) Chroma (Cb) Chroma (Cr)
Macroblock
H.264 Encoder
H.264 decoder
Prediction
Intra prediction
 
Inter prediction
 
H.264 Encoder
Inverse Transform
Forward Transform
Forward Quantize
Forward Transform + Quantize Block of samples Integer transform Quantized, QP=18 961 -41 15 -48 -34 72 -30 -104 -15 3 15 24 13 81 -5 8 58 64 51 58 52 64 56 66 62 63 61 64 59 51 63 69 48 -1 0 -1 -1 1 -1 -2 0 0 0 0 0 1 0 0
Inverse Quantize
Inverse Transform
Block of samples Quantized, QP=18 Rescaled + inverse transformed 58 64 51 58 52 64 56 66 62 63 61 64 59 51 63 69 48 -1 0 -1 -1 1 -1 -2 0 0 0 0 0 1 0 0 55 66 54 58 54 62 58 63 61 59 61 62 60 55 65 67
About the Integer Transform 1-D Discrete  Cosine Transform 1-D Integer Transform 1 1 1 1 2 1 -1 -2 1 -1 -1 1 1 -2 2 -1 0.5 0.5 0.5 0.5 0.6532… 0.2706… -0.2706… -0.6532… 0.5 -0.5 -0.5 0.5 0.2706… -0.6532… 0.6532… -0.2706…
H.264 Encoder
Entropy coding Headers Prediction parameters Quantized coefficients Fixed length codes Exp-Golomb codes Context Adaptive Variable Length Codes Context Adaptive Binary Arithmetic Codes
Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
 
 
 
…… etc
Profiles and Levels
Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
 
 
intra inter  (forward) skip
 
Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
Going deeper… Prediction, transform, coding in detail Parameters, profiles, levels Optimizing H.264 Implementing H.264 Extensions – Scalable Video Coding, Multiview Video Coding Configurable Video Coding

More Related Content

PPT
Iain Richardson: An Introduction to Video Compression
PPTX
H.264 vs HEVC
PPTX
A short history of video coding
PPTX
An Overview of High Efficiency Video Codec HEVC (H.265)
PPT
Video Compression Basics - MPEG2
PDF
HEVC overview main
PDF
VVC tutorial at ICME 2020 together with Benjamin Bross
PDF
HEVC VIDEO CODEC By Vinayagam Mariappan
Iain Richardson: An Introduction to Video Compression
H.264 vs HEVC
A short history of video coding
An Overview of High Efficiency Video Codec HEVC (H.265)
Video Compression Basics - MPEG2
HEVC overview main
VVC tutorial at ICME 2020 together with Benjamin Bross
HEVC VIDEO CODEC By Vinayagam Mariappan

What's hot (20)

PDF
Video Compression Standards - History & Introduction
PPT
H.264 video standard
PPT
Introduction to HEVC
PPT
H263.ppt
PPT
Introduction to Video Compression Techniques - Anurag Jain
PDF
H.264 video compression standard.
PPTX
Video coding standards ppt
PPTX
High Efficiency Video Codec
PDF
Video compression
PPTX
Audio compression
PDF
Compression: Video Compression (MPEG and others)
PDF
Video Compression
PPTX
MPEG video compression standard
PDF
HEVC intra coding
PPTX
Audio encoding principles
PPTX
Video compression
PPT
Audio compression 1
PDF
An Introduction to Video Principles-Part 2
PPT
H261
PPS
MPEG/Audio Compression
Video Compression Standards - History & Introduction
H.264 video standard
Introduction to HEVC
H263.ppt
Introduction to Video Compression Techniques - Anurag Jain
H.264 video compression standard.
Video coding standards ppt
High Efficiency Video Codec
Video compression
Audio compression
Compression: Video Compression (MPEG and others)
Video Compression
MPEG video compression standard
HEVC intra coding
Audio encoding principles
Video compression
Audio compression 1
An Introduction to Video Principles-Part 2
H261
MPEG/Audio Compression
Ad

Similar to Introduction to H.264 Advanced Video Compression (20)

PDF
Lec 04.4_Video compression standards_H.264 Only_Intra_InterModes_OK_Tham khao...
PDF
A REAL-TIME H.264/AVC ENCODER&DECODER WITH VERTICAL MODE FOR INTRA FRAME AND ...
PDF
10.1.1.184.6612
PPT
Algorithm of standard videocodec H.264
PDF
Spatial Scalable Video Compression Using H.264
PDF
E010132529
PPT
mpeg4copy-120428133000-phpapp01.ppt
PPT
28 h 264-avc_by_dhchang
PPT
Video Coding Standard
PPTX
48233737 low-power-vlsi-design
PPTX
H.265ImprovedCE_over_H.264-HarmonicMay2014Final
PPTX
THE H.264/MPEG4 AND ITS APPLICATIONS
PDF
[IJET-V1I2P1] Authors :Imran Ullah Khan ,Mohd. Javed Khan ,S.Hasan Saeed ,Nup...
PPTX
New generation video coding OVERVIEW.pptx
PDF
How video codec work
PPT
H 264 in cuda presentation
PDF
FPGA DESIGN FOR H.264/AVC ENCODER
PDF
Selection of intra prediction modes for intra frame
PDF
Selection of intra prediction modes for intra frame coding in advanced video ...
PDF
H264 video compression explained
Lec 04.4_Video compression standards_H.264 Only_Intra_InterModes_OK_Tham khao...
A REAL-TIME H.264/AVC ENCODER&DECODER WITH VERTICAL MODE FOR INTRA FRAME AND ...
10.1.1.184.6612
Algorithm of standard videocodec H.264
Spatial Scalable Video Compression Using H.264
E010132529
mpeg4copy-120428133000-phpapp01.ppt
28 h 264-avc_by_dhchang
Video Coding Standard
48233737 low-power-vlsi-design
H.265ImprovedCE_over_H.264-HarmonicMay2014Final
THE H.264/MPEG4 AND ITS APPLICATIONS
[IJET-V1I2P1] Authors :Imran Ullah Khan ,Mohd. Javed Khan ,S.Hasan Saeed ,Nup...
New generation video coding OVERVIEW.pptx
How video codec work
H 264 in cuda presentation
FPGA DESIGN FOR H.264/AVC ENCODER
Selection of intra prediction modes for intra frame
Selection of intra prediction modes for intra frame coding in advanced video ...
H264 video compression explained
Ad

Recently uploaded (20)

PDF
NewMind AI Monthly Chronicles - July 2025
PPT
Teaching material agriculture food technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Big Data Technologies - Introduction.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Monthly Chronicles - July 2025
Teaching material agriculture food technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Spectral efficient network and resource selection model in 5G networks
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation theory and applications.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Advanced methodologies resolving dimensionality complications for autism neur...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Understanding_Digital_Forensics_Presentation.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Per capita expenditure prediction using model stacking based on satellite ima...
Empathic Computing: Creating Shared Understanding
Big Data Technologies - Introduction.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
cuic standard and advanced reporting.pdf
Review of recent advances in non-invasive hemoglobin estimation

Introduction to H.264 Advanced Video Compression

  • 1. An introduction to H.264 Advanced Video Compression Iain Richardson 22 nd March 2010 V CODEX
  • 2. Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
  • 3. Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
  • 4. Video compression H.264 MPEG-4 MPEG-2 Broadcast Digital TV DVD / Blu-Ray IPTV Web Video Mobile Video …… ……
  • 5.  
  • 6.  
  • 7. Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
  • 8. Digital video Displayed frame Luma (Y) Chroma (Cb) Chroma (Cr)
  • 14.  
  • 16.  
  • 21. Forward Transform + Quantize Block of samples Integer transform Quantized, QP=18 961 -41 15 -48 -34 72 -30 -104 -15 3 15 24 13 81 -5 8 58 64 51 58 52 64 56 66 62 63 61 64 59 51 63 69 48 -1 0 -1 -1 1 -1 -2 0 0 0 0 0 1 0 0
  • 24. Block of samples Quantized, QP=18 Rescaled + inverse transformed 58 64 51 58 52 64 56 66 62 63 61 64 59 51 63 69 48 -1 0 -1 -1 1 -1 -2 0 0 0 0 0 1 0 0 55 66 54 58 54 62 58 63 61 59 61 62 60 55 65 67
  • 25. About the Integer Transform 1-D Discrete Cosine Transform 1-D Integer Transform 1 1 1 1 2 1 -1 -2 1 -1 -1 1 1 -2 2 -1 0.5 0.5 0.5 0.5 0.6532… 0.2706… -0.2706… -0.6532… 0.5 -0.5 -0.5 0.5 0.2706… -0.6532… 0.6532… -0.2706…
  • 27. Entropy coding Headers Prediction parameters Quantized coefficients Fixed length codes Exp-Golomb codes Context Adaptive Variable Length Codes Context Adaptive Binary Arithmetic Codes
  • 28. Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
  • 29.  
  • 30.  
  • 31.  
  • 34. Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
  • 35.  
  • 36.  
  • 37. intra inter (forward) skip
  • 38.  
  • 39. Agenda 1. What is H.264 Advanced Video Compression? 2. How H.264 works - prediction - transform + quantization - coding 3. The H.264 syntax 4. Examples 5. Going deeper
  • 40. Going deeper… Prediction, transform, coding in detail Parameters, profiles, levels Optimizing H.264 Implementing H.264 Extensions – Scalable Video Coding, Multiview Video Coding Configurable Video Coding
  • 41. To find out more http://www.itu.int - Download the H.264 standard http://www.vcodex.com - Free tutorials http://iphome.hhi.de/suehring/tml/ - JM reference software http://www.elecard.com/ - StreamEye analyser http://www.dc ktn .org.uk - Digital Communications Knowledge Transfer Network http://tinyurl.com/h264book2 - My new book…