Streaming Audio and Video Content Delivery. 7.4 Streaming Audio and Video Web applications and the mobile Web are not the only exciting developments in.

Slides:



Advertisements
Similar presentations
ITIS 1210 Introduction to Web-Based Information Systems Chapter 36 How Music and Audio Work on the Internet.
Advertisements

29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Multicast Fundamentals n The communication ways of the hosts n IP multicast n Application level multicast.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Comp 1001: IT & Architecture - Joe Carthy 1 Review Floating point numbers are represented in scientific notation In binary: ± m x 2 exp There are different.
Csc333 Data communication & Networking Credit: 2.
1 Multimedia Chapter Introduction to multimedia 7.2 Multimedia files 7.3 Video compression 7.4 Multimedia process scheduling 7.5 Multimedia file.
Peer to Peer (P2P) Networks and File sharing. By: Ryan Farrell.
Technological Convergence for Institutions & Audiences
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
EE442—Multimedia Networking Jane Dong California State University, Los Angeles.
Internet Networking Spring 2006 Tutorial 12 Web Caching Protocols ICP, CARP.
Cis e-commerce -- lecture #6: Content Distribution Networks and P2P (based on notes from Dr Peter McBurney © )
The Internet Useful Definitions and Concepts About the Internet.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #13 Web Caching Protocols ICP, CARP.
Part 1: Overview of Web Systems Part 2: Peer-to-Peer Systems Internet Computing Workshop Tom Chothia.
Internet Networking Spring 2002 Tutorial 13 Web Caching Protocols ICP, CARP.
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
COMS E6125 WHIM Internet Television Joost Babelgum Preethi Narayan
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1 LECTURE 1 INTRODUCTION AND BASIC CONCEPTS DATA COMMUNICATIONS LECTURER : FERDINAND KATSRIKU (PhD)
                      Digital Video 1.
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
On the Use and Performance of Content Distribution Networks Balachander Krishnamurthy Craig Wills Yin Zhang Presenter: Wei Zhang CSE Department of Lehigh.
ICT at Work Global Communication.
Using Multimedia on the Web
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
CHAPTER 2 Communications, Networks, the Internet, and the World Wide Web.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter 7.
1 One-Click Hosting Services: A File-Sharing Hideout Demetris Antoniades Evangelos P. Markatos ICS-FORTH Heraklion,
Web Development Life Cycle from Beginning to End…and BEYOND!
Chapter 4 Computer Networks – Part 1
BitTorrent Presentation by: NANO Surmi Chatterjee Nagakalyani Padakanti Sajitha Iqbal Reetu Sinha Fatemeh Marashi.
Joonwon Lee OS Support for Multimedia.
WEB TERMINOLOGIES. Page or web page: a file that can be read over the world wide web Pages or web pages: the global collection of documents associated.
1.1 What is the Internet What is the Internet? The Internet is a shared media (coaxial cable, copper wire, fiber optics, and radio spectrum) communication.
DATA COMM & COMPUTER NETWORKING. Data Communications..  are the exchange of data between two devices via some  form of transmission medium such as a.
Network Technologies essentials Week 9: Distributed file sharing & multimedia Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall,
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Vocabulary Vonderrick Allen. 1.Aggregator A website or program that collects related items of content and displays them or links to them.
The Application Layer Chapter Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall,
Streaming Media A technique for transferring data on the Internet so it can be processed as a steady and continuous stream.
Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
Internet Protocol TeleVision
Flashback: A Peer-to-Peer Web Server for Flash Crowds Presented by Tom Batkiewicz CS 587x Fall ‘07.
Streaming and Content Delivery SECTIONS 7.4 AND 7.5.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
California State University, LA Presented by Amanda Steven StevenAamirObaid.
COM: 111 Introduction to Computer Applications Department of Information & Communication Technology Panayiotis Christodoulou.
Streaming Audio and Video, Content Delivery
Binary Representation in Audio and Images
VIDEO.
Principles of Network Applications
Streaming Audio and Video Content Delivery
Overview What is Multimedia? Characteristics of multimedia
Web Development Life Cycle from Beginning to End…and BEYOND!
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
Digital television systems - (DTS)
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
Streaming Audio and Video, Content Delivery
Chapter 7 Multimedia 7.1 Introduction to multimedia
Presentation transcript:

Streaming Audio and Video Content Delivery

7.4 Streaming Audio and Video Web applications and the mobile Web are not the only exciting developments in the use of networks. For many people, audio and video are the holy grail of networking. When the word ‘‘multimedia’’ is mentioned, The former see immense technical challenges in providing voice over IP and video-on-demand to every computer. The latter see equally immense profits in it. While the idea of sending audio and video over the Internet has been around since the 1970s, it is only since roughly 2000 that real-time audio and real-time video traffic has grown.

7.4.1 Digital Audio Audio waves can be converted to digital form by an ADC (Analog-to-Digital Converter). An ADC takes an electrical voltage as input and generates a binary number as output.

7.4.1 Digital Audio The reverse process takes digital values and produces an analog electrical voltage. It is done by a DAC (Digital-to-Analog Converter). A loudspeaker can then convert the analog voltage to acoustic waves so that people can hear sounds.

