Adaptive Video Streaming Over Internet Using Dynamic Video Transcoding By Lam Ling Shun, Felix.

Slides:



Advertisements
Similar presentations
1 School of Computing Science Simon Fraser University CMPT 771/471: Internet Architecture & Protocols TCP-Friendly Transport Protocols.
Advertisements

RED Enhancement Algorithms By Alina Naimark. Presented Approaches Flow Random Early Drop - FRED By Dong Lin and Robert Morris Sabilized Random Early Drop.
Playback-buffer Equalization For Streaming Media Using Stateless Transport Prioritization By Wai-tian Tan, Weidong Cui and John G. Apostolopoulos Presented.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 14 – Introduction to Multimedia Resource Management Klara Nahrstedt Spring 2012.
LOGO Video Packet Selection and Scheduling for Multipath Streaming IEEE TRANSACTIONS ON MULTIMEDIA, VOL. 9, NO. 3, APRIL 2007 Dan Jurca, Student Member,
Multimedia Systems As Presented by: Craig Tomastik.
Multimedia & Comm. Lab Video Streaming over the Internet 98/11/25 정승훈
Slice–and–Patch An Algorithm to Support VBR Video Streaming in a Multicast– based Video–on–Demand System.
2005/12/06OPLAB, Dept. of IM, NTU1 Optimizing the ARQ Performance in Downlink Packet Data Systems With Scheduling Haitao Zheng, Member, IEEE Harish Viswanathan,
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
Suphakit Awiphan, Takeshi Muto, Yu Wang, Zhou Su, Jiro Katto
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
Presented by Santhi Priya Eda Vinutha Rumale.  Introduction  Approaches  Video Streaming Traffic Model  QOS in WiMAX  Video Traffic Classification.
Adaptive Video Streaming in Vertical Handoff: A Case Study Ling-Jyh Chen, Guang Yang, Tony Sun, M. Y. Sanadidi, Mario Gerla Computer Science Department,
Source-Adaptive Multilayered Multicast Algorithms for Real- Time Video Distribution Brett J. Vickers, Celio Albuquerque, and Tatsuya Suda IEEE/ACM Transactions.
Optimal Quality Adaptation for MPEG-4 Fine-Grained Scalable Video Taehyun Kim and Mostafa H. Ammar College of Computing, Georgia Institute of Technology.
End-to-End TCP-Friendly Streaming Protocol and Bit Allocation for Scalable Video Over Wireless Internet Fan Yang, Qian Zhang, Wenwu Zhu, and Ya-Qin Zhang.
1 Lecture 10: TCP Performance Slides adapted from: Congestion slides for Computer Networks: A Systems Approach (Peterson and Davis) Chapter 3 slides for.
Scalable and Continuous Media Streaming on Peer-to-Peer Networks M. Sasabe, N. Wakamiya, M. Murata, H. Miyahara Osaka University, Japan Presented By Tsz.
Distributed Video Streaming Over Internet Thinh PQ Nguyen and Avideh Zakhor Berkeley, CA, USA Presented By Sam.
1 Node Selection For a Fault- Tolerant Streaming Service On A Peer-to-Peer Network Hyunjoo Kim, Sooyong Kang and Yeom H.Y.
An Integrated Source Transcoding and Congestion Control Paradigm for Video Streaming in the Internet Proposed by R. Puri, K.W. Lee, K. Ramchandran and.
1 PV'2003, Nantes France, April 2003 Measurement of the Congestion Responsiveness of RealPlayer Streaming Video Over UDP Jae Chung, Mark Claypool, Yali.
Congestion Control in Distributed Media Streaming Lin Ma Wei Tsang Ooi School of Computing National University of Singapore IEEE INFOCOM 2007.
Multiple Sender Distributed Video Streaming Thinh Nguyen, Avideh Zakhor appears on “IEEE Transactions On Multimedia, vol. 6, no. 2, April, 2004”
Real-time smoothing for network adaptive video streaming Kui Gao, Wen Gao, Simin He, Yuan Zhang J. Vis. Commun. Image R. 16 (2005)
Traffic Sensitive Active Queue Management - Mark Claypool, Robert Kinicki, Abhishek Kumar Dept. of Computer Science Worcester Polytechnic Institute Presenter.
Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),
Streaming Video Gabriel Nell UC Berkeley. Outline Scalable MPEG-4 video – Layered coding method – Integrated transport-decoder buffer model RAP streaming.
Adaptive MPEG4 Video Streaming using Bandwidth Estimation Mario Gerla, Alex Balk, Medy Sanadidi {gerla, abalk, Dario Maggiorini
Adaptive Rate Control for Streaming Stored Fine- Grained Scalable Video Philippe de Cuetos, Keith W. Ross NOSSDAV 2002, May 12-14,2002.
1 K. Salah Module 6.1: TCP Flow and Congestion Control Connection establishment & Termination Flow Control Congestion Control QoS.
Proxy-based TCP over mobile nets1 Proxy-based TCP-friendly streaming over mobile networks Frank Hartung Uwe Horn Markus Kampmann Presented by Rob Elkind.
CS :: Fall 2003 Layered Coding and Networking Ketan Mayer-Patel.
Multiple Sender Distributed Video Streaming Nguyen, Zakhor IEEE Transactions on Multimedia April 2004.
1 Modeling the Effect of a Rate Smoother on TCP Congestion Control Behavior Kang Li, Jonathan Walpole, David C. Steere {kangli, walpole,
Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
Distributing Layered Encoded Video through Caches Authors: Jussi Kangasharju Felix HartantoMartin Reisslein Keith W. Ross Proceedings of IEEE Infocom 2001,
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Distribution of Multimedia Data Over a Wireless Network (DMDoWN): An Introduction Presented By: Rafidah Md Noor Faculty of Computer Science & Information.
June 11, 2001ICC20011 Department of Informatics and Mathematical Science, Graduate School of Engineering Science, Osaka University, Japan Masaki Miyabayashi.
A Comparison of Layering and Stream Replication Video Multicast Schemes Taehyun Kim and Mostafa H. Ammar Networking and Telecommunications Group Georgia.
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
9.7 Other Congestion Related Issues Outline Queuing Discipline Avoiding Congestion.
TCP with Variance Control for Multihop IEEE Wireless Networks Jiwei Chen, Mario Gerla, Yeng-zhong Lee.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
TCP-Cognizant Adaptive Forward Error Correction in Wireless Networks
Low Latency Adaptive Streaming over TCP Authors Ashvin Goel Charles Krasic Jonathan Walpole Presented By Sudeep Rege Sachin Edlabadkar.
We used ns-2 network simulator [5] to evaluate RED-DT and compare its performance to RED [1], FRED [2], LQD [3], and CHOKe [4]. All simulation scenarios.
Authors: HUAHUI WU, MARK CLAYPOOL, and ROBERT KINICKI Presented By Siddharth Singla Jangsung Lee Adjusting Forward Error Correction with Temporal Scaling.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Rate Adaptations.
Receiver Driven Bandwidth Sharing for TCP Authors: Puneet Mehra, Avideh Zakor and Christophe De Vlesschouwer University of California Berkeley. Presented.
Flow Control in Multimedia Communication Multimedia Systems and Standards S2 IF Telkom University.
On the Interactions Between Layered Quality Adaptation And Congestion Control for Streaming Video Mick Feamster, Deepak Bansal, and Hari Balakrishnan MIT.
Adaptive QoS Control of Multimedia Transmission Over Band-limited Networks Presenter: Hu Huang Nov G.Y.Hong 1, Member, IEEE, A.C.M.Fong 1, Member,
Rate/Congestion Control for Multimedia Streaming
On the Interactions Between Layered Quality Adaptation and Congestion Control for Streaming Video 11 th International Packet Video Workshop Nick Feamster.
Technical Seminar Presentation Presented by : SARAT KUMAR BEHERA NATIONAL INSTITUTE OF SCIENCE AND TECHNOLOGY [1] Presented By SARAT KUMAR BEHERA Roll.
OverQos: An Overlay based Architecture for Enhancing Internet Qos L Subramanian*, I Stoica*, H Balakrishnan +, R Katz* *UC Berkeley, MIT + USENIX NSDI’04,
Accelerating Peer-to-Peer Networks for Video Streaming
DASH2M: Exploring HTTP/2 for Internet Streaming to Mobile Devices
Mohammad Malli Chadi Barakat, Walid Dabbous Alcatel meeting
Rate Adaptations.
Video through a Crystal Ball:
High Throughput Route Selection in Multi-Rate Ad Hoc Wireless Networks
Is Dynamic Multi-Rate Worth the Effort?
Presentation transcript:

Adaptive Video Streaming Over Internet Using Dynamic Video Transcoding By Lam Ling Shun, Felix

Content ► Background ► System Model ► Real-time Heuristic Rate Control Algorithm ► Trace-driven Simulation Results ► Conclusions and Future Research

Background ► Problem of no global QoS to Video streaming  UDP – Packet losses  TCP – Packet Delay Bandwidth Internet Video Quality Degradation

Background ► Solution 1: TCP-friendly streaming control  Reduce network congestion  Smoother Transmission Rate  Controlled and predictable delay  Examples: ► LIMD/H by Kim, Lu and Bharghavan [1]  LIMD with packet loss differentiation ► SCP (Streaming Control Protocol) by Cen, Pu and Walpole [2]  Combine rate-based and window-based flow control

Background ► Solution 2: Video Rate Adaptation  Adapt the video content to available network bandwidth  Examples: ► Jacobs and Eleftheriadis ’ s algorithm [3]  Maintain Server buffer occupancy ► Cuetos and Ross ’ s algorithm [4]  Maintain Client buffer occupancy  Works well on TCP and other TCP-friendly streaming control [4]

System Model TCP

System Model – Server Side ► Transcoder  MPEG-1 Transcoder Transcoder b max Video bit rate b max Transcoded Video bit rate Original Video Transcoded Video b min

System Model – Server Side ► Assumptions on Transcoder  NEGLIGIBLE transcoding time  CBR-encoded video  Same b max along the video  Constant b min along the video  Note: In practice, b min varies along the video b max Transcoded Video bit rate b min

► Rate Control System Model – Server Side Rate Control Video bit rate b(t) TCP Throughput C(t) Client Buffer Occupancy B(t)

System Model – Server Side ► Rate Control (Cont ’ )  Goal ► Minimize probability of client buffer underflow ► Maximize average transcoded video bit rate  Principle ► Maintain a certain level of client buffer occupancy (in terms of seconds worth of video data)

System Model – Server Side ► Rate Control (Cont ’ )  Slot-based Rate Control ► The video bit rate is determined for each video segment with playback duration M. ► Choice of M  Small  More adaptive to bandwidth fluctuation.  Limited by the resolution of the Transcoder.  Affect the complexity of the system. b max b min Transcoded Video bit rate Video time b1b1 b2b2 b3b3 b4b4 M M M M

System Model – Client Side ► Initial Prefetch  Initially, the client prefetches up to B T seconds’ worth of video data with bit rate b max before decoding. BTBTBTBT T 0 ( Prefetch delay ) Transmission Time Client Buffer Occupancy BTBTBTBT b max Video time Video bit rate

Real-time Heuristic Rate Control Algorithm ► Immediately after a slot has been sent, the video bit rate for the next slot is calculated. ► Estimates of the TCP throughput and client buffer occupancy are used in the calculation. ► Reasons for estimating client buffer occupancy at the server:  Reduce overhead of client feedback  Compatibility with existing video clients, eg. MediaPlayer.

Real-time Heuristic Rate Control Algorithm ► Estimation of Customer Buffer Occupancy (B k )  Case 1: No client buffer underflow has occurred T0T0T0T0 BTBTBTBT TkTkTkTk Time when the k th slot has been sent T k -T 0 kM Cumulative Data Consumed Cumulative Data Transmitted 0 Transmission time Cumulative Video Data (seconds) B(t) t B k = B k ’ =kM – (T k -T 0 ) BkBk

Real-time Heuristic Rate Control Algorithm ► Estimation of Customer Buffer Occupancy (B k )  Case 2: Client Buffer Underflow has occurred Client buffer underflow found at the time the u th slot has been sent Transmission time Cumulative Video Data (seconds) TuTu TkTkTkTk uM uM+T k -T u kM BkBk B k = B k ’ =(k-u)M – (T k -T u ) The previous client buffer underflow encountered

Real-time Heuristic Rate Control Algorithm ► Estimation of average TCP throughput for sending the k+1 th slot (D k+1 ’ ) C i-W+1 … C i-W+2 CiCi ii-1i-W+2i-W+1TkTk C avg_W i+1 TCP throughput Transmission time D k+1 ’ =MIN(C i, C avg_W )

Real-time Heuristic Rate Control Algorithm

► Compute b k+1 :  Case 1: B k ’ <= B T ► Target: B k+1 =B T ► B T = B k ’ +M - b k+1 M /D k+1 ’ Bk’Bk’ BTBT b k+1 M /D k+1 ’ M b k+1 =[1- (B T - B k ’ ) /M ] D k+1 ’

Real-time Heuristic Rate Control Algorithm ► Compute b k+1 :  Case 2: B k ’ > B T ► Target: B k+1 =aB T +(1-a) B k ’, 0<=a<=1 ► a is used to trade off between average video bit rate and client buffer underflow ratio Bk’Bk’ BTBT b k+1 M /D k+1 ’ M aB T +(1-a) B k ’ =[1- a(B T - B k ’ ) /M ] D k+1 ’ b k+1 =[1- a(B T - B k ’ ) /M ] D k+1 ’

Real-time Heuristic Rate Control Algorithm ► Heuristic Algorithm For k = T 0 /M to n -1: Step 1: Compute B k ’ and D k ’ Step 2: Compute the value of b k+1 : If B k ’ <= B T b k+1 = [1-(B T - B k ’ )/M] D k+1 ’ b k+1 = [1-(B T - B k ’ )/M] D k+1 ’else b k+1 = [1-a(B T - B k ’ )/M] D k+1 ’ b k+1 = [1-a(B T - B k ’ )/M] D k+1 ’ Step 3: b k+1 =MIN(MAX(b k+1, b min ), b max )

Real-time Heuristic Rate Control Algorithm ► Problem of overestimating D k+1  D k+1 ’ >> D k+1 Bk’Bk’ BTBT b k+1 M /D k+1 ’ M b k+1 M /D k+1 Client buffer underflow!!

Real-time Heuristic Rate Control Algorithm ► Transmission Deadline Strategy (TDS)  The transmission Deadline (X k+1 ) = The time at which the transmission of the k+1 th slot is expected to end = T k + b k+1 M /D k+1 ’  Any unsent data at the server buffer would be discarded at X k+1, a new slot would be formed Bk’Bk’ BTBT b k+1 M /D k+1 ’ M ’ b k+1 M ’ /D k+1 Probability of client buffer underflow reduced

Trace-driven Simulation Results ► Source of traces  Throughput trace of a persistent TCP connection between University of Science and Technology of China (USTC) and CUHK  Number of hops: 15  Time : 11:00 a.m. to 8:00 p.m. (9 hours)  The 9-hour trace is divided into 9 1-hour traces for simulations

Trace-driven Simulation Results ► System settings  b max = 1.1 Mbps  b min = 200 Kbps  B T = 5 seconds  W = 2  M = 1 second  B max = 50 MBytes

Trace-driven Simulation Results ► Maximum Average Video bit rate for underflow ratio = 0 CR DVT JE DVT-TDS

Trace-driven Simulation Results ► Maximum Average Video bit rate for underflow ratio = CR DVT JE DVT-TDS

Trace-driven Simulation Results ► Maximum Average Video bit rate for underflow ratio = CR DVT JE DVT-TDS

Trace-driven Simulation Results ► Predictability on Underflow Ratio DVT-TDS DVT CR

Trace-driven Simulation Results ► Predictability on Underflow Ratio DVT DVT-TDS CR

Trace-driven Simulation Results ► Predictability on Average video bit rate DVT-TDS CR DVT

Trace-driven Simulation Results ► Predictability on Average video bit rate DVT-TDS CR DVT

Conclusions and Future Research ► Conclusions  DVT and DVT-TDS have much better performance than JE ’ s algorithm, and have comparable performance as CR ’ s algorithm in terms of client buffer underflow probability and average video bit rate.  DVT-TDS offers higher predictability in the performance

Conclusions and Future Research ► Future Research  Consideration of the variation of video quality  Dynamic Optimization of system parameters  Integration with other TCP-friendly congestion control algorithms

References [1] T. Kim, S. Lu and V. Bharghavan, “ Improving Congestion Control Performance Through Loss Differentiation, ” Proc. IEEE Int. Conf. Computers and Communications, 1999, pp [2] S. Cen, C. Pu and J. Walpole, “ Flow and Congestion Control for Internet Media Streaming Applications, ” Proc. SPIE/ACM MMCN ’ 98, Jan [3] D. Bansal and H. Balakrishnan, “ Binomial Congestion Control Algorithms, ” Proc. IEEE INFOCOM, 2001, pp [4] S. Jacobs and A. Eleftheriadis, “ Streaming video using dynamic rate shaping and TCP congestion control, ” Journal of Visual Communication and Image Representation, vol.9, issue 3, Sept. 1998, pp [5] P. de Cuetos, K. Ross, “ Adaptive Rate Control for Streaming Stored Fine-Grained Scalable Video, ” NOSSDAV ’ 02, Miami, Florida, May , 2002.

Real-time Heuristic Rate Control Algorithm ► Notations  C(t) – Maximum TCP available throughput at time t  C i – The average TCP throughput for the i th second since transmission starts  B(t) – Client buffer occupancy in terms of seconds ’ worth of video data at time t  B k – The client buffer occupancy when the k th slot of video is sent  B T – The initial client buffer occupancy  b(t) – The video bit rate at video time t  b k – The video bit rate of the k th slot of video  b max – The original average video bit rate  b min – The lowest achievable average video bit rate  B k ’ - The estimate of client buffer occupancy when the k th slot of video is sent  D k ’ - The estimate of average TCP throughput for sending the k th slot of video  M – The video duration for each slot of video  n – Number of slots