Lecture 7: Video Streaming (II) 2-1. Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI.

Slides:



Advertisements
Similar presentations
Internet Video Tutorial
Advertisements

1 Developing a Predictive Model for Internet Video Quality-of-Experience Athula Balachandran, Vyas Sekar, Aditya Akella, Srinivasan Seshan, Ion Stoica,
How does video quality impact user engagement?
BrightAuthor v3.7 software and BrightSign XD v4.7 firmware
Analysis of Tools to Support Remote Access to a K12 Classroom John Bowling.
Building Cloud-ready Video Transcoding System for Content Delivery Networks(CDNs) Zhenyun Zhuang and Chun Guo Speaker: 饒展榕.
Building Mobile Apps in the Cloud – Comparing Approaches.
Dynamic Adaptive Streaming over HTTP – Design Principles and Standards Thomas Stockhammer, Qualcomm DASHDASH.
Saamer Akhshabi, Constantine Dovrolis Georgia Institute of Technology An Experimental Evaluation of Rate Adaptation Algorithms in Adaptive Video Streaming.
Will Law | Chief Media Architect | Akamai Optimizing the Black Box of HTML.
Fundamentals of Multimedia Part III: Multimedia Communications and Networking Chapter 15 : Network Services and Protocols for Multimedia Communications.
Confused, Timid, and Unstable: Picking a Video Streaming Rate is Hard Published in 2012 ACM’s Internet Measurement Conference (IMC) Five students from.
White Master Replace with a graphic 5.5” Tall & 4.3” Wide © 2010 Adobe Systems Incorporated. All Rights Reserved. Video Distribution Philippe Degery DMO.
Hui Zhang, Fall Computer Networking Internet Video Delivery.
Suphakit Awiphan, Takeshi Muto, Yu Wang, Zhou Su, Jiro Katto
Dynamic Adaptive Streaming over HTTP2.0. What’s in store ▪ All about – MPEG DASH, pipelining, persistent connections and caching ▪ Google SPDY - Past,
Networks & Multimedia Amit Pande, Post-doctoral fellow, Department of Computer Science, University of California Davis
DIS Multimedia Productions Flash Video Streaming June 5, 2007.
CStream: Neighborhood Bandwidth Aggregation For Better Video Streaming Thangam Vedagiri Seenivasan Advisor: Mark Claypool Reader: Robert Kinicki 1 M.S.
CSE 190: Internet E-Commerce Lecture 16: Performance.
VCT May 20, 2009 Sapna Blesson Advisor: Dr.Christopher Pollett.
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.
Computer Networking Lecture 18 – Internet Video Delivery Matt Mukerjee Slides: Hui Zhang, Peter Steenkiste, Athula Balachandran, Srini Seshan, et.
Using Conviva 29 Aug Summary Who are we? What is the problem we needed to solve? How was Spark essential to the solution? What can Spark.
Adobe Flash Media Server. Outline What is Adobe Flash Media Server? What can we do with it? How the server works? How to install and set-up the server?
 What is Windows Azure Media Services  Reach Story w/ SDKs and Player Frameworks  Media applications on Windows  Monetize your content  Road to.
Mingfei Yan Program manager Windows Azure Media Services.
 What is Windows Azure Media Services  Reach Story w/ SDKs and Player Frameworks  Media applications on Windows 8  Web: a Flash player for Smooth.
Video Value Chains Case Study Update: The Evolution of Video Services Natalie Klym Research Associate, MIT May 31, 2007 Philadelphia,
CS640: Introduction to Computer Networks
EVERYWHERE: IMPACT OF DEVICE AND INFRASTRUCTURE SYNERGIES ON USER EXPERIENCE Cost TMA – Figaro - NSF Alessandro Finamore Marco Mellia Maurizio Munafò Sanjay.
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
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Building video application for windows 8 with Windows Azure Media Services Mingfei Yan Program Manager Microsoft Corporation WCL332.
HTTP Streaming bar BoF, IETF 79th HTTP Streaming Survey and Gap Analysis Ning Zong draft-zong-httpstreaming-gap-analysis-01.
APP205 Key technologies for building great video experience on Windows 8.
 Please write (legibly) the name you wish me to call you on the name card 
