SlideShare une entreprise Scribd logo
1  sur  39
Battle of the Codecs
     In Digital Film and TV

              James Uren
          Independent Training Consultant,

           Senior Lecturer Broadcasting,

           Creative Director 3D Stories



          Optimisation and Compression

  Ravensbourne College of Design & Communication


         24 November 2011
Demistifying Codecs


 The technologies of digital film
 So many codecs...
 The technology behind compression
 The future...




                                        2
Digital Images Defined in Pixels

 Standard-Definition (SDTV)
    Europe: 720 x 576 pixels/frame. US/Japan: 720 x 480 pixels/frame

 High-Definition (HDTV)

    1920 x 1080 pixels/frame (Also called CIF (Common Image Format)). 1280 x 720 pixels/frame

 Digital Film and D-cinema

    Full-aperture 2K is 2048 x 1536 (gives a 1.33:1 (4:3) image)

    Academy 2K is 1828 x 1080 (For a 1.85:1 image)

    Full-aperture 4K is 4096 x 3072 pixels/frame



                                                                                                 4
Digital Image Pixel Resolutions


720 x 576

    1280 x 720
            1920 x 1080

             2048 x 1536




                           4096 x 3072



                                         5
Film?




•   What resolution is film? Grain...
Film?


•   So resolution unknown - is 4K enough?

•   So in film we have:

    •   Digital Intermediate (DI) for post-production

    •   Digital cinema projection

•   Digital Capture - the last piece of the puzzle.
HD Capture
 CCD (Charge Coupled Device) or CMOS (Complementary
  Metal-Oxide Silicon) sensor options:
   CMOS now lower noise than CCDs

   CMOS allows A/D & processing on-chip

   CMOS can have >100 million transistors...
                                                             ARRIFLEX D21



   Examples:

     The ARRIFLEX D21 uses a 35mm 6 megapixel (2.9K) CMOS
      imager

     The SI 2K has a 2/3” 2.5 megapixel (2K) CMOS imager


                                                                SI-2K
                                                                            10
HD, 2K 4K + Imaging




 CMOS Active Pixel Sensor
      Photodiode



                            12
HD, 2K 4K + Imaging




Single-chip colour sensor
Typically use a Bayer filter layout
 developed at Kodak.




                                                 13
HD, 2K 4K + Imaging




CMOS imager integrated
 circuit architecture




                           http://micro.magnet.fsu.edu/primer/digitalimaging/cmosimagesensors.html
                                                                                                     14
Compression

•   Why?

    •   Bandwidth,

    •   Storage

    •   Workflow

•   Lossless vs. lossy

•   Proxies
Inter-Frame Compression


•   MPEG is an inter-frame
    codec and forms the
    backbone of many codecs
    (e.g. H.264)

•   Exploits commonality
    between frames

•   Sends one full ‘I Frame’
    then predicts through the
    Group of Pictures (GOP)
Intra-Frame Compression



•   Compressing each frame independently

•   Also known as ‘I Frame only’

•   Examples include ProRes, DNxHD

•   Best for offline editing as no GOP reconstruction required
So many codecs...
Terminology
•   Resolution (e.g. 4K)

•   Anamorphic pixels

•   Raw data (e.g. RAW / R3D)

•   Bit depth (e.g. 12-bit)

•   Chroma sampling (e.g. 4:4:4)

•   Bandwidth / data rate / bit rate (e.g. 100Mbit/s)

•   Frame rate / scan type (e.g. 50i / 25PsF*)

•   Audio sampling frequency (e.g. 48kHz)

•   Wrapper
Example Codec


•   Apple ProRes 422 (HQ) 1440x1080 25p 48kHz
Example


•   Apple ProRes 422 (HQ) 1440x1080 25p 48kHz


    Codec
Example


•   Apple ProRes 422 (HQ) 1440x1080 25p 48kHz



      Colour bandwidth ratios
Example


