We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byJoe Howle
Modified over 2 years ago
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 1 3.5 Media Scaling and Media Filtering Definition of Media Scaling Adaptation of the data rate of a media stream to the capacity of the network Requirements for scaling algorithms Quick and precise adaptation to the capacity of the network Minimum possible visual/audible effect Robustness in case of packet loss
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 2 Resource Reservation vs. Stream Adaptation Reservation of Resources The application requests the necessary QoS (and thus network resources) in advance. Those resources will be guaranteed for the duration of the stream. Adaptation The application adapts dynamically to the resources/capacity currently available from the network. This works for existing „best effort“ networks, in particular for the Inter- net with IP Version 4. Adaptive applications must implement audio and/or video codecs that allow scaling at run-time. Reservation and adaptation can be combined, in particular for probabi- listic QoS guarantees: A reasonable amount of resources is reserved in advance, and in short phases of exceedingly high bit rates, the appli- cation scales down the stream.
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 3 Messages Exchanged for Scaling The source starts to send at some initial data rate. The network or the destination sends feedback messages indicating their current load. The source adapts the data stream by dynamically changing the para- meters of the codec. source sink data more/less data feedback
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 4 Scaling Example While an MPEG video is being played from a video server to a user the network signals congestion. As a consequence, the video server changes the quantization table of the MPEG codec (increases the quantization step size) and thus generates VBR video at a lower bit rate (and a lower image quality). Note the difference to the reaction you would observe on a network without adaptive (scaling) applications: the congestion control algorithm of the net- work (e.g., the one contained in TCP) would reduce the packet rate, leading to a lower video frame rate at the receiver. The network has no alternative; only the source (the application) can handle the overload situation in a more intelligent way!
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 5 Media Layering and Filtering Layering and filtering are especially relevant in multicast trees: Different receivers require different bit rates and stream qualities. Only those parts of the stream are transported to a receiver that it can really use. Irrelevant parts of the stream are removed by the inner nodes of the network. A B C E D layer 0 (base layer) layer 1 (enhancement layer for medium quality) layer 2 (enhancement layer for high quality)
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 6 Layered Video Encoding The two most important layering techniques for video are temporal scaling and spatial scaling. Temporal Scaling Assign frames to layers in a round-robin fashion. The more layers the re- ceiver gets, the higher is the frame rate. Spatial Scaling Assign data values to layers such that for each frame, a low-quality version can be reproduced from layer 0; adding higher layers will add “visible qua- lity“ to the frame. There are other scaling/layering schemes, e.g., spatio-temporal techniques, which we will not discuss here.
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 7 Temporal Scaling for Video The base layer (i.e., layer 0) transmits every third frame. So do the first and the second enhancement layers. Together, the full frame rate is transmitted. 0 1 2 3 4 5 6 7 8 9 10 11 0 1 2 3 4 5 6 7 8 9 0 3 6 9 1 4 7 10 2 5 8 11 10 disassembling reassembling layer 0 layer 1 layer 2 layer 0 layer 1 layer 2 11
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 8 Spatial Scaling for Video (1) Pyramid Encoding The encoder first down-samples the image, compresses it according to the chosen encoding technique, and then transmit the result in the base layer. At the same time, it decompresses the image, up-samples it and gets a coarse version of the original. To compensate for the difference, the encoder subtracts the resulting copy from the original and sends the encoded diffe- rence in the enhancement layer. The MPEG-2 standard supports pyramid encoding.
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 9 Spatial Scaling for Video (2) Layered Frequencies Each 8x8 block is DCT-transformed and quantized. After quantization, the coefficients are stored in different layers, e.g., the first three coefficients in the base layer, the next three in the first enhancement layer, the next four in the second enhancement layer, etc.
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 10 Spatial Scaling for Video (3) Layered Quantization Each 8x8 block is DCT-transformed. The bits of the DCT coefficients are distributed over several layers. For example, the base layer may contain the first two bits of all coefficients (corresponding to a very coarse quantization), the first enhancement layer the next two bits of all coefficients, etc. Recei- ving more layers is then equivalent to choosing a finer quantization.
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 11 Spatial Scaling for Video (4) Layered Encoding of Wavelet-Transformed Video Original frame Wavelet-transformed, five iterations Wavelet-transformed, one iteration
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 12 Spatial Scaling for Video (5) Layered Wavelet Encoding The approximation (i.e., the low-pass filtered part) of a wavelet-transformed frame is stored in the base layer. The coefficients of the details (i.e., the high-pass filtered part) are stored in enhancement layers in decreasing order of their values. base layer l 0 enhancement layer l 1 enhancement layer l 2 enhancement layer l 3
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 13 Examples of Spatial Layering Sample frames of a video sequence (a cartoon). Note that the images are shown at different quality levels in order to illustrate the characteristic artifacts. Pyramid encodingLayered DCT frequencies Layered wavelet encodingLayered DCT quantization
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg 3.5 - 14 Conclusions on Media Scaling and Layering Scaling techniques for digital video were developed in recent years and work well. Layering (i.e., the decomposition of the video into separate layers) is not yet available in most commercial video codecs. The integration of layer filters into internal network nodes of multicast trees is still a research issue.
DISTRIBUTED MULTIMEDIA SYSTEMS
Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
Distributed Multimedia Systems
Chapter 7 End-to-End Data
Spring 2003CS 4611 Multimedia Outline Compression RTP Scheduling.
1 o characteristics – From an application-level API to the physical layer – CBR, VBR, ABR and UBR – Cell: bytes – Virtual circuits: virtual channel.
Data Compression CS 147 Minh Nguyen.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
Distributed Multimedia March 19, Distributed Multimedia What is Distributed Multimedia? Large quantities of distributed data Typically streamed.
Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Mark Claypool Presented by: Huahui Wu Worcester Polytechnic Institute
Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Advisor: Mark Claypool Reader: Bob Kinicki.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
MPEG-2 Standard By Rigoberto Fernandez. MPEG Standards MPEG (Moving Pictures Experts Group) is a group of people that meet under ISO (International Standards.
CS 218 F 2003 Nov 3 lecture: Streaming video/audio Adaptive encoding (eg, layered encoding) TCP friendliness References: r J. Padhye, V.Firoiu, D.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
© 2017 SlidePlayer.com Inc. All rights reserved.