SIGCOMM Outline  Introduction  Datasets and Metrics  Analysis Techniques  Engagement  View Level  Viewer Level  Lessons  Conclusion.
Lecture 6: Video Streaming 2-1. Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI 2014]
Lector: Aliyev H.U. Lecture №15: Telecommun ication network software design multimedia services. TASHKENT UNIVERSITY OF INFORMATION TECHNOLOGIES THE DEPARTMENT.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time Multimedia: Internet Phone Case.
Streaming Media A technique for transferring data on the Internet so it can be processed as a steady and continuous stream.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
 What is Windows Azure Media Services  Architecture and Features  SDK and REST API.
Internet Measurment Multimedia 1. Properties Challenges Tools State of the Art 2.
The MPEG-DASH Standard for Multimedia Streaming Over the Internet Chih-Hsiang Chou Advisor: Prof Dr. Ho-Ting Wu Department of Computer Science and Information.
Rich Internet Application
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.
PROTEUS: Network Performance Forecast for Real- Time, Interactive Mobile Applications Qiang Xu* Sanjeev Mehrotra# Z. Morley Mao* Jin Li# *University of.
An Adaptive Video Streaming Control System: Modeling, Validation, and Performance Evaluation PRESENTED BY : XI TAO AND PRATEEK GOYAL DEC
Understanding the Impact of Network Dynamics on Mobile Video User Engagement M. Zubair Shafiq (Michigan State University) Jeffrey Erman (AT&T Labs - Research)
Presenta – #wpc15it1 Gestire video live e on- demand su Azure Vito Flavio Lorusso.
Πολυμεσικό Υλικό στο Internet: Συγχρονισμός, Επεξεργασία και Διακίνηση Διακίνηση Video με χρήση του HTTP 17/12/2015 Β. Μάγκλαρης Μ. Γραμματικού
R Consulting Mobile IPTV Application
Lecture 6: Video Streaming 2-1. Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI 2014]
California State University, LA Presented by Amanda Steven StevenAamirObaid.
Sharing makes life beautiful ARKUDA STB SOLUTION.
15-744: Computer Networking L-17 CDN, Video Streaming.
ITU Regional Standardization Forum for Africa Livingstone, Zambia March 2016 QoS and QoE for Multimedia Services Related Work in Q14/12 Christian.
Flix Premiere Web App Product Development Architecture Prepared by Alexander Adu-Sarkodie Flix Premiere Confidential.
TV Broadcasting What to look for Architecture TV Broadcasting Solution
APP-BASED PAY TV.
Enterprise Town Hall solution
SwiftServe Technical Workshop
Available Bit Rate Streaming
NUS PI: Roger Zimmermann ZJU PI: TBD NUS Co-PIs: Ben Leong
15-744: Computer Networking
Presentation transcript:

Lecture 7: Video Streaming (II) 2-1

Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI 2014]  Search Provider [SIGCOMM 2013]  Cellular Networks [IMC 2012],[MOBICOM 2014]  Home [IMC 2013]  Network Measurement fundamentals:  Decision Tree (one popular machine learning tool) 2-2

Outline  Video Streaming:  Basic Protocols & Tutorials.  Measurement studies:  Impact of video quality on user engagement [SIGCOMM2011]  Structure of Internet Video Quality Problems in the Wild [CoNEXT2013]  Predicative Models  Predictive Model of Quality of Experience [SIGCOMM2013]  Impact of cellular network dynamics on video quality [SIGMETRICS2014] 2-3

Flash: Enabling Technology For Phase 2 Growth  Client-side: Flash being the de-facto platform  Works in all browsers  Works across OSes  RTMP being the protocol  Maturing CDN technologies to support streaming