•   Apple ProRes 422 (HQ) 1440x1080 25p 48kHz


                   High Quality
       - the bit rate is higher - 220 Mbit/s
Example


•   Apple ProRes 422 (HQ) 1440x1080 25p 48kHz


                         Pixel resolution
                        (HD Anamorphic)
Example


•   Apple ProRes 422 (HQ) 1440x1080 25p 48kHz


                                 Frame rate and
                                    scan type
Example


•   Apple ProRes 422 (HQ) 1440x1080 25p 48kHz


                                      Audio sampling
                                        frequency
Interlaced or Progressive?

 Interlace

    Each image (frame) comprises two interlaced fields

    Any movement between the fields causes artefacts

    Introduced for TV because it halves transmission bandwidth

    Used in 50i (Europe), 59.94i (USA/Japan) SDTV/HDTV

 Progressive

    Each image is complete & contains all the pixels

    Can produce judder motion artefact at 24p or 25p

    50p gives best motion portrayal

    Higher frame rates would be better still (See BBC research into 150 fps)

                                                                                6
Interlaced or Progressive?


 Not straightforward: Imagers do not scan the image, neither do flat panel displays

 Interlace introduces artefacts and reduces vertical resolution

 What the experts say:

    “All data reduction systems (such as MPEG) give better results at lower bitrates with progressive sources”

    “Progressive scanning gives improved motion portrayal”

    “1080i offers better static resolution, 720p better motion portrayal”




    (EBU The Review No.301)




                                                                                                                  7
Picture Impairments

Too much compression can introduce impairments:
  Blocking
  Mosquito Noise / Wings
  Contouring
  Smearing
  Freezes
  Breathing

                                                   42
.bmp
964k




       43
.jpg
28k




       44
But...
•   ...this is only if you compress to much.

•   ProRes 4444 at 250Mbit/s is indistinguishable from
    uncompressed...


•   ...and much less data
D-Cinema



The DCI (Digital Cinema Initiatives) was set up in 2002

Aim was to set standards for a viable D-Cinema system

Members include Disney, Fox, MGM, Paramount, Sony Pictures Entertainment
 (Columbia), Universal & Warner Bros.

Adopted JPEG2000 compression



                                                                            36
D-Cinema




JPEG2000 uses wavelet compression

JPEG2000 does not divide the picture into discrete blocks

D-cinema uses a mild level of compression to avoid artefacts (~250Mbit/s)




                                                                             37
JPEG2000 Examples




                    39
The Future
•   Requirements on compression reduces with Moore’s Law

•   But this is countered by increasing resolutions and frame
    rates

•   Compression is here to stay, but offline and online continue
    to blur
Round-Up



•   A complete digital pipeline from capture to display

•   Don’t fear compression

•   Great pictures mean a high bitrate end-to-end, but too high and
    your pipeline starts to get expensive... But not for long.
Battle of the Codecs
     In Digital Film and TV



              James Uren
          Independent Training Consultant,

           Senior Lecturer Broadcasting,

           Creative Director 3D Stories



  Ravensbourne College of Design & Communication

Contenu connexe

Tendances

Introduction To Video Compression
Introduction To Video CompressionIntroduction To Video Compression
Introduction To Video Compressionguestdd7ccca
 
HD-DVD Technical Introduction
HD-DVD Technical IntroductionHD-DVD Technical Introduction
HD-DVD Technical IntroductionAV_Hire_London
 
Technical Aspects of Digital Video
Technical Aspects of Digital VideoTechnical Aspects of Digital Video
Technical Aspects of Digital VideoWatson Leese
 
Video technology presentation
Video technology presentationVideo technology presentation
Video technology presentationdiyasamtani
 
simple video compression
simple video compression simple video compression
simple video compression LaLit DuBey
 
Week 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyWeek 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyVideoguy
 
