Audio/Video compression More about video compression and MPEG Alain Bouffioux December, 20, 2006.

Slides:



Advertisements
Similar presentations
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
Advertisements

MPEG: A Video Compression Standard for Multimedia Applications Václav Hlaváč CTU Prague, Initial material were slides of Didier.
Video Compression - MPEG
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.
A Brief Overview of the MPEG2 Standard Dr. David Corrigan.
-1/20- MPEG 4, H.264 Compression Standards Presented by Dukhyun Chang
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)
Multimedia communications EG-371Dr Matt Roach Multimedia Communications EG 371 and EG 348 Dr Matthew Roach Lecture 2 Digital.
Source Coding for Video Application
SWE 423: Multimedia Systems
Streaming Video over the Internet: Approaches and Directions Dapeng Wu, Yiwei Thomas Hou et al. Presented by: Abhishek Gupta
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)
MPEG Audio Compression by V. Loumos. Introduction Motion Picture Experts Group (MPEG) International Standards Organization (ISO) First High Fidelity Audio.
Sample rate conversion At times, it will be necessary to convert the sampling rate in a source signal to some other sampling rate Consider converting from.
CT20A6100 MACHINE VISION AND DIGITAL IMAGE ANALYSIS MPEG Pauli Jutila Cristina Petre.
ATSC Digital Television
Statistical Multiplexer of VBR video streams By Ofer Hadar Statistical Multiplexer of VBR video streams By Ofer Hadar.
An Introduction to H.264/AVC and 3D Video Coding.
MPEG-2 Transport streams tMyn1 MPEG-2 Transport streams The MPEG-2 Systems Standard specifies two methods for multiplexing the audio, video and other data.
MPEG-2 Digital Video Coding Standard
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Alain Bouffioux - Philips Leuven1A/V compression applied to Consumer Products - ULG Philips Digital Systems LaboratoriesAB /12/01 Audio & Video.
Alain Bouffioux - Philips Leuven1A/V compression & Consumer Products - ULG Philips Digital Systems Laboratories 09/12/2004 Audio & Video Compression and.
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.
1 Image Compression. 2 GIF: Graphics Interchange Format Basic mode Dynamic mode A LZW method.
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.
Page 19/15/2015 CSE 40373/60373: Multimedia Systems 11.1 MPEG 1 and 2  MPEG: Moving Pictures Experts Group for the development of digital video  It is.
Multimedia Data Video Compression The MPEG-1 Standard
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.
MPEG Motion Picture Expert Group Moving Picture Encoded Group Prateek raj gautam(725/09)
Audio Compression Usha Sree CMSC 691M 10/12/04. Motivation Efficient Storage Streaming Interactive Multimedia Applications.
CMPT365 Multimedia Systems 1 Media Compression - Video Coding Standards Spring 2015 CMPT 365 Multimedia Systems.
1 Multimedia Information Representation. 2 Analog Signals  Fourier transform and analysis Analog signal and frequency components Signal bandwidth and.
Video Video.
Audio/Video compression An introduction Alain Bouffioux December, 20, 2006.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
Concepts of Multimedia Processing and Transmission IT 481, Lecture 3 Dennis McCaughey, Ph.D. 5 February, 2007.
DMB 서비스 기술 임 영 권 Characteristics of T-DMB Backward Compatibility Efficient use of bandwidth Convergence between broadcasting & communication.
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.
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.
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
Fundamentals of Multimedia Chapter 12 MPEG Video Coding II MPEG-4, 7 Ze-Nian Li & Mark S. Drew.
Image Processing Architecture, © Oleh TretiakPage 1Lecture 10 ECEC 453 Image Processing Architecture Lecture 10, 2/17/2004 MPEG-2, Industrial.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
AIMS’99 Workshop Heidelberg, May 1999 Assessing Audio Visual Quality P905 - AQUAVIT Assessment of Quality for audio-visual signals over Internet.
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.
Video Compression and Standards
Overview of Digital Video Compression Multimedia Systems and Standards S2 IF Telkom University.
Multimedia Synchronization I. Fatimah Alzahrani. Definitions Multimedia System : A system or application that supports the integrated processing of several.
1 Multimedia Outline Compression RTP Scheduling. 2 Compression Overview Encoding and Compression –Huffman codes Lossless –data received = data sent –used.
Introduction to MPEG Video Coding Dr. S. M. N. Arosha Senanayake, Senior Member/IEEE Associate Professor in Artificial Intelligence Room No: M2.06
V ENUS INTERNATIONAL COLLEGE OF TECHNOLOGY Guided by : Rinkal mam.
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 6 Multimedia Communication Across Networks.
Networked Multimedia Basics. Network Characteristics.
MPEG Video Coding I: MPEG-1 1. Overview  MPEG: Moving Pictures Experts Group, established in 1988 for the development of digital video.  It is appropriately.
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
JPEG Compression What is JPEG? Motivation
CSI-447: Multimedia Systems
CS644 Advanced Topics in Networking
Video Compression - MPEG
Standards Presentation ECE 8873 – Data Compression and Modeling
Judith Molka-Danielsen, Oct. 02, 2000
Presentation transcript:

