SlideShare uma empresa Scribd logo
1 de 55
An introduction to
Video Compression

  Iain Richardson
     20 June 2012




                      Slide 1
Agenda

• 1. What is Video Compression?
• 2. How does a video codec work?
   –   - prediction
   –   - transform + quantization
   –   - coding
   –   - examples
• 3. Video compression standards
   – - H.264
   – - HEVC
• 4. Video compression patents
• 5. Going further

                                    Slide 2
Agenda

• 1. What is Video Compression?
• 2. How does a video codec work?
   –   - prediction
   –   - transform + quantization
   –   - coding
   –   - examples
• 3. Video compression standards
   – - H.264
   – - HEVC
• 4. Video compression patents
• 5. Going further

                                    Slide 3
Video compression



             MPEG-2       H.264    HEVC        ……




Broadcast       DVD /      IPTV        Web      Mobile
Digital TV      Blu-Ray                Video    Video

                           ……


                                                    Slide 4
The need for video compression

 Original 2 hour movie: 1,800,000,000,000 bits




                                  =53 DVD disks

                       COMPRESS




                                  =1 DVD disk


                                                  Slide 5
Video Source                                     Video Display

               Compress   Transmi   Decompress
               (Encode)     t or     (Decode)
                           Store




                                                      Slide 6
Slide 7
Slide 8
Slide 9
Agenda

• 1. What is Video Compression?
• 2. How does a video codec work?
   –   - prediction
   –   - transform + quantization
   –   - coding
   –   - examples
• 3. Video compression standards
   – - H.264
   – - HEVC
• 4. Video compression patents
• 5. Going deeper

                                    Slide 10
Digital video




                            Luma (Y)




   Displayed frame


                     Chroma (Cr)       Chroma (Cb)


                                             Slide 11
Macroblock




             Slide 12
Video Encoder




                Slide 13
Video decoder




                Slide 14
Prediction




             Slide 15
Prediction




             Slide 16
Intra prediction




                   Slide 17
Slide 18
Inter prediction




                   Slide 19
Slide 20
Types of predicted picture




I : Intra prediction only
P : Inter prediction (one reference frame) or Intra prediction
B : Biprediction (two reference frames), Inter (one reference) or Intra prediction




                                                                                     Slide 21
Transform + Quantization




                           Slide 22
Video Encoder




                Slide 23
Forward Transform




                    Slide 24
Inverse Transform




                    Slide 25
Forward Quantize




                   Slide 26
Forward Transform + Quantize


58   64   51   58   961   -41   15    -48    48   -1   0    -1
52   64   56   66   -34   72    -30   -104   -1   1    -1   -2
62   63   61   64   -15   3     15    24     0    0    0    0
59   51   63   69   13    81    -5     8     0    1    0    0


Block of samples    After transform          Quantized, QP=18




                                                            Slide 27
Inverse Quantize




                   Slide 28
Inverse Transform




                    Slide 29
58   64   51   58   48   -1   0    -1   55   66   54   58
52   64   56   66   -1   1    -1   -2   54   62   58   63
62   63   61   64   0    0    0    0    61   59   61   62
59   51   63   69   0    1    0    0    60   55   65   67


Block of samples    Quantized, QP=18    Rescaled +
                                        inverse
                                        transformed




                                                       Slide 30
Entropy coding




                 Slide 31
Video Encoder




                Slide 32
Entropy coding

                         Fixed length
                         codes


                           Variable length
        Headers            codes

Prediction parameters
                             Context Adaptive
Quantized coefficients       Variable Length
                             Codes

                           Context Adaptive
                           Binary Arithmetic
                           Codes

                                                Slide 33
Slide 34
Slide 35
Slide 36
Examples




           Slide 37
Slide 38
Slide 39
Slide 40
Slide 41
……etc



        Slide 42
Agenda

• 1. What is Video Compression?
• 2. How does a video codec work?
   –   - prediction
   –   - transform + quantization
   –   - coding
   –   - examples
• 3. Video compression standards
   – - H.264
   – - HEVC
