Testing ‘Video over TCP/IP’ on example of YouTube Streaming

Slides:



Advertisements
Similar presentations
Video Podcasting: When, Where and How it s Currently used for Instruction Abbie Brown, Ph.D. East Carolina University Timothy D. Green, Ph.D. California.
Advertisements

The Internet and the Web
Click to continue Network Protocols. Click to continue Networking Protocols A protocol defines the rules of procedures, which computers must obey when.
Creating Elluminate Live! Recordings Best Practices.
1 The ns-2 Network Simulator H Plan: –Discuss discrete-event network simulation –Discuss ns-2 simulator in particular –Demonstration and examples: u Download,
Introduction to Digital Video. Digital Video Digital vs. Analog Analog video uses a continuous electrical signal to capture footage on a magnetic tape.
Streaming Multimedia. What is streaming? Streaming media consists of sound and video, continuously “streamed” over the Internet.
2.02F Publishing Animated Videos 2.02 Develop Computer Animations.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 36 How Music and Audio Work on the Internet.
Will Law | Chief Media Architect | Akamai Optimizing the Black Box of HTML.
Multimedia Systems As Presented by: Craig Tomastik.
Video Streaming Services Justin Hourigan, Senior Network Engineer, HEAnet Limited
1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education.
CompSci Applets & Video Games. CompSci Applets & Video Games The Plan  Applets  Demo on making and running a simple applet from scratch.
Dynamic Adaptive Streaming over HTTP2.0. What’s in store ▪ All about – MPEG DASH, pipelining, persistent connections and caching ▪ Google SPDY - Past,
CPSC Characteristics of Streaming Media Stored on the Web M. Li, M. Claypool, R. Kinicki, and J. Nichols To appear in ACM Transactions on Internet.
Video Streaming in Flash CSCI 4220 – Network Programming Kacper Harabasz.
SM5312 week 11: Flash Objects in HTML1 Flash Objects in HTML Nick Foxall.
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.
Web Clipping Presentation By: Alex Jacobs, Philip Kim, Nathan Po Web Clipping.
Web Video Basics Carol Doggett President/Owner Preparing Your Videos for Today’s On-line World.
The Internet & The World Wide Web Notes
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Social Media: YouTube as a Case. 2 New generation of video sharing service Feb.15th, 2005 Some statistics: 60 hours video uploaded very minute 4 billion.
1 NETE4631 Communicating with the Cloud and Using Media and Streaming Lecture Notes #14.
Task 2 P3, P4, P5 Gladys Nzita-Mak.
CS640: Introduction to Computer Networks
Using Multimedia on the Web
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.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
CHAPTER 18 INTEGRATING AUDIO AND VIDEO. LEARNING OBJECTIVES How the HTML 5 and tag pair can be used to include a video file within a webpage How video.
INF Web Design Using Multimedia on the Web Sound - Part 2.
Lecturer: Ghadah Aldehim
Daniel Johnson. Playing a media file stored on a remote server on a local client.
Applets & Video Games 1 Last Edited 1/10/04CPS4: Java for Video Games Applets &
2.02G Publishing Animated Videos 2.02 Develop Computer Animations.
Nortel Confidential Information 1 Video Sample Production Summary Leigh Thorpe Nortel Paris, 7-11 May 2007.
Follow the Data Data (and information) move from place to place in computer systems and networks. As it moves it changes form frequently. This story describes.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
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.
Internet Measurment Multimedia 1. Properties Challenges Tools State of the Art 2.
1 UNIT 13 The World Wide Web Lecturer: Kholood Baselm.
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
HTML 5. Introduction In modern browsers, adding a video to your page is as easy as adding an image. No longer do you need to deal with special plug-ins.
Fs Streaming Media a presentation by Florian Seidel.
An Adaptive Video Streaming Control System: Modeling, Validation, and Performance Evaluation PRESENTED BY : XI TAO AND PRATEEK GOYAL DEC
Tutorial 11 Solutions. Question 1 Q1. What is meant by interactivity for streaming stored audio/video? What is meant by interactivity for real-time interactive.
California State University, LA Presented by Amanda Steven StevenAamirObaid.
The Internet Technological Background. Topic Objectives At the end of this topic, you should be able to do the following: Able to define the Internet.
Introduction to … Internet. Introducing the World Wide Web A network is a structure linking computers together for the purpose of sharing resources such.
Part A. Remote Viewing IP Surveillance Camera Application Guide.
1 UNIT 13 The World Wide Web. Introduction 2 Agenda The World Wide Web Search Engines Video Streaming 3.
1 UNIT 13 The World Wide Web. Introduction 2 The World Wide Web: ▫ Commonly referred to as WWW or the Web. ▫ Is a service on the Internet. It consists.
You can do these things with Roku app. We no need to tell the amazing functionality and aspect of this streaming device but if you’re new to Roku then.
What is Google Analytics?
VIDEO.
Web Caching? Web Caching:.
2.02G Publishing Animated Videos
2.02F Publishing Animated Videos
Multimedia networking: outline
CIS679: MPEG-2 Review of MPEG-1 MPEG-2 Multimedia and networking.
Gigabit measurements – quality, not (just) quantity
Wireshark(Ethereal).
Follow the Data Data (and information) move from place to place in computer systems and networks. As it moves it changes form frequently. This story.
Multimedia networking: outline
Objective Explain concepts used to create digital video.
Presentation transcript:

