Adaptive Methods for Distributed Video Presentation. Oregon Graduate Institute of Science and Technology. fcrispin, scen, walpole,

Similar documents
Multimedia Applications Require Adaptive CPU Scheduling. Veronica Baiceanu, Crispin Cowan, Dylan McNamee, Calton Pu, and Jonathan Walpole

MPEG Video Audio Player? Shanwei Cen, Calton Pu, Richard Staehli, Crispin Cowan and Jonathan Walpole

Adaptive Real-time Monitoring Mechanism for Replicated Distributed Video Player Systems

Real-time Multiple Video Player Systems

Feedback-based dynamic proportion allocation for disk I

SWiFT: A Feedback Control and Dynamic Reconfiguration Toolkit

A study of dynamic optimization techniques : lessons and directions in kernel design

Quality of Service Semantics for Multimedia Database Systems

COMP 249 Advanced Distributed Systems Multimedia Networking. Performance of Multimedia Delivery on the Internet Today

RESPONSIVENESS IN A VIDEO. College Station, TX In this paper, we will address the problem of designing an interactive video server

Improved Videotransmission over Lossy. Channels using Parallelization. Dept. of Computer Science, University of Bonn, Germany.

3. Quality of Service

Video Streaming in Wireless Environments

On Latency Management in Time-Shared Operating Systems *

A taxonomy of race. D. P. Helmbold, C. E. McDowell. September 28, University of California, Santa Cruz. Santa Cruz, CA

On the Use of Multicast Delivery to Provide. a Scalable and Interactive Video-on-Demand Service. Kevin C. Almeroth. Mostafa H.

A software feedback toolkit and its application in adaptive multimedia systems

T H. Runable. Request. Priority Inversion. Exit. Runable. Request. Reply. For T L. For T. Reply. Exit. Request. Runable. Exit. Runable. Reply.

Real-time communication scheduling in a multicomputer video. server. A. L. Narasimha Reddy Eli Upfal. 214 Zachry 650 Harry Road.

An Experimental Evaluation of Rate Adaptation Algorithms in Adaptive Streaming over HTTP

Extensions to RTP to support Mobile Networking: Brown, Singh 2 within the cell. In our proposed architecture [3], we add a third level to this hierarc

IMPROVING LIVE PERFORMANCE IN HTTP ADAPTIVE STREAMING SYSTEMS

Adaptive Live Video Streaming by Priority Drop

QoS-Aware IPTV Routing Algorithms

Control Challenges in Multi-level Adaptive Video Streaming

perform well on paths including satellite links. It is important to verify how the two ATM data services perform on satellite links. TCP is the most p

IBM Almaden Research Center, at regular intervals to deliver smooth playback of video streams. A video-on-demand

Frank Miller, George Apostolopoulos, and Satish Tripathi. University of Maryland. College Park, MD ffwmiller, georgeap,

A Dynamic Quality of Service Middleware Agent for Mediating Application Resource Usage

Survey on Concurrent Multipath Scheduling for Real Time Video Streaming in Wireless Network

Streaming (Multi)media

Improving TCP Performance over Wireless Networks using Loss Predictors

Initialize. New packets to send. / shrink window size. Interface switch / reset RTT or window size hit thresholds timeout or gap in ACK,

CHAPTER 4 AN INTEGRATED APPROACH OF PERFORMANCE PREDICTION ON NETWORKS OF WORKSTATIONS. Xiaodong Zhang and Yongsheng Song

Continuity and Synchronization in MPEG. P. Venkat Rangan, Srihari SampathKumar, and Sreerang Rajan. Multimedia Laboratory. La Jolla, CA

Application-Level Measurements of Performance on the vbns *

Periodic Thread A. Deadline Handling Thread. Periodic Thread B. Periodic Thread C. Rate Change. Deadline Notification Port

A Real-Time Network Simulation Application for Multimedia over IP

FB(9,3) Figure 1(a). A 4-by-4 Benes network. Figure 1(b). An FB(4, 2) network. Figure 2. An FB(27, 3) network

Transport protocols Introduction

Integrated. Database Services for. Multimedia Presentations. Susanne Boll, Wolfgang Klas, and Michael Lohr GMD-IPSI

Multimedia Systems 2011/2012

Source 1. Destination 1. Bottleneck Link. Destination 2. Source 2. Destination N. Source N