• 4. Video compression patents
• 5. Going deeper

                                    Slide 43
H.264 Advanced Video Compression




                               Slide 44
H.264/AVC

•   First released in 2003
•   Published by ISO MPEG and ITU-T VCEG
•   Roughly 2x compression efficiency of MPEG-2
•   Used for:
    –   Blu-Ray Disks
    –   High Definition TV broadcasting
    –   Internet video
    –   ……




                                                  Slide 45
Slide 46
High Efficiency Video Compression
              (HEVC)




                                    Slide 47
HEVC

• Under development by ISO MPEG and ITU-T VCEG
• Roughly 2x compression efficiency of H.264
• Due for publication in 2013




                                                 Slide 48
Slide 49
Agenda

• 1. What is Video Compression?
• 2. How does a video codec work?
   –   - prediction
   –   - transform + quantization
   –   - coding
   –   - examples
• 3. Video compression standards
   – - H.264
   – - HEVC
• 4. Video compression patents
• 5. Going deeper

                                    Slide 50
Source: USPTO database




                         Slide 51
Types of video compression patent

• Encoder

• Decoder

• Transport




                                    Slide 52
Patent Pools
• E.g. MPEG-LA, H.264/AVC patent pool:
   –   Licenses patents on behalf of patent holders
   –   Unrelated to ISO/IEC MPEG
   –   Accepts patents based on determination of “essentiality”
   –   250+ US patents
   –   900+ licensees




                                                                  Slide 53
Agenda

• 1. What is Video Compression?
• 2. How does a video codec work?
   –   - prediction
   –   - transform + quantization
   –   - coding
   –   - examples
• 3. Video compression standards
   – - H.264
   – - HEVC
• 4. Video compression patents
• 5. Going further

                                    Slide 54
To find out more

• http://www.itu.int - Download the H.264 standard
• http://www.vcodex.com - Free tutorials

• Follow me on Twitter: @onecodec




                                                     Slide 55

Mais conteúdo relacionado

Mais procurados

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 JainVideoguy
 
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 VideoAn Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 VideoDr. Mohieddin Moradi
 
High Efficiency Video Codec
High Efficiency Video CodecHigh Efficiency Video Codec
High Efficiency Video CodecTejus Adiga M
 
HEVC Definitions and high-level syntax
HEVC Definitions and high-level syntaxHEVC Definitions and high-level syntax
HEVC Definitions and high-level syntaxYoss Cohen
 
Introduction To Video Compression
Introduction To Video CompressionIntroduction To Video Compression
Introduction To Video Compressionguestdd7ccca
 
Video Compression Part 1 Video Principles
Video Compression Part 1 Video Principles Video Compression Part 1 Video Principles
Video Compression Part 1 Video Principles Dr. Mohieddin Moradi
 
H.264 video standard
H.264 video standardH.264 video standard
H.264 video standardSajan Sahu
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression BasicsSanjiv Malik
 
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...Förderverein Technische Fakultät
 
Video Compression Techniques
Video Compression TechniquesVideo Compression Techniques
Video Compression Techniquescnssources
 
HEVC VIDEO CODEC By Vinayagam Mariappan
HEVC VIDEO CODEC By Vinayagam MariappanHEVC VIDEO CODEC By Vinayagam Mariappan
HEVC VIDEO CODEC By Vinayagam MariappanVinayagam Mariappan
 
VVC tutorial at ICIP 2020 together with Benjamin Bross
VVC tutorial at ICIP 2020 together with Benjamin BrossVVC tutorial at ICIP 2020 together with Benjamin Bross
VVC tutorial at ICIP 2020 together with Benjamin BrossMathias Wien
 
Latest Technologies in Production & Broadcasting
Latest  Technologies in Production & BroadcastingLatest  Technologies in Production & Broadcasting
Latest Technologies in Production & BroadcastingDr. Mohieddin Moradi
 