What is Flash?  Browser plugin developed by Macromedia (acquired by Adobe in 2005)  A programming environment that is independent of browser types and OSes  Rich interactive features and seamless browser integration  desktop application- like features  Flash Player ActionScript 3.0 introduced in 2006 brought a new virtual machine and a just-in- time compiler with 10x performance improvements enabling a wave of more sophisticated and interactive video and web applications  Support for video  Rendering, decoding, introduced H.264 in 2007  Streaming (RTMP),  Content protection (RTMPE, tokenization)  More than 95% penetration on PCs

2010: Apps and Multi-Devices  Rise of apps and the the slow decline of Flash as the universal video platform  iPhone was launched on June 29 th, 2007 without support for Flash  iPad was launched on April 3 rd, 2010 also without support for Flash  Adobe announced removing support for Flash on Android on June 27 th, 2012 (almost exactly 5 years after iPhone launched)

2011 – Present  Four separate screens  PC  Phone  Tablet  TV: connected directly to Internet or via other devices (e.g. Roku, Xbox, PlayStation, AppleTV)  Different user behaviors and video applications for different screens  Fragmented playback software environment  Apps on mobile and tablet devices (iOS, Android)  Apps on game consoles and connected TVs (Xbox, PS3, Roku, AppleTV, Samsung TV, LG TV, etc.)  Both Flash and Silverlight on PCs

Internet Video Requirements  Smooth/continuous playback  Elasticity to startup delay: need to think in terms of RTTs  Elasticity to throughput  Multiple encodings: 200Kbps, 1Mbps, 2 Mbps, 6 Mbps, 30Mbps  Multiple classes of applications with different requirements DelayBandwidthExamples 2, N-way conference < 200 ms4 kbps audio only, 200 kbps – 5 Mbps video Skype, Google hangout, Polycom, Cisco Short form VoD< 1-5s300 kbps – 2 Mbps & higherYoutube Long form VoD< 5-30s500 kbps – 6 Mbps & higherNetflix, Hulu, Qiyi, HBOGO Live Broadcast< 5-10s500 kbps – 6 Mbps & higherWatchESPN, MLB Linear Channel< 60s500 kbps – 6 Mbps & higherDirectTV Live

Playout Buffer, Delay, Smooth Playback Time Max Buffer Duration = allowable jitter File Position Max Buffer Size Smooth Playback Time Buffer almost empty "Good" Region: smooth playback "Bad": Buffer underflows and playback stops "Bad": Buffer overrflows Buffer Duration Buffer Size

3rd Generation: HTTP Streaming  Key observations: rather than adapt Internet to streaming, adapt media delivery to the Internet  Other terms for similar concepts: Adaptive Streaming, Smooth Streaming, HTTP Chunking  Client-centric architecture with stateful client and stateless server  Standard server: Web servers  Standard Protocol: HTTP  Session state and logic maintained at client  Video is broken into multiple chunks  Chunks begin with keyframe so independent of other chunks  A series of HTTP progressive downloads of chunks  Playing chunks in sequence gives seamless video

Adaptive Multi-Bit Rate with HTTP Streaming  Encode video at different levels of quality/bandwidth  Client can adapt to different bit rates within a single session by requesting different sized chunks  Chunks of different bit rates must be synchronized  All encodings have the same chunk boundaries and all chunks start with key frames, so you can make smooth splices to chunks of higher or lower bit rates

HTTP Chunking Protocol HTTP Adaptive Player Web browser Web server HTTP TCP … HTTP TCP … A1A1 A1A1 A2A2 B1B1 B2B2 A1A1 B1B1 Cache Client Web server … … A1A1 A2A2 B1B1 B2B2 HTTP GET A 1 Server B2B2 HTTP GET B 2