Research Collection. Synchronization issues in distributed applications: definitions, problems, and quality of synchronization.

Storage System. Distributor. Network. Drive. Drive. Storage System. Controller. Controller. Disk. Disk

Video Streaming Over the Internet

Recommended Readings

Customizable Operating Systems

II. Principles of Computer Communications Network and Transport Layer

A Framework for Building Parallel ATPs. James Cook University. Automated Theorem Proving (ATP) systems attempt to prove proposed theorems from given

Rate Based Pacing with Various TCP Variants

MISB EG Motion Imagery Standards Board Engineering Guideline. 24 April Delivery of Low Bandwidth Motion Imagery. 1 Scope.

TECHNICAL RESEARCH REPORT

Effect of TCP and UDP Parameters on the quality of Video streaming delivery over The Internet

ELEC 691X/498X Broadcast Signal Transmission Winter 2018

Distributed Video Systems Chapter 3 Storage Technologies

Introduction to LAN/WAN. Application Layer 4

The Minimal Buffering Requirements of Congestion Controlled Interactive Multimedia Applications

Lecture 17: Distributed Multimedia

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Ecient Redo Processing in. Jun-Lin Lin. Xi Li. Southern Methodist University

CS 218 F Nov 3 lecture: Streaming video/audio Adaptive encoding (eg, layered encoding) TCP friendliness. References:

signature i-1 signature i instruction j j+1 branch adjustment value "if - path" initial value signature i signature j instruction exit signature j+1

Department of CSE. The Chinese University of Hong Kong. 1 Introduction. academic as well as in the commercial and legal

5. Conclusion. 6. References

Technische Universitat Munchen. Institut fur Informatik. D Munchen.

Transport Layer Protocols TCP

Wireless TCP Performance Issues

Week 2 / Paper 1. The Design Philosophy of the DARPA Internet Protocols

Data Center TCP (DCTCP)

Summary of Potential Choices for Synchronization Transport in Residential Ethernet