Audio/Video compression More about video compression and MPEG Alain Bouffioux December, 20, 2006

AV Compression / Alain Bouffioux 2 Agenda About video formats Video compression Audio/Video synchronisation The MPEG model The MPEG model and its situation in a communication/storage context

December, 20, 2006 AV Compression / Alain Bouffioux 3 Agenda About video formats Video compression Audio/Video synchronisation The MPEG model The MPEG model and its situation in a communication/storage context

December, 20, 2006 AV Compression / Alain Bouffioux 4 Some video formats (1) Max. component video signal bandwidth: 6 MHz. CCIR601 (CCIR is now ITU-R): Video sampling frequency: 13.5 MHz for 525 & 625 line standards (Shannon requirement) Synchronous with line (& image) sampling frequency F sampling = 864*F h for 625 line system (50Hz countries) F sampling = 858*F h for 525 line system (60Hz countries) Why synchronous? Points at the same place RGB format

December, 20, 2006 AV Compression / Alain Bouffioux 5 Some video formats (2) YC b C r format C b = B-Y, C r = R-Y Eye is more sensitive to luminance than to chrominance (lower resolution needed for chrominance)

December, 20, 2006 AV Compression / Alain Bouffioux 6 Some video formats (3) The 4:2:2 format –Y 13.5 MHz –C 6.75 MHz –8 bits per pixel –720 active points per line –576 lines active lines per image (2 fields) (625 lines) and 480 active lines (525 lines) –Pixels are not square (e.g. for 480 lines, only 640 active points are needed - VGA format) –Image size 720*576 or 720*480 The 4:2:0 format –Vertical chrominance resolution reduced by a factor 2 (average on two successive lines)

December, 20, 2006 AV Compression / Alain Bouffioux 7 Some video formats (4) SIF format (Source Intermediate Format) Half the vertical & horizontal resolution of 4:2:0 For 50Hz countries: –Luminance: 360*288 –Chrominance: 180*120 CIF format (Common Intermediate Format) –Intermediate format used in videoconferencing (communication between US & Europe) –resolution: 360*288 –Sampling frequency: 30 Hz QCIF (Quarter CIF) –Half the vertical & horizontal resolution of CIF.

December, 20, 2006 AV Compression / Alain Bouffioux 8 Agenda About video formats Video compression Audio/Video synchronisation The MPEG model The MPEG model and its situation in a communication/storage context

December, 20, 2006 AV Compression / Alain Bouffioux 9 Video compression in MPEG-1&2 (1/6) Principles –removal of intra-picture redundancy : Image is decomposed in 8*8 pixels sub-images. Each sub-image contains redundant information DCT transformation (in frequency domain) de-correlates the input signal.( most energy in low spatial frequencies) –removal of inter-picture redundancy : coding of difference with an interpolated picture (moving vectors) –high frequent spatial frequencies quantized with lower resolution than low ones(remove irrelevancy) –Zig-zag scan and VLC (remove redundancy)

December, 20, 2006 AV Compression / Alain Bouffioux 10 Video compression in MPEG-1&2 (2/6) Result –4:2:2 CCIR 601 resolution : 166 Mbps (=25images/sec *576lines* 720pixels* 2(lum & chrom) *8bits)  ± 3-4 Mbps (mean) in MPEG2 –4:2:0 SIF resolution : 30 Mbps (=25 images/sec *288 lines *352pixels* 1.5(lum & chrom) *8bits)  ±1.2 Mbps (CBR) in video CD (MPEG1)

December, 20, 2006 AV Compression / Alain Bouffioux 11 Video compression in MPEG-1&2 (3/6) Spatial redundancy reduction (DCT example)