Reasons for Wide Adoption HTTP Adaptive Player Web browser Web server HTTP TCP … HTTP TCP … A1A1 A1A1 A2A2 B1B1 B2B2 B1B1 Cache Client Web server … … A1A1 A2A2 B1B1 B2B2 CDN Infrastructure Reuse the CDN infrastructure Client-driven control enables server/CDN switch Middlebox/firewa ll penetration

Example of HTTP Streaming Protocols  Apple HLS: HTTP Live Streaming  Microsoft IIS Smooth Streaming: part of Silverlight  Adobe HDS: HTTP Dynamic Streaming  DASH: Dynamic Adaptive Streaming over HTTP

Smooth Streaming IIS Server with Smooth Streaming Extension CharlieBitMe_ 10Mbps.MP4 Mezzanine file 5Mbps.MP 4 Encoders 1Mbp s.MP ISMC.ISM Server & Client Manifest files Fetch Client Manifest File HTTP GET alityLevels(500000)/Fragments(video=0) HTTP GET Levels( )/Fragments(video=300000)

HTTP Live Streaming (HLS) CharlieBitMe_ 10Mbps.MP4 Mezzanine file Encoders 5Mbps.MP 4 1Mbp s.MP Stream Segmente rs Per-bitrate.ts media segment files & playlists.m3u8 Master Playlist Web Server Fetch master play list HTTP GET Fetch bitrate specific playlist

HTTP Dynamic Streaming (HDS) CharlieBitMe_ 10Mbps.MP4 Mezzanine file Encoders 5Mbps.MP 4 1Mbp s.MP f4f Packager Per-bitrate.f4f segment &.f4m manifest files.f4m Apache with Adobe HTTP Origin module HTTP GET media/CharlieBitMe.f4m HTTP GET ynamic_StreamingSeg1-Frag1

What We Have Learned So Far? (1)  The detour to Web Internet has a key positive legacy  HTTP chunk will be the new Datagram for Internet video  HTTP chunk switches are the new switches/CDN servers  Many practical problems solved for HTTP after years of evolution  Middle-box support, authentication, firewall penetration, anycast Internet Web Internet Video & Web Internet

What Have We Learned So Far (2) ?  No universal QoS support inside the network  CDN a key architectural component to optimize performance  DNS-based names are standard control service access interface  HTTP is standard data plane plane protocol

What We Have Learned So Far (3)? 750 Kbps 1.2 Mbps CDNISP GEODevice 750 Kbps 1.2 Mbps 3 Mbps  Adaptive multi-bit-rate video key to address diversity

Objective Score (e.g., Peak Signal to Noise Ratio) Subjective Scores (e.g., Mean Opinion Score) Traditional Video Quality Assessment S.R. Gulliver and G. Ghinea. Defining user perception of distributed multimedia quality. ACM TOMCCAP W. Wu et al. Quality of experience in distributed interactive multimedia environments: toward a theoretical framework. In ACM Multimedia 2009

Objective Scores PSNR Join Time, Avg. bitrate, … Subjective Scores MOS Engagement measures (e.g., Fraction of video viewed) Internet video quality

“Binned” rank correlation  Traditional correlation: Pearson  Assumes linear relationship + Gaussian noise  Use rank correlation to avoid this  Kendall (ideal) but expensive  Spearman pretty good in practice  Use binning to avoid impact of “samplers”

Information gain background Nice reference: Entropy of a random variable: X P(X) A 0.7 B 0.1 C 0.1 D 0.1 X P(X) A 0.15 B 0.25 C 0.25 D 0.25 “high” “low” Conditional Entropy X Y A L B M B N X Y A L A M B N B O “high” “low” Information Gain

Why is information gain useful?  Makes no assumption about “nature” of relationship (e.g., monotone, inc/dec)  Just exposes that there is some relation  Commonly used in feature selection  Very useful to uncover hidden relationships between variables!

Why naïve regression will not work  Not all relationships are “linear”  E.g., average bitrate vs engagement?  Use only after confirming roughly linear relationship