Ali Saman Tosun Computer Science Department

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg Media Scaling and Media Filtering Definition of.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 36 How Music and Audio Work on the Internet.
Presentation of M.Sc. Thesis Work Presented by: S. M. Farhad [ P] Department of Computer Science and Engineering, BUET Supervised by: Dr. Md. Mostofa.
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.
Optimization of Data Caching and Streaming Media Kristin Martin November 24, 2008.
1 S. Sen, J. Rexford and D. Towsley UMass Amherst AT&T Labs Presented by : Shubho Sen Proxy Prefix Caching.
Scalable On-demand Media Streaming with Packet Loss Recovery Anirban Mahanti Department of Computer Science University of Calgary Calgary, AB T2N 1N4 Canada.
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.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
Application layer (continued) Week 4 – Lecture 2.
A Proxy Smoothing Service for Variable-Bit-Rate Streaming Video Jennifer Rexford AT&T Labs - Research Florham Park NJ
Computer Networks Multimedia and Multicast. Outline F Multimedia Overview F Receiver-Driven Layered Multicast F UDP Sockets (coming soon) F IP Multicast.
Prefix Caching assisted Periodic Broadcast for Streaming Popular Videos Yang Guo, Subhabrata Sen, and Don Towsley.
Optimal Multicast Smoothing of Streaming Video Over the Internet Subhabrata Sen, Don Towsley, Zhi-Li Zhang, and Jayanta K. Dey IEEE J. Selected Areas in.
1 CSE 401N Multimedia Networking Lecture Multimedia, Quality of Service: What is it? Multimedia applications: network audio and video network provides.
Streaming Media. Unicast Redundant traffic Multicast One to many.
Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.
An Overlay Multicast Infrastructure for Live/Stored Video Streaming Visual Communication Laboratory Department of Computer Science National Tsing Hua University.
Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss r RTP r Diff-serv, Int-serv, RSVP.
Streaming Video Gabriel Nell UC Berkeley. Outline Scalable MPEG-4 video – Layered coding method – Integrated transport-decoder buffer model RAP streaming.
Using Redundancy and Interleaving to Ameliorate the Effects of Packet Loss in a Video Stream Yali Zhu, Mark Claypool and Yanlin Liu Department of Computer.
Prof. Reza Rejaie Computer & Information Science University of Oregon Winter 2003 An Overview of Internet Multimedia Networking.
CS :: Fall 2003 Layered Coding and Networking Ketan Mayer-Patel.
Using Interleaving to Ameliorate the Effects of Packet Loss in a Video Stream Mark Claypool and Yali Zhu Computer Science Department Worcester Polytechnic.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Variable Bit Rate Video Coding April 18, 2002 (Compressed Video over Networks: Chapter 9)
Introduction to Streaming © Nanda Ganesan, Ph.D..
CS640: Introduction to Computer Networks
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
RTSP Real Time Streaming Protocol
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
1 Optimal Multicast Smoothing of Streaming Video over an Internetwork S. Sen, D. Towsley, Z-L. Zhang, J. Dey
Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
Multimedia Applications Ali Saman Tosun Computer Science Department.
Quality of Service in the Internet The slides of part 1-3 are adapted from the slides of chapter 7 published at the companion website of the book: Computer.
RANI NALAMARU DEPARTMENT OF COMPUTER SCIENCE BALL STATE UNIVERSITY RANI NALAMARU DEPARTMENT OF COMPUTER SCIENCE BALL STATE UNIVERSITY Efficient Transmission.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
CS640: Introduction to Computer Networks Aditya Akella Lecture 19 - Multimedia Networking.
Multimedia, Quality of Service: What is it?
Network Instruments VoIP Analysis. VoIP Basics  What is VoIP?  Packetized voice traffic sent over an IP network  Competes with other traffic on the.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
Multimedia Streaming Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
Scalable Video Coding and Transport Over Broad-band wireless networks Authors: D. Wu, Y. Hou, and Y.-Q. Zhang Source: Proceedings of the IEEE, Volume:
Advanced Technology Laboratories Practical Considerations for Smoothing Multimedia Traffic over Packet- Switched Networks Christos Tryfonas
Video Multicast over the Internet Presented by: Liang-Yuh Wu Lung-Yuan Wu Hao-Hsiang Ku 12 / 6 / 2001 Bell Lab. And Georgia Institute of Technologies IEEE.
Internet multimedia: simplest approach audio, video not streamed: r no, “pipelining,” long delays until playout! r audio or video stored in file r files.
Fs Streaming Media a presentation by Florian Seidel.
August 23, 2001ITCom2001 Proxy Caching Mechanisms with Video Quality Adjustment Masahiro Sasabe Graduate School of Engineering Science Osaka University.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Rate Adaptations.
Managing VBR Videos. The VBR Problem Constant quality Burstiness over multiple time scales Difference within and between scenes Frame structure of encoding.
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
Technical Seminar Presentation Presented by : SARAT KUMAR BEHERA NATIONAL INSTITUTE OF SCIENCE AND TECHNOLOGY [1] Presented By SARAT KUMAR BEHERA Roll.
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
Chapter 7 Multimedia Networking
Video on Demand (VoD) March, 2003
H.264/SVC Video Transmission Over P2P Networks
Rate Adaptations.
Video Multicast over the Internet (IEEE Network, March/April 1999)
Video On Demand.
Multimedia networking: outline
Multimedia and Networks
CIS679: MPEG-2 Review of MPEG-1 MPEG-2 Multimedia and networking.
Multimedia networking: outline
Streaming multimedia CS 352, Lecture 22
Presentation transcript:

Ali Saman Tosun Computer Science Department Video Streaming Ali Saman Tosun Computer Science Department

Broadcast to True Media-on-Demand Broadcast (No-VoD) Traditional, no control Pay-per-view (PPV) Paid specialized service Near Video On Demand (N-VoD) Same media distributed in regular time intervals Simulated forward / backward True Video On Demand (T-VoD) Full control for the presentation, VCR capabilities Bi-directional connection

Streaming Stored Video media stored at source transmitted to client streaming: client playout begins before all data has arrived timing constraint for still-to-be transmitted data: in time for playout

Streaming Video constant bit rate video transmission variable network delay client video reception constant bit rate video playout at client client playout delay Cumulative data buffered video time Client-side buffering, playout delay compensate for network-added delay, delay jitter

Smoothing Stored Video For prerecorded video streams: All video frames stored in advance at server Prior knowledge of all frame sizes (fi, i=1,2,..,n) Prior knowledge of client buffer size (b) workahead transmission into client buffer n 2 1 b bytes Client Server

Smoothing Constraints U number of bytes rate changes S L time (in frames) Given frame sizes {fi} and buffer size b Buffer underflow constraint (Lk = f1 + f2 + … + fk) Buffer overflow constraint (Uk = min(Lk + b, Ln)) Find a schedule Sk between the constraints Algorithm minimizes peak and variability

Proxy-based Video Distribution Server Proxy adapts video Proxy caches video Proxy Client Client

Proxy Operations Drop frames Quality Adaptation Drop B,P frames if not enough bandwidth Quality Adaptation Transcoding Change quantization value Most of current systems don’t support Video staging, caching, patching Staging: store partial frames in proxy Prefix caching: store first few minutes of movie Patching: multiple users use same video

Online Smoothing Source or proxy can delay the stream by w time units: streaming video stream with delay w b bytes Client Source/Proxy Larger window w reduces burstiness, but… Larger buffer at the source/proxy Larger processing load to compute schedule Larger playback delay at the client

Online Smoothing Model B b Di-w Ai Si proxy client Arrival of Ai bits to proxy by time i in frames Smoothing buffer of B bits at proxy Smoothing window (playout delay) of w frames Playout of Di-w bits by client by time i Playout buffer of b bits at client Transmission of Si bits by proxy by time i