December, 20, 2006 AV Compression / Alain Bouffioux 12 Video compression in MPEG-1&2 (4/6) Temporal redundancy reduction

December, 20, 2006 AV Compression / Alain Bouffioux 13 Video compression in MPEG-1&2 (5/6) Model of a possible encoder

December, 20, 2006 AV Compression / Alain Bouffioux 14 Video compression in MPEG-1&2 (6/6) MPEG1 en MPEG2 video features –MPEG1 sequential picture resolution : SIF format 288(240)*356*24,25 or 30 Hz –MPEG2 sequential or interlaced various levels : low level (SIF: 288*356), main level (CCIR601: 576 * 720), high 1440 level (HDTV: 1152*1440), high level (EQTV: 1152*1920) various profiles (toolboxes) : simple profile (No B picture), main profile (=MPEG1+interlaced), SNR scalable profile (allows graceful degradation (noise improvement at same resolution), spatial scalable profile (hierarchical coding : improvement at higher resolution), high profile.

December, 20, 2006 AV Compression / Alain Bouffioux 15 MPEG-4 AVC or H264 Defined about 10 years after MPEG-2 Similar structure used as for MPEG-2, but with some improvements And two additional functional blocks: –Intra-frame prediction: exploit the redundancy between neighboring blocks within a frame. A block is predicted using previously decoded neighboring blocks. –Deblocking filter: filter applied at the block edges (except picture boundaries) in order to improved perceptual quality Cost/benefits –Higher complexity –Compression efficiency: factor 2 More than compression Network adaptation layer defining packets adapted for each transport network Uses –HD-DVD (MPEG2 & H264) & HD-camcorder –Video services over IP networks –Mobile television

December, 20, 2006 AV Compression / Alain Bouffioux 16 Agenda About video formats Video compression Audio/Video synchronisation The MPEG model The MPEG model and its situation in a communication/storage context

December, 20, 2006 AV Compression / Alain Bouffioux 17 Synchronisation Synchronisation in the multimedia context refers to the mechanism that ensures a temporal consistent presentation of the audio-visual information to the user

December, 20, 2006 AV Compression / Alain Bouffioux 18 Intramedia synchronisation  T between capture & presentation = Constant  Same clock frequency & Data on time  Need for corresponding tools

December, 20, 2006 AV Compression / Alain Bouffioux 19 Intermedia synchronisation  T_Audio =  T_Video  Sampled at the same time  Presented at the same time)  Possible tools : common time base and presentation control (media synchronisation with the common time base) Ex.: Lip_sync (requirement: |delay_difference| < 80msec)

December, 20, 2006 AV Compression / Alain Bouffioux 20 Recovery of clock in CBR CBR = Constant Bit Rate if the clock to recover is synchronous with transport clock  Recovery of clock but not of common time base Remark : possibility to slave stream from DSM (Digital Storage Media) to local clock

December, 20, 2006 AV Compression / Alain Bouffioux 21 Recovery of clock and time base in VBR VBR = Variable Bit Rate Need for insertion of time stamps (OUTPUT TIME) Output time stamp says for example : “It is now 16h25” Receiver adjusts its own horloge to the received time stamp Recovery of clock & of common time base

December, 20, 2006 AV Compression / Alain Bouffioux 22 Synchronisation with common time base Insertion of time stamp (=INPUT TIME) Input time stamp says : “Input has been sampled at 16h29”. Receiver presents the sample at (its input time stamp + maximum encoding and decoding delay). Alternative: transmission of presentation time stamp (input time+delay)

December, 20, 2006 AV Compression / Alain Bouffioux 23 Getting data on time “On time”  Not too late, not too early No buffer over- or underflow Flow control : not applicable in broadcasting Common time base and Definition of a standard target decoder that describes the data consumption pattern of the receiver. Remark: Direct MPEG (Microsoft) does not use time information for clock recovery but relies on flow control

December, 20, 2006 AV Compression / Alain Bouffioux 24 Streams Idea of continuity (pipelining) Carry time information for clock recovery No flow control (allows broadcasting) The emitter must have a precise knowledge of the receiver data consumption pattern (explicit in MPEG STD) Just-in-time Shorter delay and smaller buffer size than with flow control Two aspects in synchronisation : Clock recovery & timing control (model & buffering)

December, 20, 2006 AV Compression / Alain Bouffioux 25 Requirement on for stream transport Data information  BER (Bit Error Rate) requirement No repetition of frame possible  FEC (Forward Error Correction) Time information  No jitter

