A Lossless Quality Transmission Algorithm for Stored VBR Video

Similar documents
5. Conclusion. 6. References

PCRTT Enhancement for Off-Line Video Smoothing

Bandwidth Estimation in Prerecorded VBR-Video Distribution Systems Exploiting Stream Correlation

An optimal bandwidth allocation strategy for the delivery of compressed prerecorded video

Maximizing the Number of Users in an Interactive Video-on-Demand System

Slice-and-Patch An Algorithm to Support VBR Video Streaming in a Multicast-based Video-on-Demand System *

Comparison of Shaping and Buffering for Video Transmission

DUE TO advances in broadband technology, media

Quality Differentiation with Source Shaping and Forward Error Correction

RECURSIVE PATCHING An Efficient Technique for Multicast Video Streaming

METHODS TO OPTIMALLY TRADE BANDWIDTH AGAINST BUFFER SIZE FOR A VBR STREAM. Stefan Hofbauer

Reduction of Periodic Broadcast Resource Requirements with Proxy Caching

Multimedia Networking

Improving VoD System Efficiency with Multicast and Caching

Credit-Based Fair Queueing (CBFQ) K. T. Chan, B. Bensaou and D.H.K. Tsang. Department of Electrical & Electronic Engineering

Network Model for Delay-Sensitive Traffic

Scalable proxy caching algorithm minimizing clientõs buffer size and channel bandwidth q

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

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

An Effective and Efficient Traffic Smoothing Scheme for Delivery of Online VBR Media Streams

Rate Control of Real-time MPEG-2 over ATM DBR Service with Bandwidth Re-negotiation

Delayed reservation decision in optical burst switching networks with optical buffers

Latest Technology for Video-Streaming Gateway of M-stage V Live

Clustering-Based Distributed Precomputation for Quality-of-Service Routing*

Tema 0: Transmisión de Datos Multimedia

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

Performance Analysis of Storage-Based Routing for Circuit-Switched Networks [1]

Module 10 MULTIMEDIA SYNCHRONIZATION

THE EMERGENCE of high-speed internetworks facilitates. Smoothing Variable-Bit-Rate Video in an Internetwork

Frame-Based Periodic Broadcast and Fundamental Resource Tradeoffs

For layered video encoding, video sequence is encoded into a base layer bitstream and one (or more) enhancement layer bit-stream(s).

Journal of Electronics and Communication Engineering & Technology (JECET)

Shri Vishnu Engineering College for Women, India

QUALITY of SERVICE. Introduction

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

Variable Bitrate Stream in Set top Box device

Performance of a Switched Ethernet: A Case Study

Mohammad Hossein Manshaei 1393

TELE Switching Systems and Architecture. Assignment Week 10 Lecture Summary - Traffic Management (including scheduling)

Chapter 2 Application Layer

An Approach for Enhanced Performance of Packet Transmission over Packet Switched Network

Optimal Streaming of Layered Video

Comparison and Evaluation of Packing Schemes for MPEG-2 over ATM using AAL5

Episode 5. Scheduling and Traffic Management

QoS-Aware IPTV Routing Algorithms

Resource allocation in networks. Resource Allocation in Networks. Resource allocation

Delay Constrained ARQ Mechanism for MPEG Media Transport Protocol Based Video Streaming over Internet

200 IEEE TRANSACTIONS ON BROADCASTING, VOL. 51, NO. 2, JUNE 2005

A Quantized Transform-Domain Motion Estimation Technique for H.264 Secondary SP-frames

Interactive Progressive Encoding System For Transmission of Complex Images

Express Letters. A Simple and Efficient Search Algorithm for Block-Matching Motion Estimation. Jianhua Lu and Ming L. Liou

36 IEEE TRANSACTIONS ON BROADCASTING, VOL. 54, NO. 1, MARCH 2008

DiffServ Architecture: Impact of scheduling on QoS

One-pass bitrate control for MPEG-4 Scalable Video Coding using ρ-domain

CS 556 Advanced Computer Networks Spring Solutions to Midterm Test March 10, YOUR NAME: Abraham MATTA

Optimal Smoothing Schedules for Real-Time Streams

Semantic Extraction and Semantics-based Annotation and Retrieval for Video Databases