Broadcast Camera Technology, Part 3
Broadcast Camera Technology, Part 3Broadcast Camera Technology, Part 3
Broadcast Camera Technology, Part 3Dr. Mohieddin Moradi
 
Motion graphics and_compositing_video_analysis_worksheet 2
Motion graphics and_compositing_video_analysis_worksheet 2Motion graphics and_compositing_video_analysis_worksheet 2
Motion graphics and_compositing_video_analysis_worksheet 2smashingentertainment
 
“High-fidelity Conversion of Floating-point Networks for Low-precision Infere...
“High-fidelity Conversion of Floating-point Networks for Low-precision Infere...“High-fidelity Conversion of Floating-point Networks for Low-precision Infere...
“High-fidelity Conversion of Floating-point Networks for Low-precision Infere...Edge AI and Vision Alliance
 
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)Godo Dodo
 
MPEG Compression Standards
MPEG Compression StandardsMPEG Compression Standards
MPEG Compression StandardsAjay
 
Deferred rendering in_leadwerks_engine[1]
Deferred rendering in_leadwerks_engine[1]Deferred rendering in_leadwerks_engine[1]
Deferred rendering in_leadwerks_engine[1]ozlael ozlael
 
Video Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesVideo Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesDan MacKinlay
 

Tendances (20)

Introduction To Video Compression
Introduction To Video CompressionIntroduction To Video Compression
Introduction To Video Compression
 
Cni mc donough_preservation
Cni mc donough_preservationCni mc donough_preservation
Cni mc donough_preservation
 
HD-DVD Technical Introduction
HD-DVD Technical IntroductionHD-DVD Technical Introduction
HD-DVD Technical Introduction
 
Technical Aspects of Digital Video
Technical Aspects of Digital VideoTechnical Aspects of Digital Video
Technical Aspects of Digital Video
 
video compression
video compressionvideo compression
video compression
 
Computer graphic lecturer no 3
Computer graphic lecturer no 3Computer graphic lecturer no 3
Computer graphic lecturer no 3
 
Video technology presentation
Video technology presentationVideo technology presentation
Video technology presentation
 
Xmen analysis
Xmen analysisXmen analysis
Xmen analysis
 
simple video compression
simple video compression simple video compression
simple video compression
 
ISDD Video Compression
ISDD Video CompressionISDD Video Compression
ISDD Video Compression
 
Week 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyWeek 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information Technology
 
Broadcast Camera Technology, Part 3
Broadcast Camera Technology, Part 3Broadcast Camera Technology, Part 3
Broadcast Camera Technology, Part 3
 
Shrek
ShrekShrek
Shrek
 
Motion graphics and_compositing_video_analysis_worksheet 2
Motion graphics and_compositing_video_analysis_worksheet 2Motion graphics and_compositing_video_analysis_worksheet 2
Motion graphics and_compositing_video_analysis_worksheet 2
 
“High-fidelity Conversion of Floating-point Networks for Low-precision Infere...
“High-fidelity Conversion of Floating-point Networks for Low-precision Infere...“High-fidelity Conversion of Floating-point Networks for Low-precision Infere...
“High-fidelity Conversion of Floating-point Networks for Low-precision Infere...
 
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)
 
Sherlock End Credits
Sherlock End Credits Sherlock End Credits
Sherlock End Credits
 
MPEG Compression Standards
MPEG Compression StandardsMPEG Compression Standards
MPEG Compression Standards
 
Deferred rendering in_leadwerks_engine[1]
Deferred rendering in_leadwerks_engine[1]Deferred rendering in_leadwerks_engine[1]
Deferred rendering in_leadwerks_engine[1]
 
Video Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesVideo Workshop by Frederick Rodrigues
Video Workshop by Frederick Rodrigues
 

En vedette

En vedette (6)

IPTV Workshop FDB104
IPTV Workshop FDB104IPTV Workshop FDB104
IPTV Workshop FDB104
 
FDB104 Post workflow
FDB104 Post workflowFDB104 Post workflow
FDB104 Post workflow
 