Mais procurados (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 standards ppt
Video coding standards pptVideo coding standards ppt
Video coding standards ppt
 
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 VideoAn Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
 
High Efficiency Video Codec
High Efficiency Video CodecHigh Efficiency Video Codec
High Efficiency Video Codec
 
HEVC Definitions and high-level syntax
HEVC Definitions and high-level syntaxHEVC Definitions and high-level syntax
HEVC Definitions and high-level syntax
 
Introduction To Video Compression
Introduction To Video CompressionIntroduction To Video Compression
Introduction To Video Compression
 
H261
H261H261
H261
 
Video Compression Part 1 Video Principles
Video Compression Part 1 Video Principles Video Compression Part 1 Video Principles
Video Compression Part 1 Video Principles
 
H.264 video standard
H.264 video standardH.264 video standard
H.264 video standard
 
H263.ppt
H263.pptH263.ppt
H263.ppt
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
 
Video Compression Techniques
Video Compression TechniquesVideo Compression Techniques
Video Compression Techniques
 
HEVC VIDEO CODEC By Vinayagam Mariappan
HEVC VIDEO CODEC By Vinayagam MariappanHEVC VIDEO CODEC By Vinayagam Mariappan
HEVC VIDEO CODEC By Vinayagam Mariappan
 
Unit iv
Unit ivUnit iv
Unit iv
 
VIDEO CODECS
VIDEO CODECSVIDEO CODECS
VIDEO CODECS
 
VVC tutorial at ICIP 2020 together with Benjamin Bross
VVC tutorial at ICIP 2020 together with Benjamin BrossVVC tutorial at ICIP 2020 together with Benjamin Bross
VVC tutorial at ICIP 2020 together with Benjamin Bross
 
HEVC overview main
HEVC overview mainHEVC overview main
HEVC overview main
 
HEVC intra coding
HEVC intra codingHEVC intra coding
HEVC intra coding
 
Latest Technologies in Production & Broadcasting
Latest  Technologies in Production & BroadcastingLatest  Technologies in Production & Broadcasting
Latest Technologies in Production & Broadcasting
 

Semelhante a Iain Richardson: An Introduction to Video Compression

Emerging H.264 Standard:
Emerging H.264 Standard:Emerging H.264 Standard:
Emerging H.264 Standard:Videoguy
 
PR-365: Fast object detection in compressed video
PR-365: Fast object detection in compressed videoPR-365: Fast object detection in compressed video
PR-365: Fast object detection in compressed videoHyeongmin Lee
 
Encoding Video for the Web - Webinar from ReelSEO.com
Encoding Video for the Web  - Webinar from ReelSEO.comEncoding Video for the Web  - Webinar from ReelSEO.com
Encoding Video for the Web - Webinar from ReelSEO.comMark Robertson ⏩
 
Video Complexity Dataset (VCD).pdf
Video Complexity Dataset (VCD).pdfVideo Complexity Dataset (VCD).pdf
Video Complexity Dataset (VCD).pdfVignesh V Menon
 
Viewer sw
Viewer swViewer sw
Viewer swciperi
 
A non-copyright circumventing application of the HDCP master key
A non-copyright circumventing application of the HDCP master keyA non-copyright circumventing application of the HDCP master key
A non-copyright circumventing application of the HDCP master keyada fruit
 
Compressed Video Quality
Compressed Video QualityCompressed Video Quality
Compressed Video QualityIain Richardson
 
Emerging H.264 Standard: Overview and TMS320DM642- Based ...
Emerging H.264 Standard: Overview and TMS320DM642- Based ...Emerging H.264 Standard: Overview and TMS320DM642- Based ...
Emerging H.264 Standard: Overview and TMS320DM642- Based ...Videoguy
 
H 264 in cuda presentation
H 264 in cuda presentationH 264 in cuda presentation
H 264 in cuda presentationashoknaik120
 
Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)danishrafiq
 
HD-DVD Technical Introduction
HD-DVD Technical IntroductionHD-DVD Technical Introduction
HD-DVD Technical IntroductionAV_Hire_London
 

Semelhante a Iain Richardson: An Introduction to Video Compression (20)