Credit Determination of Fibre Channel in Avionics Environment

A Modular Algorithm-Theoretic Framework for the Fair and Efficient Collaborative Prefetching of Continuous Media

TCP and UDP Fairness in Vehicular Ad hoc Networks

QoS Featured Wireless Virtualization based on Hardware

A Novel Statistical Distortion Model Based on Mixed Laplacian and Uniform Distribution of Mpeg-4 FGS

Compressed Video Streams: Network Constrained Smoothing

A QoE Friendly Rate Adaptation Method for DASH

ANALYSIS OF THE CORRELATION BETWEEN PACKET LOSS AND NETWORK DELAY AND THEIR IMPACT IN THE PERFORMANCE OF SURGICAL TRAINING APPLICATIONS

MPEG4 VIDEO OVER PACKET SWITCHED CONNECTION OF THE WCDMA AIR INTERFACE

Chapter 6 Queuing Disciplines. Networking CS 3470, Section 1

Distributed Video Systems Chapter 5 Issues in Video Storage and Retrieval Part I - The Single-Disk Case

Performance Analysis of Cell Switching Management Scheme in Wireless Packet Communications

On TCP-friendly Video Transfer

IEEE TRANSACTIONS ON MULTIMEDIA, VOL. 9, NO. 3, APRIL

Distributed Video Systems Chapter 3 Storage Technologies

Buffer Management Scheme for Video-on-Demand (VoD) System

An Evaluation of Deficit Round Robin Fair Queuing Applied in Router Congestion Control

Globecom. IEEE Conference and Exhibition. Copyright IEEE.

Differential Congestion Notification: Taming the Elephants

Chapter 7 Multimedia Networking

Towards Low-Redundancy Push-Pull P2P Live Streaming

Resource Allocation for Video Transcoding in the Multimedia Cloud

Dynamic Cache Consistency Schemes for Wireless Cellular Networks

TCP based Receiver Assistant Congestion Control

Delivering ATM-based Video-on-Demand across Asymmetrical Digital Subscriber Lines

Future Buffer based Adaptation for VBR Video Streaming over HTTP

A Batched GPU Algorithm for Set Intersection

Compositional Schedulability Analysis of Hierarchical Real-Time Systems

Traffic Access Control. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

SINGLE PASS DEPENDENT BIT ALLOCATION FOR SPATIAL SCALABILITY CODING OF H.264/SVC

Back pressure based multicast scheduling for fair bandwidth allocation

Proxy-based TCP-friendly streaming over mobile networks

Evaluation of traffic dispersion methods for synchronous distributed multimedia data transmission on multiple links for group of mobile hosts

Performance Analysis of FDDI. By Raj Jain

Congestion control mechanism of TCP for achieving predictable throughput

A Proxy Caching Scheme for Continuous Media Streams on the Internet

Implementation of Hybrid Modified RED Algorithm for Congestion Avoidance in MANETS

Multimedia: video ... frame i+1

Adaptive Playout Buffering for H.323 Voice over IP Applications

95 th Percentile Billing

A QoS aware Packet Scheduling Scheme for WiMAX

Scheduling Algorithms to Minimize Session Delays

Digital Asset Management 5. Streaming multimedia

Transcription:

1 A Lossless Quality Transmission Algorithm for Stored VBR Video Fei Li, Yan Liu and Ishfaq Ahmad Department of Computer Science The Hong Kong University of Science and Technology Clear Water Bay, Kowloon, Hong Kong e-mail: {lifei, liuyan, iahmad}@cs.ust.hk Abstract The paper outlines scheduling algorithms for transmitting stored VBR video. Given limited network bandwidth, if the server transmits the video immediately after receiving the request, data transmitted at some intervals will not satisfy playback without loss of quality. Delay introduction can avoid such conflict without any rate distortion. We first give an optimal algorithm to find the shortest delay with complexity of O(n 2 ) or O(n 2 log n), depending on the smoothing algorithm chosen. Then, we propose a fast scheduling algorithm using a new concept: safe interval. The server finds the shortest delay to deliver it in O(K L), where K and L are numbers of bandwidth changes in the current residual bandwidth profile and the requested video s smoothed profile respectively. Complexity analysis on our algorithms is presented as well as experimental results. Keywords Smoothing algorithm, VBR video, temporal burstiness, bandwidth, safe interval, bandwidth profile, scheduling, conflict. I. Introduction A broad range of applications require playback of stored videos over network and such applications need continuous transmission of high-quality stored videos. Most videos are encoded in VBR coding scheme to increase compression efficiency. Due to varying frame sizes, transmission of VBR video will become bursty, and consequently complicates the design of efficient real-time storage, retrieval and transmission mechanisms capable of achieving high resource utilization. Less bursty (i.e. smoother) workloads are easier to handle for the network. Various smoothing algorithms have been proposed to decrease the variability and requirement of bandwidth. Once smoothed, a video has a profile with several time intervals (runs) to describe the bandwidth under which it needs to be transmitted without loss of quality, that is, no distortion of the video quality. Although the videos are smoothed, given limited bandwidth, to transmit the request video without delay, a video service system may need more bandwidth than available to keep the quality of picture at certain times. In such case, conflict ensues. Delay introduction offers a way of avoiding such conflict. We propose an optimal algorithm to find the minimal delay. Since this work must be done before the delivery of the requested video, it is a heavy burden for the server. In general, the optimal solution is achieved with time complexity of O(n 2 )oro(n 2 log n) depending on the smoothing algorithm chosen, where n is the number of frames in the video. To avoid expensive real-time computation inherent in the optimal algorithm, we resolve conflict based on video bandwidth profiles. Upon the reception of a video request, the server checks whether the residual bandwidth can satisfy the request. If so, it transmits the video immediately according to its bandwidth profile, otherwise, the server delays delivery and finds possible conflict intervals for every run of profiles. During safe intervals, transmission of this run can be satisfied without loss of quality. Easily seen, the intersection of all the safe intervals is the safe interval for all the runs of the request video. Therefore, the minimal value in the intersection is the shortest delay for the transmission of the video without loss of quality of picture.

2 II. Video Transmission System Overview and Problem Setting In a generic multimedia tele-presentation system, there will be one or more media servers, a communication network and one or more clients. A set of media objects is delivered from a server to one or more clients via the network. Video is stored on the server. The server is responsible for scheduling video retrieval and transmission. In stored video systems, the server has the knowledge of every client buffer and the frame sizes of each video. Consider a scenario in video-on-demand. Once the server receives a video request, the server may not be able to send the requested video immediately according to its smoothed bandwidth. As part of the bandwidth is being used by some other videos, the residual bandwidth may not be sufficient enough to transmit the request video without loss of quality. If the server sends the video upon receiving the request, conflict may happen as illustrated in Fig. 1. Bandwidth(Bytes/Second) Total Bandwidth A. System Structure for Stored Video Transmission For the ease of explanation for the subsequent sections, we first give some definitions: Definition 1: Smoothed profile of a video is the bandwidth required at different intervals after it is smoothed through some smoothing algorithm. Definition 2: Bandwidth profile is the profile of the bandwidth currently available. In general, it is the residual bandwidth. Definition 3: Smoothed bandwidth of a smoothed video is the bandwidth required by it at some time instant. Definition 4: Residual bandwidth is the bandwidth value that is available at some time instant. For a stored VBR video, the server must transmit it at variable bit rate in order to maintain constant quality playback. Utilizing buffers at the client side, the server allocates bandwidth according to the video s smoothed profile. Frames arriving early are stored in the client s smoothing buffer and played back later. The transmission rate through the network channel must be adjusted such that client buffers should never overflow or underflow. Bandwidth(Bytes/Second) 0 T2 Video 1 Smoothed Profile 0 T1 T5 Time T3 T4 Total Bandwidth Residual Bandwidth Video 2 Smoothed Profile Fig. 1. Problem setting description in bandwidth-time diagram Bytes The Residual Bandwidth T6 New Profile After Delaying T0 Time Data Needed for Playback without Loss of Quality 0 T0 T1 T2 Time Fig. 2. Conflict due to insufficient bandwidth B. Problem Setting In the multimedia transmission system described above, the bandwidth allocated at connection setup time is fixed. To save bandwidth and facilitate network management, the server sends video according to the smoothed bandwidth by allocating different bandwidth at different time intervals. To guarantee fairness among all video request, the server maintains a FCFS (first come first served) request queue. Fig. 2 shows that during the time interval [T 1,T 2 ], the playback requires more data to keep continuity and quality of picture. For this kind of situations, there is no other method in delivering the requested video without loss of quality other than delay introduction. If we delay transmission by T 0, no conflict will happen before T 2. Problem 1: After receiving a request, what is the shortest delay for the transmission of video without loss of quality of picture?