Testing ‘Video over TCP/IP’ on example of YouTube Streaming 09.05.12 Testing ‘Video over TCP/IP’ on example of YouTube Streaming Dr. Jens Berger, SwissQual AG, Zuchwil, Switzerland May 2012 © SwissQual 2012

YouTube as a service Some numbers (2010) YouTube and Video Streaming 09.05.12 Some numbers (2010) Per minute users upload > 48h video material to YouTube 143 Mio users (means: accounts for upload) in July 2010 > 2000 Mio viewing sessions per day (End 2010) Average viewing time per visitor (in one month) > 4:30h >10% of the entire data traffic worldwide! YouTube and Video Streaming YouTube receives (HiQ) video content and trans-codes it Usually H.264 (AVC) is applied along with a proprietary container format (FLV) for FlashPlayer HTML 5 becomes used if possible, but the principle is the same Original video is scaled to the next matching image size by YouTube 240p, 360p, 480p, 720p, 1080p: stand for lines, aspect ratio remains unchanged, usually 4:3 or 16:9 3D-Video, 2K / 4K HD under study If original resolution is sufficient in size, a set of ‘smaller’ videos become created in parallel YouTube is a moving target! Changed settings, controls, ... rapidely  YouTube create a set of compressed video streams out of one uploaded video and deploys them across several cache servers (mirrors) where they can be accessed from  YouTube controls the bitrate of the individual video streams by the (reduced) image size and compression ratio. 2

Testing YouTube as a service 09.05.12 Setup Context Video Access 3