over the Internet Tihao Chiang { Ya-Qin Zhang k enormous interests from both industry and academia.

Dynamic Multi-Path Communication for Video Trac. Hao-hua Chu, Klara Nahrstedt. Department of Computer Science. University of Illinois

Equation-Based Congestion Control for Unicast Applications. Outline. Introduction. But don t we need TCP? TFRC Goals

A System Software Structure for Distributed Multimedia Systems

Inter Destination Synchronization Schemes for Continuous Media Multicasting: An Application Level QoS Comparison in Hierarchical Networks

MODELING AND SIMULATION OF MPEG-2 VIDEO TRANSPORT OVER ATM NETWOR.KS CONSIDERING THE JITTER EFFECT

Kevin Skadron. 18 April Abstract. higher rate of failure requires eective fault-tolerance. Asynchronous consistent checkpointing oers a

RCRT:Rate-Controlled Reliable Transport Protocol for Wireless Sensor Networks

Assuring Media Quality in IP Video Networks. Jim Welch IneoQuest Technologies

Basics (cont.) Characteristics of data communication technologies OSI-Model

Lecture 14: Congestion Control"

Improving TCP Throughput over. Two-Way Asymmetric Links: Analysis and Solutions. Lampros Kalampoukas, Anujan Varma. and.

Congestion Control in Mobile Ad-Hoc Networks

March 6, 2000 Applications that process and/or transfer Continuous Media (audio and video) streams become

Rate-Controlled Static-Priority. Hui Zhang. Domenico Ferrari. hzhang, Computer Science Division

Networking Applications

A Lossless Quality Transmission Algorithm for Stored VBR Video

JackTrip A efficient solution for remote audio transmission

Knowledge- Based System CORBA ORB

Quality of Service Mechanism for MANET using Linux Semra Gulder, Mathieu Déziel

Scalable Video Delivery on The Web. B. Prabhakaran Yu-Guang Tu Yin Wu 3. prabha, tuyuguan, comp.nus.edu.sg.

Quality of Service (QoS)

DEPARTMENT of. Computer & Information Science & Engineering

Dewayne E. Perry. Abstract. An important ingredient in meeting today's market demands

A Rate-Based Execution Abstraction For Multimedia Computing*

Active Adaptation in QoS Architecture Model

TCP over Wireless Networks Using Multiple. Saad Biaz Miten Mehta Steve West Nitin H. Vaidya. Texas A&M University. College Station, TX , USA

Adaptive Feedback Techniques for Synchronized Multimedia Retrieval over Integrated Networks

Relative Reduced Hops

Transcription:

Adaptive Methods for Distributed Video Presentation Crispin Cowan, Shanwei Cen, Jonathan Walpole, and Calton Pu Department of Computer Science and Engineering Oregon Graduate Institute of Science and Technology Portland, Oregon, USA fcrispin, scen, walpole, caltong@cse.ogi.edu This paper describes problems and solutions for delivering real-time, multi-media presentations across the Internet. Akey characteristic of presentations of continuous media datatypes, such as digital video and audio, is their need for predictable real-time data delivery. For example, an NTSC quality video presentation requires video frames to be displayed every 1/30th of a second. Variations in this display rate can be observable as stalls or glitches in the video stream and reduce the quality of the presentation [6]. Delivering such presentations across the Internet is dicult because highly variable bandwidth and latency make it dicult to predict the arrival time of network packets containing video or audio data. Our solution is for distributed multi-media systems to adapt dynamically to these changing network conditions. This paper describes the use of software feedback to make multimedia presentations adaptive, and shows how video can be played across an unpredictable network such as the Internet without benet of resource reservations. The Internet's unpredictable latency and bandwidth characteristics arise because dierent links in the network have performance that varies byseveral orders of magnitude. Hence, the location of a video client relative to its video server inuences the performance characteristics of the connection. Furthermore, even if the capability of the hardware in question can be established, the available bandwidth varies wildly from moment tomoment because the Internet is a shared resource: just a few concurrent large data transfers can easily take up most of a connection's bandwidth. In this environment, adaptive methods are essential to maintaining video quality. This project is supported in part by grants from ARPA and the National Science Foundation, and donations from Tektronix, Hewlett-Packard and the Portland Trail Blazers. 1

Server Video stream Network Feedback Buffer Client Figure 1: Architecture of the player We use software feedback [3, 4], reminiscent of hardware feedback, to adapt multimedia presentations to the changing conditions of the Internet [1]. Our video player has a distributed client-server architecture as shown in Figure 1. The client measures various properties of the video stream it is receiving from the network, and feeds them back tothe server, allowing both the client and the server to adapt to changing Internet conditions. This design allows videos to be played, in real-time, across the Internet without having to rst down-load the video to a local le. Software feedback has been employed in many forms, suchastheowcontrol mechanisms in TCP, the clock synchronization mechanism used in NTP, androwe's video stream frame rate control mechanism [5]. However, these implementations have all used feedback asanad hoc solution. Consequently they exhibit arbitrary structure, hard-to-predict behavior, and wasted eort due to repeated design and implementation of logically similar components. Feedback systems are hard to build correctly, and building several of them is harder. We are developing a software feedback toolkit [4] to address these problems. The toolkit makes feedback systems more predictable, easier to develop, manage and tune, and reduces duplication of eort. It consists of a number of software modules that can be plugged in as needed, rather than integrating feedback directly into the multi-media components. The modules include assorted lters, comparators, and action modules useful in constructing a feedback system. For example, Figure 2 shows how basic components can be assembled to manage jitter in a video presentation. The client continuously measures the relevant characteristics of the data it is receiving from the server, and reports these characteristics to the server, as shown in Figure 1. The Server, in turn, uses the feedback information to adapt the data stream it is sending to the client tomatch recent network conditions. Feedback allows the system to adapt to current network conditions by adjusting the quality of service in several dierent dimensions using 2

Buffer Fill Level Low-Pass Filter abs Low-Pass Filter Jitter Figure 2: Composing Feedback Tools to Measure Jitter components of the feedback toolkit: Frame Rate Jitter Client:Server Synchronization For real-time video, the logical presentation rate for the stream must remain constant. However, the number of frames that can be transmitted from the server to the client during some time period varies according to the available network bandwidth. Hence, the server must decide dynamically which frames to omit from the presentation and must transmit the remaining frames at a rate supported by the currently available network bandwidth. To damp oscillations in the frame rate, a low-pass lter samples the client's received frame rate before feeding the rate information back to the server. Variations in the inter-frame display times of a video presentation can also degrade quality even when the overall frame rate is adequate. These variations are introduced by packetization (splitting or combining video frame data into network packets) and by network congestion, making the network bursty, and also causing the degree of burstiness to vary dynamically. To prevent jitter from appearing in the video presentation, the client dynamically adjusts its buer space to be sucient to mask the current degree of burstiness. Figure 2 shows how the buer ll level is converted to a jitter measure, which isused to adjust the buer size. In adjusting the frame transfer rate, the system must be careful to maintain an optimal ll level in the client's frame buer (half-full). Hence, the client and server must be synchronized. However, the system must distinguish network jitter from per- 3

sistent changes in the relative positions in the video between the client and the server. Large changes in network latency can be caused by routing changes in packet-switched networks such as the Internet, and physical clock drift between the machines can also cause a loss of synchronization. Specialized lters (such as derivative lters) test the ll-level of the client's frame buer to identify these phenomena, and distinguish them from short-term network jitter. Feedback is then used to take corrective action. The major benets of software feedback are improved presentation quality,andimproved resource utilization. In [1] we validate the benets of feedback tomultimedia quality of service with quantitative analysis of the benets of feedback on the playback of an MPEG movie across the Internet. In [2] we describe a demo that qualitatively demonstrates the benets of feedback. Quality is improved in the following ways: Not all frames in an MPEG data stream are equally important: dropping an I-frame not only results in the loss of that frame, it also results in the loss of numerous other B- or P-frames that are derived from it. Hence, intelligently dropping B- and P-frames at the server instead of letting a congested network drop random frames improves presentation quality. Optimizing the buer space used to minimize jitter improves both the \smoothness" of the presentation and reduces end-to-end latency. Clock drift does not aect quality until it causes complete under- or over-ow of the client's buer, at which point the result is catastrophic [1]. Incorporating a clock synchronization mechanism into the feedback system avoids this pathology. Resource utilization is improved in the following ways: By only sending frames at the rate of the weakest link in the connection, the server saves network bandwidth on all links between the server and the weak link for frames that would have been dropped. It also saves bandwidth over the entire connection for the frames that would have arrived too late to be displayed. Sending only frames that are likely to be used also conserves compute power at the server. 4

Adjusting the size of the client's work-ahead buer to be just sucient to minimize jitter conserves real memory in the client. A large-scale distributed environment is necessarily a shared environment, and thus presents performance and load characteristics that are highly dynamic. The real-time requirements of multi-media applications demand that they have some ability to adapt to these changing load conditions. Our work has shown how software feedback can benet the performance of a distributed video player, and how the systematic packaging of software feedback technology can aid in applying adaptive methods more easily and eectively. In our current and future research, we are investigating tools to allow for the automatic composition of feedback components while maintaining system stability. We are expanding the number of dimensions of quality of service that can be adjusted to manage bandwidth consumption to include resolution and dynamic rate shaping. We are also investigating the applicability of feedback-based adaptation to more complex distributed systems, such as multi-cast to multiple clients, and synchronizing data from multiple servers. References [1] Shanwei Cen, Calton Pu, Richard Staehli, Crispin Cowan, and Jonathan Walpole. A Distributed Real-Time MPEG Video Audio Player. In Proceedings of the 1995 International Workshop on Network and Operating System Support for Digital Audio and Video (NOSSDAV'95), pages 151{162, New Hampshire, April 1995. [2] Shanwei Cen, Calton Pu, Richard Staehli, Crispin Cowan, and Jonathan Walpole. Demostrating the Eect of Software Feedback on a Distributed Real-Time MPEG Video Audio Player. In Demonstration at the 1995 ACM Multimedia Conference, pages 239{ 240, San Francisco, CA, November 5-9 1995. [3] Henry Massalin and Calton Pu. Fine-Grain Adaptive Scheduling Using Feedback. Computing Systems, 3(1):139{173, Winter 1990. [4] Calton Pu and Robert M. Fuhrer. Feedback-Based Scheduling: a Toolbox Approach. In Proceedings of Fourth Workshop on Workstation Operating Systems, Napa Valley, CA, October 1993. [5] L.A. Rowe, K. Patel, B.C. Smith, and K Liu. MPEG Video in Software: Representation, Transmission and Playback. In Proceedings of the International Symposium on Elec. Imaging: Science and Technology, San Jose, CA, February 1994. [6] Richard Staehli, Jonathan Walpole, and David Maier. Quality of Service Specications for Multimedia Presentations. Multimedia Systems, 3(5/6):251{263, November 1995. 5