3 III. Optimal Solution in Finding the Shortest Delay In this section, we introduce the optimal solution which provides transmission without loss of quality with the shortest delay. The complexity of the optimal algorithm is O(n 2 log n) oro(n 2 ) depending on the smoothing algorithm chosen, where n is the number of frames of the request video. Definition 5: Optimal solution is the shortest delay the server delays in order to transmit the video without loss of quality under limited bandwidth. For a server seeking optimal solution, it tests each request to see whether there is a potential conflict. If there is, the server executes the optimal algorithm to find the delay, otherwise, the server will allocate bandwidth according to the video s smoothed profile. The optimal delay is calculated, in general, by delaying video frame by frame, and checking whether the conflict can be resolved after each delay. Delay is introduced by adding one frame of size of 0 before the original video file. Theorem 1: If conflict happens, there is(are) conflict(s) between residual bandwidth profile and the video s smoothed profile. Proof omitted. Theorem 1 provides a way of improving the performance of the optimal algorithm. As we have the residual bandwidth profile, we can get B bandwidth (t) at the time interval endpoints. From Theorem 1, we know that interval conflict only occurs when t B bandwidth (i) <F under (t). (1) i=1 Comparing B bandwidth and F under, we may know when conflict begins and ends. Following is the detailed algorithm for optimal solution. Algorithm 1: 1 At time interval end point t in increasing sort 2 while ( t i=1 S bandwidth(t) > t i=1 B bandwidth(i)) 3 report potential conflict interval; 4 if (no conflict reported) 5 then 6 transmit video according to profile; 7 else 8 while (conflict time t<n) 9 if (F under (t) > t i=1 B bandwidth(i)) 10 add one frame of size 0 to head of video; 11 update F under ; 12 t next time instant in conflict intervals; 13 /* optimal delay found */ 14 update F over with current B bandwidth ; 15 update F under with optimal delay found; 16 apply chosen smoothing algorithm to get a new smoothed profile; 17 add old or new profile to create a new B bandwidth ; From Algorithm 1, we know that the running time of the is: O(n 2 +n+k+l)oro(n 2 log n+n+ K + L). For K is near a constant and L is O(K), the total running time is: O(n 2 )oro(n 2 logn). IV. Fast Algorithm in Finding Shortest Delay In this section, we describe a fast algorithm. A interval is called safe if during it, the run of a smoothed video requires less bandwidth than what available. The following theorem gives the basis of our fast algorithm. Theorem 2: The smallest value in the safe intervals is the shortest delay for delivery of the run without loss of quality and the smallest value in the intersection of all the safe intervals is the shortest delay for the whole video based on the profile information only. Proof omitted. This theorem enables a very fast algorithm. Initially, the fixed bandwidth is all available. Upon receiving a request, the server allocates the bandwidth for this request. When another request comes, the server gets the profile of the current bandwidth used and checks whether a conflict will happen. If no conflict, the server transmits the requested video immediately. Otherwise, the server checks whether the sum of the bandwidth used in this run and the bandwidth required exceeds the total fixed bandwidth. After finding safe intervals for all the runs of the video, the server returns the shortest delay and adds the bandwidth profile to get a new profile of the residual bandwidth. If we use t j 1 and t j to denote the end points of jth run of the profile, and j to denote the length of the interval, video[i] and ub[i] to denote ith runs for the profiles of the requested video and used bandwidth respectively, we have