3D Workshop
3D Workshop3D Workshop
3D Workshop
 
Battle of the Codecs
Battle of the CodecsBattle of the Codecs
Battle of the Codecs
 
FORK Overview
FORK OverviewFORK Overview
FORK Overview
 
Chapter 3: Processes
Chapter 3: ProcessesChapter 3: Processes
Chapter 3: Processes
 

Similaire à Optimisation and Compression Intro

PowerPoint 97
PowerPoint 97PowerPoint 97
PowerPoint 97Videoguy
 
3D Televisions: Forecasting their emergence
3D Televisions: Forecasting their emergence3D Televisions: Forecasting their emergence
3D Televisions: Forecasting their emergenceJeffrey Funk
 
Motion Graphics and Compositing Video Analysis Worksheet
Motion Graphics and Compositing Video Analysis Worksheet Motion Graphics and Compositing Video Analysis Worksheet
Motion Graphics and Compositing Video Analysis Worksheet Luke Finlay
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression TechnologyTong Teerayuth
 
Film processing in a digital wold, Jean Varra | Ina
Film processing in a digital wold, Jean Varra | InaFilm processing in a digital wold, Jean Varra | Ina
Film processing in a digital wold, Jean Varra | InaFIAT/IFTA
 
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...MIPI Alliance
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEOazira96
 
E4 ident video analysis
E4 ident video analysisE4 ident video analysis
E4 ident video analysisLuke Finlay
 
Android Media Player Development
Android Media Player DevelopmentAndroid Media Player Development
Android Media Player DevelopmentTalentica Software
 
Information Processes and Technology Multimedia and Graphics
Information Processes and Technology Multimedia and GraphicsInformation Processes and Technology Multimedia and Graphics
Information Processes and Technology Multimedia and Graphicspezhappy99
 
Wavelet video processing tecnology
Wavelet video processing tecnologyWavelet video processing tecnology
Wavelet video processing tecnologyPrashant Madnavat
 

Similaire à Optimisation and Compression Intro (20)

Wireless PC2TV
Wireless PC2TVWireless PC2TV
Wireless PC2TV
 
PowerPoint 97
PowerPoint 97PowerPoint 97
PowerPoint 97
 
L51 w
L51 wL51 w
L51 w
 
Worksheet 1
Worksheet 1Worksheet 1
Worksheet 1
 
3D Televisions: Forecasting their emergence
3D Televisions: Forecasting their emergence3D Televisions: Forecasting their emergence
3D Televisions: Forecasting their emergence
 
Dcp
DcpDcp
Dcp
 
Digital File Formats
Digital File Formats Digital File Formats
Digital File Formats
 
Motion Graphics and Compositing Video Analysis Worksheet
Motion Graphics and Compositing Video Analysis Worksheet Motion Graphics and Compositing Video Analysis Worksheet
Motion Graphics and Compositing Video Analysis Worksheet
 
Hdtv technology
Hdtv technologyHdtv technology
Hdtv technology
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression Technology
 
Film processing in a digital wold, Jean Varra | Ina
Film processing in a digital wold, Jean Varra | InaFilm processing in a digital wold, Jean Varra | Ina
Film processing in a digital wold, Jean Varra | Ina
 
JVC GY-HM700E
JVC GY-HM700EJVC GY-HM700E
JVC GY-HM700E
 
JVC GY-HM700
JVC GY-HM700JVC GY-HM700
JVC GY-HM700
 
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
E4 ident video analysis
E4 ident video analysisE4 ident video analysis
E4 ident video analysis
 
Android Media Player Development
Android Media Player DevelopmentAndroid Media Player Development
Android Media Player Development
 
Information Processes and Technology Multimedia and Graphics
Information Processes and Technology Multimedia and GraphicsInformation Processes and Technology Multimedia and Graphics
Information Processes and Technology Multimedia and Graphics
 