December, 20, 2006 AV Compression / Alain Bouffioux 26 Agenda About video formats Video compression Audio/Video synchronisation The MPEG model The MPEG model and its situation in a communication/storage context

December, 20, 2006 AV Compression / Alain Bouffioux 27 What is MPEG ? (1/2) Moving Picture Expert Group International standard (ISO/IEC)  Interoperability & economy of scale Various standard developed/under development Not only audio/video compression MPEG-1/2/4 - Compression of audio and video and multiplexing in a single stream Definition of the interface not of the codecs  room for improvement MPEG-1 : until 1.5 Mbps, for DSM Progressive picture, stereo (Dolby surround)

December, 20, 2006 AV Compression / Alain Bouffioux 28 What is MPEG ? (2/2) MPEG-2 : Various bit rates (CBR & VBR) Program stream for DSM, transport stream for network Interlaced picture, 5.1 audio channels Definition of various video levels (e.g. CCIR601 resolution: 4-9 Mbps, HDTV:15-25 Mbps) and profiles MPEG-3 : Cancelled, integrated in MPEG-2 (Initially : for HDTV) MPEG-4 : standard for audio, video and graphics in interactive 2D and 3D multimedia communication. (Initially : low bit rate for real-time personal communication) MPEG-7 : Multimedia contents description interface MPEG-21 : Focus on multimedia distribution and on DRM aspects.

December, 20, 2006 AV Compression / Alain Bouffioux 29 The MPEG model (1/2)

December, 20, 2006 AV Compression / Alain Bouffioux 30 The MPEG model (2/2) Compression of audio & video and multiplexing in a single stream Guarantees intramedia and intermedia synchronisation. MPEG defines an interface –bitstream syntax –timing of the bitstream  STD specifying timing requirement (ideal model) Consequences: –Decoder should compensate deviations from STD –Network should correct jitter introduced by the channel (RTD-LJ) MPEG stream must be adapted to transmission channel formatting, error correction, channel coding (b.v.video-CD)

December, 20, 2006 AV Compression / Alain Bouffioux 31 Components of the MPEG standard The MPEG standard is composed of 3 main parts : –Audio : Specifies the compression of audio signals –Video : Specifies the compression of video signals –System : specifies how the compressed audio and video signals are combined in the multiplexed stream (program stream or transport stream). Each part specifies : –The bitstream syntax –The timing requirement and the related information (bit rate, buffer needs)

December, 20, 2006 AV Compression / Alain Bouffioux 32 Synchronisation Mechanism (1/2)

December, 20, 2006 AV Compression / Alain Bouffioux 33 Synchronisation Mechanism (2/2) PCR for TS & SCR for PS (but same concept) Clock & time base recovery: Time-stamping at OUTPUT (PCR included in TS multiplex, SCR in pack header) Audio & video clock locked to STC  easy recovery (see next slide) Synchronisation of audio & video to common time base (Time stamping at Input) STD is defined (because of the absence of flow control) streams are such that STD buffers never over- or underflow In TS, many program in a single stream but unique clock per program. Time information  “No Jitter” requirement for transport

December, 20, 2006 AV Compression / Alain Bouffioux 34 Clock recovery in receiver

December, 20, 2006 AV Compression / Alain Bouffioux 35 MPEG-2 program & transport streams Program streams: –Relatively error free environment –program stream packet may have variable and great length –Single time base Transport streams: –environment where errors are likely –many programs (independent time base) –Transport stream packet : fixed, 188 bytes –Contains tables

December, 20, 2006 AV Compression / Alain Bouffioux 36 MPEG in a communication context (1) “Typical” communication system

December, 20, 2006 AV Compression / Alain Bouffioux 37 MPEG in a communication context (2) MPEG : Source coding only (bit rate reduction) + multiplexing The MPEG stream must be adapted to the channel in what concern its physical characteristics and in order to get the required QoS (Quality of Service) & Security –Encryption –Channel coding (forward error correction, interleaving, modulation codes) –multiplexing & formatting –modulation (frequency allocation) –multiple access method Some channels : CD/DVD - satellite - cable - ATM

December, 20, 2006 AV Compression / Alain Bouffioux 38 MPEG-2 in a communication context (3) A simple view of MPEG-2 in the communication context

December, 20, 2006 AV Compression / Alain Bouffioux 39