Algorithm 2: 8 then 9 [(t j 1 i) t i 1,t j t j 1 ] splits the safeinterval it resides in; 10 delay min(safeintervals); 11 for i =1to(K + L) 12 ub[i].bandwidth + =video[i].bandwidth; V. Experimental Results This goal of this experiment is designed to show that the fast algorithm is practical. It is to simulate a strict playback service in such system we mentioned in Section II. This experiment uses Fig. 3 as the current bandwidth profile. Five MPEG-1 compressed movie segments are smoothed using MCBA on a SPARC 20 workstaion with 20 Mbytes buffer. Bandwidth (KBytes/sec) 1000 800 600 400 a lot of frames. Thus, the running time needed to obtain its smoothed profile is significant under 1 When a video request received, insufficient residual bandwidth. For the optimal 2 mark [0...+ ] asthesafeinterval for the video; solution, the total time for getting smoothed profile 3 get current used bandwidth (ub) profile; is the sum of the running time and the time 4 get smoothed profile of the requested video; needed for smoothing. The time needed for getting 5 for i =1toL the smoothed profile may delay the the deliv- 6 for j =1toK ery of this video beyond its optimal delay given, 7 if ((video[i].bandwidth and may even prevent the server from calculating + ub[j].bandwidth) > fixed bandwidth) delays for further video requests. From experimental results in this subsection, we know that the fast algorithm is practical, as for the movies, delays found are comparable to those got with the optimal algorithm, and the running time is negligible. VI. Conclusion In this paper, we propose two algorithms in finding shortest delay. Under the situation that conflict occurs when bytes transmitted under limited bandwidth are fewer than the bytes required for playback, delay is the only solution. We first give an optimal algorithm. But this is time-consuming and impractical when smoothing algorithm costs a lot of time. Thus we proposed a fast algorithm. As this method does not change smoothed profiles, it can not find the optimal delay based on the current residual bandwidth, consequently it is not the optimal. Nevertheless, it can achieve excellent result in negligible time. Choosing which algorithm depends on characters of the requested video. If we enhance the computation power of the server, we can use optimal solution, otherwise, fast algorithm is a good choice. 4 200 0 0 5 10 15 20 25 30 35 40 45 Time (min) Fig. 3. Current bandwidth profile Under sufficient bandwidth, the running time of getting optimal solution is the running time of the checking part. Under insufficient bandwidth, the server must execute the smoothing algorithm after reaching a time without conflict. The optimal delay and shortest delay calculated are shown in Table I. From Table I, we know that a general movie has References [1] W. Feng, Buffering Techniques for Delivery of Compressed Video in Video-On-Demand System Kluwar Academic Publishers, 1997. [2] W. Feng, F. Jahanian, and S. Sechrest, An Optimal Bandwidth Allocation Strategy for the Delivery of Compressed Pre-recorded Video Multimedia System, Vol. 5, No. 5, 1997, pp. 297-309. [3] W. Feng and J. Rexford, A Comparison of Bandwidth Smoothing Techniques for the Transmission of Pre-recorded Compressed Video IEEE INFOCOM 97, Kobe, Japan, April 1997, pp. 58-66. [4] W. Feng and S. Sechrest, Critical Bandwidth Allocation for Delivery of Compressed Video Computer Communication, Vol. 18, October 1995, pp. 709-717. [5] Y.Liu,C.M.LeeandF.Li, Updating Scheduling Strategy for Stored VBR Video Transmission under a Limited Band-

5 TABLE I algorithm performance for the optimal and the fast algorithms Title Conflict Intervals Optimal Algorithm Fast Algorithm (sec) Delay (sec) Running Time (sec) Delay (sec) Running Time (msec) Asterix 49.2 132.6 109.8 219 132.6 0.82 Bond 49.2 132.6 113.4 274.8 132.6 0.76 650.4 760.2 MTV 49.2 132.6 284.4 258 284.4 0.76 475.8 760.2 News 0 0 Sbowl 49.2 132.6 132.6 256.2 132.6 0.79 width to be published in Proceedings of IEEE Symposium on Consumer Electronics. [6] F. Li, Y. Liu, Y. B. Lee and I. Ahmad, Shortest Delay Scheduling Algorithm for Lossless Quality Transmission of Stored VBR Video under Limited Bandwidth to be published in Proceedings of SAICSIT99 and South Africa Computer Journal. [7] J. Salehi, Z. Zhang, J. Kurose, and D. Towsley, Supporting Stored Video: Reducing Rate Variability and End-to-End Resource Requirements through Optimal Smoothing Proceedings ACM SIGMETRICS, Philadelphia, PA, May 1996, pp. 222-231. [8] ftp://pansori.snu.ac.kr/pub/incoming/class/multimedia