Wavelet video processing tecnology
Wavelet video processing tecnologyWavelet video processing tecnology
Wavelet video processing tecnology
 

Plus de James Uren

3D Anytime, Anywhere
3D Anytime, Anywhere3D Anytime, Anywhere
3D Anytime, AnywhereJames Uren
 
How to Sell 3D
How to Sell 3DHow to Sell 3D
How to Sell 3DJames Uren
 
3D Post Production
3D Post Production3D Post Production
3D Post ProductionJames Uren
 
BTC302 Project Brief
BTC302 Project BriefBTC302 Project Brief
BTC302 Project BriefJames Uren
 
BTC BSc Programme Specification
BTC BSc Programme SpecificationBTC BSc Programme Specification
BTC BSc Programme SpecificationJames Uren
 
BTC FdSc Programme Specification
BTC FdSc Programme SpecificationBTC FdSc Programme Specification
BTC FdSc Programme SpecificationJames Uren
 
BTC208 Project Brief
BTC208 Project BriefBTC208 Project Brief
BTC208 Project BriefJames Uren
 
BIT204 1 Software Fundamentals
BIT204 1 Software FundamentalsBIT204 1 Software Fundamentals
BIT204 1 Software FundamentalsJames Uren
 
BIT204 2 Object Orientation
BIT204 2 Object OrientationBIT204 2 Object Orientation
BIT204 2 Object OrientationJames Uren
 
BTC108 1 Introduction To Electronics 1
BTC108 1 Introduction To Electronics 1BTC108 1 Introduction To Electronics 1
BTC108 1 Introduction To Electronics 1James Uren
 
BTC108 2 Introduction To Electronics 2
BTC108 2 Introduction To Electronics 2BTC108 2 Introduction To Electronics 2
BTC108 2 Introduction To Electronics 2James Uren
 
BTC108 3 Capacitance
BTC108 3 CapacitanceBTC108 3 Capacitance
BTC108 3 CapacitanceJames Uren
 
BTC108 4 AC Electronics
BTC108 4 AC ElectronicsBTC108 4 AC Electronics
BTC108 4 AC ElectronicsJames Uren
 
BTC108 5 Fourier
BTC108 5 FourierBTC108 5 Fourier
BTC108 5 FourierJames Uren
 
BTC3: Engineering Project Brief
BTC3: Engineering Project BriefBTC3: Engineering Project Brief
BTC3: Engineering Project BriefJames Uren
 
Converged Learning
Converged LearningConverged Learning
Converged LearningJames Uren
 
Internet Video Seminar
Internet Video SeminarInternet Video Seminar
Internet Video SeminarJames Uren
 

Plus de James Uren (20)

3D Anytime, Anywhere
3D Anytime, Anywhere3D Anytime, Anywhere
3D Anytime, Anywhere
 
Cost of 3D
Cost of 3DCost of 3D
Cost of 3D
 
How to Sell 3D
How to Sell 3DHow to Sell 3D
How to Sell 3D
 
3D Post Production
3D Post Production3D Post Production
3D Post Production
 
BTC302 Project Brief
BTC302 Project BriefBTC302 Project Brief
BTC302 Project Brief
 
BTC BSc Programme Specification
BTC BSc Programme SpecificationBTC BSc Programme Specification
BTC BSc Programme Specification
 
BTC FdSc Programme Specification
BTC FdSc Programme SpecificationBTC FdSc Programme Specification
BTC FdSc Programme Specification
 
BTC208 Project Brief
BTC208 Project BriefBTC208 Project Brief
BTC208 Project Brief
 
BIT204 1 Software Fundamentals
BIT204 1 Software FundamentalsBIT204 1 Software Fundamentals
BIT204 1 Software Fundamentals
 
BIT204 2 Object Orientation
BIT204 2 Object OrientationBIT204 2 Object Orientation
BIT204 2 Object Orientation
 
