1 Introduction to Video Compression תשס"ט – 2009 דחיסת מולטימדיה – הנדסת מערכות תקשורת Part A Introduction to Video Compression תשס"ט – 2009 דחיסת מולטימדיה.

Slides:



Advertisements
Similar presentations
Multimedia: Digitised Sound Data Section 3. Sound in Multimedia Types: Voice Overs Special Effects Musical Backdrops Sound can make multimedia presentations.
Advertisements

Multimedia System Video
MPEG: A Video Compression Standard for Multimedia Applications Václav Hlaváč CTU Prague, Initial material were slides of Didier.
Basics of MPEG Picture sizes: up to 4095 x 4095 Most algorithms are for the CCIR 601 format for video frames Y-Cb-Cr color space NTSC: 525 lines per frame.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
1 Video Coding Concept Kai-Chao Yang. 2 Video Sequence and Picture Video sequence Large amount of temporal redundancy Intra Picture/VOP/Slice (I-Picture)
Source Coding for Video Application
Chapter 7 End-to-End Data
Video enhances, dramatizes, and gives impact to your multimedia application. Your audience will better understand the message of your application.
Spring 2003CS 4611 Multimedia Outline Compression RTP Scheduling.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
SWE 423: Multimedia Systems Chapter 7: Data Compression (1)
Department of Computer Engineering University of California at Santa Cruz Video Compression Hai Tao.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
EE2F1 Speech & Audio Technology Sept. 26, 2002 SLIDE 1 THE UNIVERSITY OF BIRMINGHAM ELECTRONIC, ELECTRICAL & COMPUTER ENGINEERING Digital Systems & Vision.
+ Video Compression Rudina Alhamzi, Danielle Guir, Scott Hansen, Joe Jiang, Jason Ostroski.
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Trevor McCasland Arch Kelley.  Goal: reduce the size of stored files and data while retaining all necessary perceptual information  Used to create an.
Image Processing Architecture, © Oleh TretiakPage 1Lecture 9 ECEC-453 Image Processing Architecture Lecture 9, 2/12/ 2004 MPEG 1 Oleh Tretiak.
MPEG-2 Standard By Rigoberto Fernandez. MPEG Standards MPEG (Moving Pictures Experts Group) is a group of people that meet under ISO (International Standards.
Introduction to JPEG Alireza Shafaei ( ) Fall 2005.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) Digital Video Motion Pictures Broadcast Television Digital Video 11/28.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 5 – Digital Video Representation Klara Nahrstedt Spring 2014.
MPEG MPEG-VideoThis deals with the compression of video signals to about 1.5 Mbits/s; MPEG-AudioThis deals with the compression of digital audio signals.
Multimedia Data Video Compression The MPEG-1 Standard
Video Basics. Agenda Digital Video Compressing Video Audio Video Encoding in tools.
Introduction to JPEG and MPEG Ingemar J. Cox University College London.
MPEG-1 and MPEG-2 Digital Video Coding Standards Author: Thomas Sikora Presenter: Chaojun Liang.
MPEG: (Moving Pictures Expert Group) A Video Compression Standard for Multimedia Applications Seo Yeong Geon Dept. of Computer Science in GNU.
Multimedia Data Video Compression The MPEG-1 Standard Dr Mike Spann Electronic, Electrical and Computer.
Audio Compression Usha Sree CMSC 691M 10/12/04. Motivation Efficient Storage Streaming Interactive Multimedia Applications.
Digital Media Lecture 10: Video & Compression Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Video Video.
Videos Mei-Chen Yeh. Outline Video representation Basic video compression concepts – Motion estimation and compensation Some slides are modified from.
Digital Media Dr. Jim Rowan ITEC 2110 Video Part 2.
Image Processing and Computer Vision: 91. Image and Video Coding Compressing data to a smaller volume without losing (too much) information.
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
June, 1999 An Introduction to MPEG School of Computer Science, University of Central Florida, VLSI and M-5 Research Group Tao.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
8. 1 MPEG MPEG is Moving Picture Experts Group On 1992 MPEG-1 was the standard, but was replaced only a year after by MPEG-2. Nowadays, MPEG-2 is gradually.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Media Compression.
Digital Media Dr. Jim Rowan ITEC 2110 Video Part 2.
Outline Kinds of Coding Need for Compression Basic Types Taxonomy Performance Metrics.
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
Spring 2000CS 4611 Multimedia Outline Compression RTP Scheduling.
MPEG-1Standard By Alejandro Mendoza. Introduction The major goal of video compression is to represent a video source with as few bits as possible while.
MPEG.
IntroductiontMyn1 Introduction MPEG, Moving Picture Experts Group was started in 1988 as a working group within ISO/IEC with the aim of defining standards.
Block-based coding Multimedia Systems and Standards S2 IF Telkom University.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Overview of Digital Video Compression Multimedia Systems and Standards S2 IF Telkom University.
Information Systems Design and Development Media Types Computing Science.
H ARSHAL M EHTA I MAGE /V IDEO C OMPRESSION.
6/9/20161 Video Compression Techniques Image, Video and Audio Compression standards have been specified and released by two main groups since 1985: International.
Digital Video Representation Subject : Audio And Video Systems Name : Makwana Gaurav Er no.: : Class : Electronics & Communication.
Or, how to make it all fit! DIGITAL VIDEO FILES AND COMPRESSION STANDARDS.
Media Compression.
Video Basics.
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Dr. Jim Rowan ITEC 2110 Video Part 2
Multimedia: Digitised Sound Data
Data Compression.
Video Compression - MPEG
Dr. Jim Rowan ITEC 2110 Video Part 2
Standards Presentation ECE 8873 – Data Compression and Modeling
Govt. Polytechnic Dhangar(Fatehabad)
Image/Video Compression September 28, 1999
Presentation transcript:

1 Introduction to Video Compression תשס"ט – 2009 דחיסת מולטימדיה – הנדסת מערכות תקשורת Part A Introduction to Video Compression תשס"ט – 2009 דחיסת מולטימדיה – הנדסת מערכות תקשורת Part A Dr. Ofer Hadar Communication Systems Engineering Dept., BGU URL: Based on: 1 Lecture of John G. Apostolopoulos, Streaming Media System Group, HP Labs, Palo Alto, CA, 2. Lecture of Didier Le Gall, MPEG: A Video Compression Standard for Multimedia Applications O. Hadar

2 Introduction to Video Coding

3 Digital Data  Lots of Bytes (1) (40% of original size) 1200 lines x 1600 pixels per line RGB, 24 bit (3 bytes) per color pixel Total uncompressed (raw) size is 5.8 Mbyte 36 photo’s film: 200 Mbyte (about 1/3 of a CD-ROM) Download time: 1.5 hours (GSM); 12 minutes (ISDN/56k); 46 second (ADSL); 5 seconds (slow IntraNet); <1 second (fast IntraNet) Digital camera technology 2000

4 Digital Data  Lots of Bytes (2) 576 lines x 720 pixels per line YUV, 16 bit (2 bytes) per color pixel Total uncompressed (raw) size per frame is 830 kByte 1 hour of video 75 GByte Download time: 16 hours (slow IntraNet); 2 hours (fast IntraNet) Digital (MiniDV) camcorder technology

5 Need for Video Compression

6

7 Need for Image & Video Compression

8 Video Data Size size of uncompressed video in gigabytes image size of video 1280x720 (1.77) 640x480 (1.33) 320x x120

9 Video Bit Rate Calculation width  pixels(160, 320, 640, 720, 1280, 1920, …) height  pixels(120, 240, 480, 485, 720, 1080, …) depth  bits(1, 4, 8, 15, 16, 24, …) fps  frames per second (5, 15, 20, 24, 30, …) compression factor(1, 6, 24, …) width * height * depth * fps compression factor = bits/sec

10 Effects of Compression storage for 1 hour of compressed video in megabytes 3 bytes/pixel, 30 frames/sec

11 Be Careful... mpeg 200:1, jpeg 24:1 analog source digital representation compressed representation vs

12 Types of Compression (1) n Lossless compression u Reversible compression Compressed photo Identical CompressDecompress

13 Types of Compression (2) n Lossy compression u Irreversible compression Compressed photo No longer Identical Compress (Coder) Decompress (Decoder)

14 Compression System CoderDecoder signal insignal out bit rate compressed signal Quantify the numerical/perceptual difference