7.4.1 Digital Audio con’t Digital samples are never exact, The samples of Fig. 7-42(c) allow only nine values, from −1.00 to in steps of An 8-bit sample would allow 256 distinct values. A 16-bit sample would allow 65,536 distinct values. The error introduced by the finite number of bits per sample is called the quantization noise. If it is too large, the ear detects it.

Quantization noise Example

Question? WHAT IS THE NUMBER ONE DOWNSTREAM APPLICATION USED ON THE INTERNET?

7.4.2 Digital Video The simplest digital representation of video is a sequence of frames, each consisting of a rectangular grid of picture elements, or pixels. Each pixel can be a single bit, to represent either black or white. The next step up is to use 8 bits per pixel to represent 256 gray levels. This scheme gives high-quality ‘‘black-and-white’’ video.

7.4.2 Digital Video For color video, many systems use 8 bits for each of the red, green and blue (RGB) primary color components. This representation is possible because any color can be constructed from a linear superposition of red, green, and blue with the appropriate intensities. With 24 bits per pixel, there are about 16 million colors, which is more than the human eye can distinguish.

7.4.2 Digital Video

7.4.3 Streaming Stored Media

7.4.3 Streaming Stored Media con’t The most common example is watching videos over the internet Other forms of Video on Demand use a provider network that is separate from the Internet to deliver the movies (i.e. the cable network). To get around long download times sites link to a metafile, a very short file just naming the movie. Example: rtsp://joes-movie-server/movie-0025.mp4

7.4.3 Streaming Stored Media con’t The browser gets the page as usual in steps 1 & 2 (which is now a one-line file. It starts the media player and hands it the one-line file in step 3. The media player reads the metafile and sees the URL of where to get the movie. It contacts the server and asks for the movie in step 4. The movie is streamed back to the media player in step 5.

7.4.4 Streaming LIve Media Live streaming is used for an online presence by major television stations (IPTV) and for broadcasting radio radio stations (Internet Radio). Both IPTV and Internet radio reach audiences worldwide for events ranging from fashion shows to World Cup soccer Live streaming over IP is used as a technology by cable providers to build their own broadcast systems.

7.5 Content Delivery The internet used to be all about communication. Now it has become more about content than communication. FACT: It is believed YouTube accounts for up to 10% of Internet traffic. Researches have developed two architectures for bandwidth distribution: CDN (Content Distribution Network) - a provider sets up a distributed collection of machines at locations inside the Internet and uses them to serve content to clients P2P (Peer-to-Peer) - a collection of computers pool their resources to serve content to each other, without separately provisioned servers or any central point of control.

7.5.1 Content and Internet Traffic There are a small number of websites with massive traffic and a vast number of web sites with smaller traffic. Packet Trains - the idea being that express trains with a large number of packets would suddenly travel down a link. Long packet flow are described as elephants and short traffic flows as mice--the idea being that there are only a few elephants and many mice, but the elephants matter because they are so big. Zipf’s Law - noted that the frequency of a word’s usage in a large body of text is inversely proportional to its rank. Example: the 40th most common word is used twice as much as the 80th most common word

7.5.1 Content and Internet Traffic

7.5.2 Server Farms and Web Proxies A machine can only serve so many Web requests before the load is too great, the solution to this problem is a server farm i.e. use more than one computer to make a web server Load balancing is used to balance the workload across the servers

7.5.2 Server Farms and Web Proxies Caching improves performance by shortening the response time and reducing the network load; a way to cache more effective is to share the cache among multiple users A web proxy is used to share a cache among users. A proxy is an agent that acts on behalf of someone else. In this case, a web proxy fetches web requests on behalf of users

7.5.3 Content Delivery Networks Server farms and web proxies help to build large sites and improve web performance, but they are not sufficient for truly popular websites CDNs (Content Delivery Networks) - instead of having clients look for a copy of the requested page in a nearby cahec, it is the provider who places a copy of the page in a set of nodes at different location and directs the client to use a nearby node as the server; CDNs use a tree structure that yields three benefits: The content distribution can be scaled up to as many clients as needed by using more nodes in the CDN, and more levels in the tree when the distribution among CDN Nodes becomes the bottleneck Each client gets good performance by fetching pages from a nearby server instead of a distant server The total load is placed on the network is also kept to a minimum. Flash crowds - surges in demand i.e. when Apple releases an update How to combat?: CDNs can quickly scale up a site’s serving capacity

7.5.3 Content Delivery Networks

7.5.4 Peer-to-Peer Networks Not everyone can afford to set up a 1000-node CDN at locations around the world. The introduction of P2P networks burst onto the scene in 1999 and their first widespread application was for mass crime: 50 million Napster users were exchanging coprighted songs without the copryright owners’ permission Basic idea of P2P file-sharing networks is that many computers come together and pool their resources to form a content distribution system BitTorrent - protocol developed in 2001 to let a set of peers share files quickly and easily DHTs (Distributed Hash Tables) or Structured P2P networks - solution to issues with P2P; basic funcionality of an index is to map a key to a value; a hash is used to help create a node identifier

7.5.4 Peer-to-Peer Networks

Video Time! What is CDN and How Does it Work?

7.4.2 Digital Video

7.4.5 Real-Time Conferencing

7.4.1 Digital Audio