Emerging H.264 Standard:
Emerging H.264 Standard:Emerging H.264 Standard:
Emerging H.264 Standard:
 
PR-365: Fast object detection in compressed video
PR-365: Fast object detection in compressed videoPR-365: Fast object detection in compressed video
PR-365: Fast object detection in compressed video
 
Avivo2004
Avivo2004Avivo2004
Avivo2004
 
Encoding Video for the Web - Webinar from ReelSEO.com
Encoding Video for the Web  - Webinar from ReelSEO.comEncoding Video for the Web  - Webinar from ReelSEO.com
Encoding Video for the Web - Webinar from ReelSEO.com
 
How video codec work
How video codec work How video codec work
How video codec work
 
06 vdo
06 vdo06 vdo
06 vdo
 
Algorithm of standard videocodec H.264
Algorithm of standard videocodec H.264 Algorithm of standard videocodec H.264
Algorithm of standard videocodec H.264
 
Video Complexity Dataset (VCD).pdf
Video Complexity Dataset (VCD).pdfVideo Complexity Dataset (VCD).pdf
Video Complexity Dataset (VCD).pdf
 
Viewer sw
Viewer swViewer sw
Viewer sw
 
A non-copyright circumventing application of the HDCP master key
A non-copyright circumventing application of the HDCP master keyA non-copyright circumventing application of the HDCP master key
A non-copyright circumventing application of the HDCP master key
 
Wireless PC2TV
Wireless PC2TVWireless PC2TV
Wireless PC2TV
 
Compressed Video Quality
Compressed Video QualityCompressed Video Quality
Compressed Video Quality
 
Digital TV, IPTV
Digital TV, IPTVDigital TV, IPTV
Digital TV, IPTV
 
Emerging H.264 Standard: Overview and TMS320DM642- Based ...
Emerging H.264 Standard: Overview and TMS320DM642- Based ...Emerging H.264 Standard: Overview and TMS320DM642- Based ...
Emerging H.264 Standard: Overview and TMS320DM642- Based ...
 
H 264 in cuda presentation
H 264 in cuda presentationH 264 in cuda presentation
H 264 in cuda presentation
 
Lecture01
Lecture01Lecture01
Lecture01
 
Performance Analysis of Various Video Compression Techniques
Performance Analysis of Various Video Compression TechniquesPerformance Analysis of Various Video Compression Techniques
Performance Analysis of Various Video Compression Techniques
 
Behind thecurtain benfineman_internet2
Behind thecurtain benfineman_internet2Behind thecurtain benfineman_internet2
Behind thecurtain benfineman_internet2
 
Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)
 
HD-DVD Technical Introduction
HD-DVD Technical IntroductionHD-DVD Technical Introduction
HD-DVD Technical Introduction
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
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 FresherRemote DBA Services
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
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, ...Angeliki Cooney
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
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 educationjfdjdjcjdnsjd
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
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...DianaGray10
 

