Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.

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.
MM Networking Applications
Tema 0: Transmisión de Datos Multimedia
1 Multimedia Networking EECS 489 Computer Networks Z. Morley Mao Monday March 26, 2007 Acknowledgement: Some.
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.
1 Multimedia Networking An Overview Done by Abdallah Quffa Khaleel Al Najjar Supervised by: Mr. Ashraf Y. MAghari.
19 – Multimedia Networking. Multimedia Networking7-2 Multimedia and Quality of Service: What is it? multimedia applications: network audio and video (“continuous.
Chapter 7 Multimedia Networking Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use.
CSE534 Fundamentals of Computer Networks Lecture 15: Multimedia networking Based on slides by Kurose + Ross. Updated by P Gill. Spring 2015 Computer Networking:
User Control of Streaming Media: RTSP
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.
Multimedia Networking: An Overview
Application layer (continued) Week 4 – Lecture 2.
Chapter 6: Multimedia Networking
1 CSE 401N Multimedia Networking Lecture Multimedia, Quality of Service: What is it? Multimedia applications: network audio and video network provides.
CSc 461/561 CSc 461/561 Multimedia Systems 0. Introduction.
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.
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 Computer Networks 10/02/02 Xavier Appé.
Computer Networking Multimedia.
CS640: Introduction to Computer Networks
CSci4211: Multimedia Networking1 A Quick Primer on Multimedia Networking Multimedia vs. (conventional) Data Applications –analog “continuous” media: encoding,
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.
6: Multimedia Networking6a-1 Chapter 6: Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss.
Multimedia and QoS#1#1 Multimedia Applications. Multimedia and QoS#2#2 Multimedia Applications r Multimedia requirements r Streaming r Recovering from.
ECE242 L30: Compression ECE 242 Data Structures Lecture 30 Data Compression.
Ali Saman Tosun Computer Science Department
7: Multimedia Networking7-1 Chapter 7 Multimedia Networking A note on the use of these ppt slides: We’re making these slides freely available to all (faculty,
Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot October 2010 October 2010 Ref: Computer Networking:
Introduction to Multimedia Networking (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot October.
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.
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 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.
What is Multimedia? Function: noun plural but singular or plural in construction Date: 1950 : a technique (as the combining of sound, video, and text)
Multimedia, Quality of Service: What is it?
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.
1 o characteristics – From an application-level API to the physical layer – CBR, VBR, ABR and UBR – Cell: bytes – Virtual circuits: virtual channel.
Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
CMPT365 Multimedia Systems 1 Multimedia Networking/Communications Spring 2015 CMPT 365 Multimedia Systems.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Chapter 28. Network Management Chapter 29. Multimedia
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
Multimedia Streaming Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
Multimedia Networking Quality of Services Hongli Luo, IPFW.
Internet multimedia: simplest approach audio, video not streamed: r no, “pipelining,” long delays until playout! r audio or video stored in file r files.
Presented by : BEN AMOR Adel MAKNI Mahmoud Ramzi
Ch 6. Multimedia Networking Myungchul Kim
7: Multimedia Networking7-1 Chapter 7 Multimedia Networking Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose,
Multimedia: Conferencing 7-1. MM Networking Applications Fundamental characteristics: typically delay sensitive – end-to-end delay – delay jitter loss.
BITM1113- Multimedia Systems
Ch 6. Multimedia Networking Myungchul Kim
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.
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 4: Multimedia.
Multimedia Networking7-1 Chapter 7 Multimedia Networking A note on the use of these ppt slides: We’re making these slides freely available to all (faculty,
Chapter 13: Multimedia and Networking BITM1113- Multimedia Systems.
Chapter 7 Multimedia Networking
Session 7 INST 346 Technologies, Infrastructure and Architecture
19 – Multimedia Networking
Networking Applications
Multimedia Applications
Networking Applications
Multimedia networking: outline
Multimedia networking: outline
Multimedia Applications
Streaming multimedia CS 352, Lecture 22
Presentation transcript:

Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot October 2010 October 2010 Ref: Computer Networking: A Top Down Approach, 4th ed., Kurose & Ross

A few words about audio compression analog signal sampled at constant rate analog signal sampled at constant rate telephone: 8,000 samples/sec telephone: 8,000 samples/sec CD music: 44,100 samples/sec CD music: 44,100 samples/sec each sample quantized, i.e., rounded each sample quantized, i.e., rounded e.g., 2 8 =256 possible quantized values e.g., 2 8 =256 possible quantized values each quantized value represented by bits each quantized value represented by bits 8 bits for 256 values 8 bits for 256 values example: 8,000 samples/sec, 256 quantized values --> 64,000 bps* example: 8,000 samples/sec, 256 quantized values --> 64,000 bps* receiver converts bits back to analog signal: receiver converts bits back to analog signal: some quality reduction some quality reduction Example rates CD: Mbps** CD: Mbps** MP3: 96, 128, 160 kbps*** MP3: 96, 128, 160 kbps*** Internet telephony: Internet telephony: 5.3 kbps and up GSM (13kbps), G.729 (8kbps)**** GSM (13kbps), G.729 (8kbps)****

A few words about video compression video: sequence of images displayed at constant rate video: sequence of images displayed at constant rate e.g. 24 images/sec e.g. 24 images/sec digital image: array of pixels digital image: array of pixels each pixel represented by bits each pixel represented by bits redundancy redundancy spatial (within image) spatial (within image) temporal (from one image to next) temporal (from one image to next)Examples: MPEG 1 (CD-ROM) 1.5 Mbps MPEG 1 (CD-ROM) 1.5 Mbps MPEG2 (DVD) 3-6 Mbps MPEG2 (DVD) 3-6 Mbps MPEG4 (OO video compression, often used in Internet, < 1 Mbps) MPEG4 (OO video compression, often used in Internet, < 1 Mbps)Research: layered (scalable) video* layered (scalable) video* adapt layers to available bandwidth adapt layers to available bandwidth

* Layered (scalable) video A scalable solution to the problem of available bandwidth variation is to use multi-layered video. A multi-layered video encoder encodes raw video data into one or more streams, or layers, of differing priority. The layer with the highest priority, called the base layer, contains the most important portions of the video stream. One or more enhancement layers with progressively lower priorities may then be encoded to further refine the quality of the base layer stream. A scalable solution to the problem of available bandwidth variation is to use multi-layered video. A multi-layered video encoder encodes raw video data into one or more streams, or layers, of differing priority. The layer with the highest priority, called the base layer, contains the most important portions of the video stream. One or more enhancement layers with progressively lower priorities may then be encoded to further refine the quality of the base layer stream. The source must respond to constantly changing network conditions by dynamically adjusting the number of video layers it generates. The source have to receive congestion feedback from the destinations and the network. The source must respond to constantly changing network conditions by dynamically adjusting the number of video layers it generates. The source have to receive congestion feedback from the destinations and the network.

Streaming Stored Multimedia application-level streaming techniques for making the best out of best effort service: application-level streaming techniques for making the best out of best effort service: client-side buffering client-side buffering use of UDP versus TCP use of UDP versus TCP multiple encodings of multimedia multiple encodings of multimedia jitter removal jitter removal decompression decompression error concealment error concealment graphical user interface with controls for interactivity graphical user interface with controls for interactivity Media Player

Internet multimedia: simplest approach audio, video not streamed: no, “pipelining,” long delays until playout! audio or video stored in file files transferred as HTTP object –received in entirety at client –then passed to player

Internet multimedia: streaming approach browser GETs metafile browser launches player, passing metafile player contacts server server streams audio/video to player

Metafile Example <title>Twister</title><session> <track type=audio <track type=audio e="PCMU/8000/1" e="PCMU/8000/1" src= "rtsp://audio.example.com/twister/audio.en/lofi"> src= "rtsp://audio.example.com/twister/audio.en/lofi"> <track type=audio <track type=audio e="DVI4/16000/2" pt="90 DVI4/8000/1" e="DVI4/16000/2" pt="90 DVI4/8000/1" src="rtsp://audio.example.com/twister/audio.en/hifi"> src="rtsp://audio.example.com/twister/audio.en/hifi"> <track type="video/jpeg" <track type="video/jpeg" src="rtsp://video.example.com/twister/video"> src="rtsp://video.example.com/twister/video"> </session>

Internet multimedia: Streaming from a streaming server allows for non-HTTP protocol between server and media player UDP or TCP for step (3), more shortly

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

Streaming Multimedia: Client Buffering client-side buffering, playout delay compensate for network-added delay, delay jitter

Streaming Multimedia: UDP or TCP? UDP: server sends at rate appropriate for client (Do not care about network congestion !) server sends at rate appropriate for client (Do not care about network congestion !) often send rate = encoding rate = constant rate often send rate = encoding rate = constant rate then, fill rate = constant rate - packet loss then, fill rate = constant rate - packet loss short playout delay (2-5 seconds) to remove network jitter short playout delay (2-5 seconds) to remove network jitter error recover: time permitting error recover: time permittingTCP: send at maximum possible rate under TCP (careful about network congestion) send at maximum possible rate under TCP (careful about network congestion) fill rate fluctuates due to TCP congestion control fill rate fluctuates due to TCP congestion control larger playout delay: smooth TCP delivery rate larger playout delay: smooth TCP delivery rate HTTP/TCP passes more easily through firewalls HTTP/TCP passes more easily through firewalls

Streaming Multimedia: client rate(s) Q: how to handle different client receive rate capabilities? –28.8 Kbps dialup –100 Mbps Ethernet A: server stores, transmits multiple copies of video, encoded at different rates 1.5 Mbps encoding 28.8 Kbps encoding