YouTube as a service YouTube and FlashPlayer YouTube becomes mobile 09.05.12 YouTube and FlashPlayer YouTube enables FlashPlayer via a HTTP script FlashPlayer has to be pre-installed on the host Users just download a script for the player control, not the player itself Request for player can control its appearance (e.g. ‘chromeless’, ‘autoplay’, desired image size) YouTube becomes mobile Special tailored YouTube site for mobile users (http://m.youtube.com) Information about Operating System is given in the HTTP session (HTTP GET) ‚pre-Android‘ mobile devices don‘t support FlashPlayer, YouTube provides dedicated RTSP links for RealPlayer (e.g. Nokia) Information about Video Player is given over RTSP (RTSP DESCRIBE) Other mobile phones (Android) get 3GP via HTTP/TCP Special sites / links for iPhone Common mobile players: Real Player, Packet Video, QuickTime (iPhone), FlashPlayer (Android) 4

YouTube in the cloud 09.05.12 5

YouTube as a service 09.05.12 6

Testing YouTube as a service 09.05.12 Testing an application emulates at most the users experience Video Streaming services in general can be subdivided into two phases Setup Context (Request Service  Ready to play video) Request website DNS Resolution Download HTML context (e.g. YouTube site by just requesting ‚the link‘ in a browser, link contains video ID) Download player configuration (in case of FlashPlayer, HTML5) Ready to play Recent Browsers can parallelize HTTP requests (e.g. Buffering starts while HTML context is still downloaded) Can include navigation Download player information is not required for RealPlayer / QuickTime Entire Setup Context phase is irrelevant for direct streaming a 3GP link A YouTube App instead of YouTube in a browser will not load a HTML context rather only the player configuration Video Service (access, buffer and play video) (‚Press Play‘ Video displayed completely / displaying stopped) Request video DNS Resolution to the target video clip Pre-buffer video Playback video 7

Testing YouTube as a service 09.05.12 Discussion – Setup Context Resolve time DNS Is not related to YouTube Influences the perceived time to get response from the service Time to download HTML context HTML context changes from call to call (favorites, history, news) Users don‘t recognize this time, rather the time until the player is configured Time to download player configuration script FlashPlayer configuration script downloaded via HTTP/TCP This step does not exist for 3GP players as RealPlayer / QuickTime ‚Meta KPI‘: Setup Context  Ready to Buffering/Playing The overall setup time of the context is the most meaningful trigger point in this HTTP part of the YouTube test or any ‚Video over TCP/IP‘ test Individual sub-steps are subject of random network behaviour and not constant by definition User stays interested due to upcoming information and rendering the web site  Setup Context can be skipped by embedding players in an empty HTML page 8

Testing YouTube as a service 09.05.12 Discussion – YouTube video access, buffering and start displaying Video Access Time Time between ‚Ready to Play‘ and Start Buffering Depends on resolving DNS and re-routing Pre-Buffering time Time between Start Buffering and Displaying of first image Influenced by throughput and player / browser settings Time to First Picture Total time from first request to first image displayed Can be derived from Player screen capture Player log trace value Time to Smooth Total time until play-out is stabile at target frame-rate What does Buffering Time tell us? YouTube w/ FlashPlayer enables ‚progressive‘ download After a short buffering time, the player starts to play while in the background, the buffer becomes filled more and more Depending on the player and its settings more or less of the video becomes pre-stored Experiences that an entire 5min clip was completely downloaded in 15s; most often, download is 30 to 90s ahead displaying Request Video Continous Download Display Ends (last 90s is just playout from buffer) Initial Download peak Download Complete (~90s ahead to display) 9

Testing YouTube as a service 09.05.12 Discussion – YouTube Video Displaying What is determining the ‚video quality‘ ‘Original’ compression artifacts (driven by bit-rate and video complexity) YouTube compresses to a certain ‚target rate‘ per resolution, quality depends on video complexity Additional compression by the network before transmission to the airlink Transmission problems (delayed and skipped packets, in unsafe protocols: erroneous video information) In TCP no packets get lost or become destroyed, but they can come too late Freezing (pausing without skipping) happens in case of buffer under-run Freezing (pausing with skipping) can happen in case of device overload What does Freezing Time tell us? Progressive download enables an ahead buffering of 20s...90s usually Build-up time of buffer depends on (current) network throughput Once buffering is completed only heavy gaps in transmission causes a freeze followed by long re-buffering Freezing should be set in relation to display duration! 10

Testing YouTube as a service 09.05.12 Main Concerns with today‘s approach Today we are focussed on short term visual quality (MOS) and basic IP analysis There is more than short term MOS and IP throughput Actual artefacts as longer freezings and slicing with error propagation can‘t be evaluated in the 10s clip evlaluation concept Longer evaluation times needed, for example 120s continous video playback Concept: Short term evaluation abbout actual compression quality (driven by Blockiness, Blurring, ...) Aggregation (non-linear averaged similar to ETSI Quality per Call in telephony) Combination with freezing (ratio, number of freezing events) Consideration of buffering time Finally, there is a service quality indictor, individual ‚dimensions‘ and even a time profile for compression and transmission quality available 11