Online Smoothing max{Di-w, Ai - B} <= Si <= min{Di-w + b, Ai} Must send enough to avoid underflow at client Si must be at least Di-w Cannot send more than the client can store Si must be at most Di-w + b Cannot send more than the data that has arrived Si must be at most Ai Must send enough to avoid overflow at proxy Si must be at least Ai - B max{Di-w, Ai - B} <= Si <= min{Di-w + b, Ai}

Online Smoothing Constraints Source/proxy has w frames ahead of current time t: number of bytes don’t know the future U L ? time (in frames) t t+w-1 Modified smoothing constraints as more frames arrive...

Smoothing Star Wars GOP averages 2-second window 30-second window MPEG-1 Star Wars,12-frame group-of-pictures Max frame 23160 bytes, mean frame 1950 bytes Client buffer b=512 kbytes

Prefix Caching to Avoid Start-Up Delay Avoid start-up delay for prerecorded streams Proxy caches initial part of popular video streams Proxy starts satisfying client request more quickly Proxy requests remainder of the stream from server smooth over large window without large delay Use prefix caching to hide other Internet delays TCP connection from browser to server TCP connection from player to server Dejitter buffer at the client to tolerate jitter Retransmission of lost packets apply to “point-and-click” Web video streams

Changes to Smoothing Model Separate parameter s for client start-up delay Prefix cache stores the first w-s frames Arrival vector Ai includes cached frames Prefix buffer does not empty after transmission Send entire prefix before overflow of bs Frame sizes may be known in advance (cached) Ai bs Si Di-s bc bp

Best possible quality at possible sending rate Scalable coding Typically used as Layered coding A base layer Provides basic quality Must always be transferred One or more enhancement layers Improve quality Transferred if possible Sending rate Quality Best possible quality at possible sending rate Base layer Enhancement layer

Temporal Scalability Frames can be dropped In a controlled manner Frame dropping does not violate dependancies Low gain example: B-frame dropping in MPEG-1

Better compression due to low values Spatial Scalability Base layer Downsample the original image Send like a lower resolution version Enhancement layer Subtract base layer pixels from all pixels Send like a normal resolution version If enhancement layer arrives at client Decode both layers Add layers 72 75 83 61 73 -1 -12 2 10 Base layer Less data to code Enhancement layer Better compression due to low values

SNR Scalability SNR – signal-to-noise ratio Idea Base layer Is regularly DCT encoded A lot of data is removed using quantization Enhancement layer is regularly DCT encoded Run Inverse DCT on quantized base layer Subtract from original DCT encode the result If enhancement layer arrives at client Add base and enhancement layer before running Inverse DCT

Multiple Description Coding Idea Encode data in two streams Each stream has acceptable quality Both streams combined have good quality The redundancy between both streams is low Problem The same relevant information must exist in both streams Old problem: started for audio coding in telephony Currently a hot topic

Delivery Systems Developments Several Programs or Timelines Network Saving network resources: Stream scheduling

Patching Join ! Central server 1st client 2nd client Unicast patch stream multicast cyclic buffer 1st client 2nd client Server resource optimization is possible

Proxy Prefix Caching Split movie Operation Goal Central server Prefix Suffix Operation Store prefix in prefix cache Coordination necessary! On demand Deliver prefix immediately Prefetch suffix from central server Goal Reduce startup latency Hide bandwidth limitations, delay and/or jitter in backbone Reduce load in backbone Unicast Prefix cache Unicast Client

Interval Caching (IC) caches data between requests following requests are thus served from the cache sort intervals on length I32 I33 I12 I31 I11 I21 S11 S12 S11 Video clip 1 S12 S11 S13 Video clip 2 S22 S21 Video clip 3 S33 S31 S32 S34 Video clip 1 Video clip 1 I11 I12 I21 I31 I32 I33

Receiver-driven Layered Multicast (RLM) Requires IP multicast layered video codec (preferably exponential thickness) Operation Each video layer is one IP multicast group Receivers join the base layer and extension layers If they experience loss, they drop layers (leave IP multicast groups) To add layers, they perform "join experiments“ Advantages Receiver-only decision Congestion affects only sub-tree quality Multicast trees are pruned, sub-trees have only necessary traffic

Receiver-driven Layered Multicast (RLM)