SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Bitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian FeldmannBitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian FeldmannBitmovin Inc
 
H.264 video standard
H.264 video standardH.264 video standard
H.264 video standardSajan Sahu
 
Introduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIntroduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIain Richardson
 
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
 
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, Part 3-Section 1, Some Standard Video Codecs
Video Compression, Part 3-Section 1, Some Standard Video CodecsVideo Compression, Part 3-Section 1, Some Standard Video Codecs
Video Compression, Part 3-Section 1, Some Standard Video CodecsDr. Mohieddin Moradi
 
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsVideo Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsDr. Mohieddin Moradi
 
H.264 video compression standard.
H.264 video compression standard.H.264 video compression standard.
H.264 video compression standard.Axis Communications
 
High Efficiency Video Codec
High Efficiency Video CodecHigh Efficiency Video Codec
High Efficiency Video CodecTejus Adiga M
 
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2Dr. Mohieddin Moradi
 
VVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin BrossVVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin BrossMathias Wien
 
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 1
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 1Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 1
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 1Dr. Mohieddin Moradi
 
Video Compression Techniques
Video Compression TechniquesVideo Compression Techniques
Video Compression Techniquescnssources
 
An Introduction to HDTV Principles-Part 1
An Introduction to HDTV Principles-Part 1    An Introduction to HDTV Principles-Part 1
An Introduction to HDTV Principles-Part 1 Dr. Mohieddin Moradi
 
Video compression
Video compressionVideo compression
Video compressionnnmaurya
 
Latest Technologies in Production & Broadcasting
Latest  Technologies in Production & BroadcastingLatest  Technologies in Production & Broadcasting
Latest Technologies in Production & BroadcastingDr. Mohieddin Moradi
 

Tendances (20)

Video coding standards ppt
Video coding standards pptVideo coding standards ppt
Video coding standards ppt
 
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian FeldmannBitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
 
H.264 video standard
H.264 video standardH.264 video standard
H.264 video standard
 
Introduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIntroduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video Compression
 
Video Compression Part 1 Video Principles
Video Compression Part 1 Video Principles Video Compression Part 1 Video Principles
Video Compression Part 1 Video Principles
 
HEVC intra coding
HEVC intra codingHEVC intra coding
HEVC intra coding
 
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, Part 3-Section 1, Some Standard Video Codecs
Video Compression, Part 3-Section 1, Some Standard Video CodecsVideo Compression, Part 3-Section 1, Some Standard Video Codecs
Video Compression, Part 3-Section 1, Some Standard Video Codecs
 
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsVideo Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video Codecs
 
H.264 video compression standard.
H.264 video compression standard.H.264 video compression standard.
H.264 video compression standard.
 
High Efficiency Video Codec
High Efficiency Video CodecHigh Efficiency Video Codec
High Efficiency Video Codec
 
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2
 
VVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin BrossVVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin Bross
 
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 1
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 1Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 1
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 1
 
HEVC overview main
HEVC overview mainHEVC overview main
HEVC overview main
 
Video Compression Techniques
Video Compression TechniquesVideo Compression Techniques
Video Compression Techniques
 
An Introduction to HDTV Principles-Part 1
An Introduction to HDTV Principles-Part 1    An Introduction to HDTV Principles-Part 1
An Introduction to HDTV Principles-Part 1
 
HDR and WCG Principles-Part 1
HDR and WCG Principles-Part 1HDR and WCG Principles-Part 1
HDR and WCG Principles-Part 1
 
Video compression
Video compressionVideo compression
Video compression
 
Latest Technologies in Production & Broadcasting
Latest  Technologies in Production & BroadcastingLatest  Technologies in Production & Broadcasting
Latest Technologies in Production & Broadcasting
 

Similaire à 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
 

Similaire à 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
 

Dernier

Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 

Dernier (20)

Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 

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