BTC108 1 Introduction To Electronics 1
BTC108 1 Introduction To Electronics 1BTC108 1 Introduction To Electronics 1
BTC108 1 Introduction To Electronics 1
 
BTC108 2 Introduction To Electronics 2
BTC108 2 Introduction To Electronics 2BTC108 2 Introduction To Electronics 2
BTC108 2 Introduction To Electronics 2
 
BTC108 3 Capacitance
BTC108 3 CapacitanceBTC108 3 Capacitance
BTC108 3 Capacitance
 
BTC108 4 AC Electronics
BTC108 4 AC ElectronicsBTC108 4 AC Electronics
BTC108 4 AC Electronics
 
BTC108 5 Fourier
BTC108 5 FourierBTC108 5 Fourier
BTC108 5 Fourier
 
BTC3: Engineering Project Brief
BTC3: Engineering Project BriefBTC3: Engineering Project Brief
BTC3: Engineering Project Brief
 
Bp2
Bp2Bp2
Bp2
 
Converged Learning
Converged LearningConverged Learning
Converged Learning
 
Internet Video Seminar
Internet Video SeminarInternet Video Seminar
Internet Video Seminar
 
Laptops
LaptopsLaptops
Laptops
 

Dernier

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
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
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
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
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Dernier (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
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
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
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
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

Optimisation and Compression Intro

  • 1. Battle of the Codecs In Digital Film and TV James Uren Independent Training Consultant, Senior Lecturer Broadcasting, Creative Director 3D Stories Optimisation and Compression Ravensbourne College of Design & Communication 24 November 2011
  • 2.
  • 3. Demistifying Codecs  The technologies of digital film  So many codecs...  The technology behind compression  The future... 2
  • 4. Digital Images Defined in Pixels  Standard-Definition (SDTV)  Europe: 720 x 576 pixels/frame. US/Japan: 720 x 480 pixels/frame  High-Definition (HDTV)  1920 x 1080 pixels/frame (Also called CIF (Common Image Format)). 1280 x 720 pixels/frame  Digital Film and D-cinema  Full-aperture 2K is 2048 x 1536 (gives a 1.33:1 (4:3) image)  Academy 2K is 1828 x 1080 (For a 1.85:1 image)  Full-aperture 4K is 4096 x 3072 pixels/frame 4
  • 5. Digital Image Pixel Resolutions 720 x 576 1280 x 720 1920 x 1080 2048 x 1536 4096 x 3072 5
  • 6. Film? • What resolution is film? Grain...
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. Film? • So resolution unknown - is 4K enough? • So in film we have: • Digital Intermediate (DI) for post-production • Digital cinema projection • Digital Capture - the last piece of the puzzle.
  • 12. HD Capture  CCD (Charge Coupled Device) or CMOS (Complementary Metal-Oxide Silicon) sensor options:  CMOS now lower noise than CCDs  CMOS allows A/D & processing on-chip  CMOS can have >100 million transistors... ARRIFLEX D21  Examples: The ARRIFLEX D21 uses a 35mm 6 megapixel (2.9K) CMOS imager The SI 2K has a 2/3” 2.5 megapixel (2K) CMOS imager SI-2K 10
  • 13. HD, 2K 4K + Imaging CMOS Active Pixel Sensor Photodiode 12
  • 14. HD, 2K 4K + Imaging Single-chip colour sensor Typically use a Bayer filter layout developed at Kodak. 13
  • 15. HD, 2K 4K + Imaging CMOS imager integrated circuit architecture http://micro.magnet.fsu.edu/primer/digitalimaging/cmosimagesensors.html 14
  • 16. Compression • Why? • Bandwidth, • Storage • Workflow • Lossless vs. lossy • Proxies
  • 17. Inter-Frame Compression • MPEG is an inter-frame codec and forms the backbone of many codecs (e.g. H.264) • Exploits commonality between frames • Sends one full ‘I Frame’ then predicts through the Group of Pictures (GOP)
  • 18. Intra-Frame Compression • Compressing each frame independently • Also known as ‘I Frame only’ • Examples include ProRes, DNxHD • Best for offline editing as no GOP reconstruction required
  • 20. Terminology • Resolution (e.g. 4K) • Anamorphic pixels • Raw data (e.g. RAW / R3D) • Bit depth (e.g. 12-bit) • Chroma sampling (e.g. 4:4:4) • Bandwidth / data rate / bit rate (e.g. 100Mbit/s) • Frame rate / scan type (e.g. 50i / 25PsF*) • Audio sampling frequency (e.g. 48kHz) • Wrapper
  • 21. Example Codec • Apple ProRes 422 (HQ) 1440x1080 25p 48kHz
  • 22. Example • Apple ProRes 422 (HQ) 1440x1080 25p 48kHz Codec
  • 23. Example • Apple ProRes 422 (HQ) 1440x1080 25p 48kHz Colour bandwidth ratios
  • 24. Example • Apple ProRes 422 (HQ) 1440x1080 25p 48kHz High Quality - the bit rate is higher - 220 Mbit/s
  • 25. Example • Apple ProRes 422 (HQ) 1440x1080 25p 48kHz Pixel resolution (HD Anamorphic)
  • 26. Example • Apple ProRes 422 (HQ) 1440x1080 25p 48kHz Frame rate and scan type
  • 27. Example • Apple ProRes 422 (HQ) 1440x1080 25p 48kHz Audio sampling frequency
  • 28. Interlaced or Progressive?  Interlace  Each image (frame) comprises two interlaced fields  Any movement between the fields causes artefacts  Introduced for TV because it halves transmission bandwidth  Used in 50i (Europe), 59.94i (USA/Japan) SDTV/HDTV  Progressive  Each image is complete & contains all the pixels  Can produce judder motion artefact at 24p or 25p  50p gives best motion portrayal  Higher frame rates would be better still (See BBC research into 150 fps) 6
  • 29. Interlaced or Progressive?  Not straightforward: Imagers do not scan the image, neither do flat panel displays  Interlace introduces artefacts and reduces vertical resolution  What the experts say:  “All data reduction systems (such as MPEG) give better results at lower bitrates with progressive sources”  “Progressive scanning gives improved motion portrayal”  “1080i offers better static resolution, 720p better motion portrayal”  (EBU The Review No.301) 7
  • 30. Picture Impairments Too much compression can introduce impairments: Blocking Mosquito Noise / Wings Contouring Smearing Freezes Breathing 42
  • 31. .bmp 964k 43
  • 32. .jpg 28k 44
  • 33. But... • ...this is only if you compress to much. • ProRes 4444 at 250Mbit/s is indistinguishable from uncompressed... • ...and much less data
  • 34. D-Cinema The DCI (Digital Cinema Initiatives) was set up in 2002 Aim was to set standards for a viable D-Cinema system Members include Disney, Fox, MGM, Paramount, Sony Pictures Entertainment (Columbia), Universal & Warner Bros. Adopted JPEG2000 compression 36
  • 35. D-Cinema JPEG2000 uses wavelet compression JPEG2000 does not divide the picture into discrete blocks D-cinema uses a mild level of compression to avoid artefacts (~250Mbit/s) 37
  • 37. The Future • Requirements on compression reduces with Moore’s Law • But this is countered by increasing resolutions and frame rates • Compression is here to stay, but offline and online continue to blur
  • 38. Round-Up • A complete digital pipeline from capture to display • Don’t fear compression • Great pictures mean a high bitrate end-to-end, but too high and your pipeline starts to get expensive... But not for long.
  • 39. Battle of the Codecs In Digital Film and TV James Uren Independent Training Consultant, Senior Lecturer Broadcasting, Creative Director 3D Stories Ravensbourne College of Design & Communication

Notes de l'éditeur

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n