Multimedia Networking

7.1.4 Audio and Video Compression

Home
Introduction
7.1 Multimedia Networking Applications
7.1.1 Examples of Multimedia Applications
7.1.2 Hurdles for Multimedia in Today's Internet
7.1.3 How Should the Internet Evolve to Support Multimedia Better?
7.1.4 Audio and Video Compression
7.2 Streamimg Stored Audio and Video
7.2.1 Accessing Audio and Video Through a Web Server
7.2.2 Sending Multimedia from a Streaming Server to a Helper Application
7.2.3 Real-Time Streaming Protocol (RTSP)
7.3 Making the Best of the Best-Effort Service: An Internet Phone Example
7.3.1 The Limitations of a Best-Effort Service
7.3.2 Removing Jitter at the Receiver for Audio
7.3.3 Recovering from Packet Loss
7.4 Protocols for Real-Time Interactive Applications
7.4.1 RTP
7.4.2 RTP Control Protocol (RTCP)
7.4.3 SIP
7.4.4 H.323
7.5 Distributing Multimedia: Content Distribution Networks
7.6 Beyond Best Effort
7.6.1 Scenario 1: A 1 Mbps Audio Application and an FTP
7.6.2 Scenario 2: A 1 Mbps Audio Application and a High-Priority FTP Transfer
7.6.3 Scenario 3: A Misbehaving Audio Application and an FTP Transfer
7.6.4 Scenario 4: Two 1 Mbps Audio Applications over an Overload 1.5 Mbps Link
7.7 Scheduling and Policing Mechanisms
7.7.1 Scheduling Mechanisms
7.7.2 Policing: The Leaky Bucket
7.8 Intergrated Services and Differentiated Services
7.8.1 Intserv
7.8.2 Diffserv
7.9 RSVP
7.9.1 The Essence of RSVP
7.9.2 A Few Simple Examples
Audio and Video Compression

Before audio and video can be transmitted over a computer network, it must be digitzed and compressed.
 
Compression is important because uncompressed audio and video comsume a tremendoous amount of storage and bandwidth; removing the inherent redundancies in digitized audio and video singals can reduce the amount of data that needs to be stored and transmitted by orders of magnitude.
 
The fields of audio and video compression are vast.  They have been active areas of research for more than fifty years, and there are now literally hundreds of popular techniques and standards for both audio and video compression.
 
Audio Compression in the Internet

A continuoously varying analog audio signal is normally converted to a digital signal as follows:
  • The analog audio signal is first sampled at some fixed rate.  The value of each sample is an arbitrary real number.
  • Each of the samples is then rounded to one of a finite number of values.  This operation is referred to as quantization.  The number of finite values--called quantization values--is typically a power of two.
  • Each of the quantization value is represented by a fixed number of bits.  Each of the samples is coverted to its bit representation.  The bit representations of all the samples are concatenated together to form the digital representation fo the signal.
 
Vidoe Compression in the Internet
 
A viedo is a sequence of images, typically being displayed at a constant rate.  There are two types of redundancy in video, both of which can be exploited for compression.  Spatial redundancy is the redundancy within a given image.  Temporal redundancy reflects repetition from image to subsequent image.
 
The MPEG compression standards are among the most popular compression techniques.  These include MPEG 1 for CD-ROM quality video, MPEG 2 for high-quality DVD video, and MPEG 4 for object-oriented video compression.  The MPEG standard draws heavily on the JPEG standard for image compression by exploited by JPEG.  The H.261 video compression standards are also very poppular in the Internet.  Ther are nemerous proprietaary sechemes.