15 Compression to VBR or CBR n CBR (Constant Bit Rate) vs VBR (Variable Bit Rate) Scene more complex  Higher bit rate for same quality CBR  variable quality (example : Video CD artefact) Constant quality  VBR necessary (e.g.: DVD-Video)

16 Compression Technology Change the “Format”

17 50 %, 1.4 MByte 25%, 360 kByte 12.5%, 90 kByte 100%, 5.8 Mbyte Reduce the Resolution (1)

18 Reduce the Resolution (2) n Compression Factor

19 24 bit ( different colors) Number of bits to represent one image (color) pixel Reduce the Number of “Colors” (1)

20 8 bit (256 different colors) Compression factor 3 Reduce the Number of “Colors” (2)

21 6 bit (64 different colors) Compression factor 4 Reduce the Number of “Colors” (3)

22 4 bit (16 different colors) Compression factor 6 Reduce the Number of “Colors” (4)

23 1 bit (2 different colors) Compression factor 24 Reduce the Number of “Colors” (5)

24 8 bit (256 different gray values) Compression factor 3 Reduce the Number of “Colors” (6)

25 4 bit (16 different gray values) Compression factor 6 Reduce the Number of “Colors” (7)

26 3 bit (8 different gray values) Compression factor 8 Reduce the Number of “Colors” (8)

27 2 bit (4 different gray values) Compression factor 12 Pulse Code Modulation (PCM) Compression Reduce the Number of “Colors” (9)

28 Compression Technology Transform Coding

29 Images and Video Frame of Picture Sequence Line time Pixel or Pel

30 Spatial and Temporal Redundancy

31 Neighboring Pixels are Correlated Locally there is little variation in color. If you know one pixel intensity, you can make a fair prediction about its neighbors

32 Spatial Redundancy n Take advantage of similarity among most neighboring pixels

33 Temporal Redundancy n Take advantage of similarity between successive frames (Simpsons News Clip Here)

34 “Talking Head” Temporal Activity

35 Temporal Redundancy Reduction

36 Temporal Redundancy Reduction

37 Temporal Redundancy Reduction

38 Temporal Redundancy Reduction (Cont.)

39 Group of Pictures (GOP) n Starts with an I-frame n Ends with frame right before next I-frame n “Open” ends in B-frame, “Closed” in P-frame u (What is the difference?) n MPEG Encoding parameter, but ‘typical’: u I B B P B B P B B I u I B B P B B P B B P B B I n Why not have all P and B frames?

40 How to Compress? n Removal of statistical redundancy u Spatial redundancy: intra coding u Temporal redundancy: inter coding n Human visual system F We are more sensitive to luminance than color. F We are more sensitive to low spatial frequencies than high spatial frequencies n Lossless compression vs. lossy compression

41 Perceptual Coding n Encode source signal using lossy compression u Lossless algorithms typically reduce signal by 3:1 u Must use lossy algorithm to get adequate compression n Hide errors where humans will not see or hear it u Study hearing and vision system to understand how we see/hear u Masking refers to one signal overwhelming/hiding another (e.g., loud siren or bright flash) u Audio perception is kHz but most sounds in low frequencies (e.g., 2 kHz to 4 kHz) u Visual perception strongly influenced by edges and low frequencies

42 Spatial Redundancy: Intra Coding Block-based schemes - Transform coding - Vector quantization (VQ) Non block-based schemes - Subband/Wavelet coding - Pyramid coding

43 Block-Based Coding

44 Color Transformation n RGB  YUV color coordinates n U/V chrominance components are downsampled in coding UMCP ENEE408G Slides (created by M.Wu & R.Liu © 2002)

45 Color Formats UMCP ENEE408G Slides (created by M.Wu & R.Liu © 2002) Revised from R.Liu Seminar Course UMD

46 Block-based Coding … … Sequence Picture GOB YY YY CBCB CRCR Block Macroblock (MB)

47 MPEG2 Video Basics: Sequence (Display Order) GOP (Display Order, N=12, M=3) Picture Slice MacroBlock Y Cr Cb Y Blocks Cr Block Cb Block BBBBBBBBIPP P Note: Y = Luma Cr = Red-Y Cb = Blue-Y Source:Sarnoff Corporation