Último (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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, ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
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
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
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...
 

Iain Richardson: An Introduction to Video Compression

  • 1. An introduction to Video Compression Iain Richardson 20 June 2012 Slide 1
  • 2. Agenda • 1. What is Video Compression? • 2. How does a video codec work? – - prediction – - transform + quantization – - coding – - examples • 3. Video compression standards – - H.264 – - HEVC • 4. Video compression patents • 5. Going further Slide 2
  • 3. Agenda • 1. What is Video Compression? • 2. How does a video codec work? – - prediction – - transform + quantization – - coding – - examples • 3. Video compression standards – - H.264 – - HEVC • 4. Video compression patents • 5. Going further Slide 3
  • 4. Video compression MPEG-2 H.264 HEVC …… Broadcast DVD / IPTV Web Mobile Digital TV Blu-Ray Video Video …… Slide 4
  • 5. The need for video compression Original 2 hour movie: 1,800,000,000,000 bits =53 DVD disks COMPRESS =1 DVD disk Slide 5
  • 6. Video Source Video Display Compress Transmi Decompress (Encode) t or (Decode) Store Slide 6
  • 10. Agenda • 1. What is Video Compression? • 2. How does a video codec work? – - prediction – - transform + quantization – - coding – - examples • 3. Video compression standards – - H.264 – - HEVC • 4. Video compression patents • 5. Going deeper Slide 10
  • 11. Digital video Luma (Y) Displayed frame Chroma (Cr) Chroma (Cb) Slide 11
  • 12. Macroblock Slide 12
  • 13. Video Encoder Slide 13
  • 14. Video decoder Slide 14
  • 15. Prediction Slide 15
  • 16. Prediction Slide 16
  • 17. Intra prediction Slide 17
  • 19. Inter prediction Slide 19
  • 21. Types of predicted picture I : Intra prediction only P : Inter prediction (one reference frame) or Intra prediction B : Biprediction (two reference frames), Inter (one reference) or Intra prediction Slide 21
  • 23. Video Encoder Slide 23
  • 24. Forward Transform Slide 24
  • 25. Inverse Transform Slide 25
  • 26. Forward Quantize Slide 26
  • 27. Forward Transform + Quantize 58 64 51 58 961 -41 15 -48 48 -1 0 -1 52 64 56 66 -34 72 -30 -104 -1 1 -1 -2 62 63 61 64 -15 3 15 24 0 0 0 0 59 51 63 69 13 81 -5 8 0 1 0 0 Block of samples After transform Quantized, QP=18 Slide 27
  • 28. Inverse Quantize Slide 28
  • 29. Inverse Transform Slide 29
  • 30. 58 64 51 58 48 -1 0 -1 55 66 54 58 52 64 56 66 -1 1 -1 -2 54 62 58 63 62 63 61 64 0 0 0 0 61 59 61 62 59 51 63 69 0 1 0 0 60 55 65 67 Block of samples Quantized, QP=18 Rescaled + inverse transformed Slide 30
  • 31. Entropy coding Slide 31
  • 32. Video Encoder Slide 32
  • 33. Entropy coding Fixed length codes Variable length Headers codes Prediction parameters Context Adaptive Quantized coefficients Variable Length Codes Context Adaptive Binary Arithmetic Codes Slide 33
  • 37. Examples Slide 37
  • 42. ……etc Slide 42
  • 43. Agenda • 1. What is Video Compression? • 2. How does a video codec work? – - prediction – - transform + quantization – - coding – - examples • 3. Video compression standards – - H.264 – - HEVC • 4. Video compression patents • 5. Going deeper Slide 43
  • 44. H.264 Advanced Video Compression Slide 44
  • 45. H.264/AVC • First released in 2003 • Published by ISO MPEG and ITU-T VCEG • Roughly 2x compression efficiency of MPEG-2 • Used for: – Blu-Ray Disks – High Definition TV broadcasting – Internet video – …… Slide 45
  • 47. High Efficiency Video Compression (HEVC) Slide 47
  • 48. HEVC • Under development by ISO MPEG and ITU-T VCEG • Roughly 2x compression efficiency of H.264 • Due for publication in 2013 Slide 48
  • 50. Agenda • 1. What is Video Compression? • 2. How does a video codec work? – - prediction – - transform + quantization – - coding – - examples • 3. Video compression standards – - H.264 – - HEVC • 4. Video compression patents • 5. Going deeper Slide 50
  • 52. Types of video compression patent • Encoder • Decoder • Transport Slide 52
  • 53. Patent Pools • E.g. MPEG-LA, H.264/AVC patent pool: – Licenses patents on behalf of patent holders – Unrelated to ISO/IEC MPEG – Accepts patents based on determination of “essentiality” – 250+ US patents – 900+ licensees Slide 53
  • 54. Agenda • 1. What is Video Compression? • 2. How does a video codec work? – - prediction – - transform + quantization – - coding – - examples • 3. Video compression standards – - H.264 – - HEVC • 4. Video compression patents • 5. Going further Slide 54
  • 55. To find out more • http://www.itu.int - Download the H.264 standard • http://www.vcodex.com - Free tutorials • Follow me on Twitter: @onecodec Slide 55