MP 2: Audio/ Video Streaming CS414: Multimedia System Instructor: Klara Nahrstedt March 16, 2012.

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

1 Quality of Service Issues Network design and security Lecture 12.
Packet Based Multimedia Communication Systems H.323 & Voice Over IP Outline 1. H.323 Components 2. H.323 Zone 3. Protocols specified by H Terminal.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 14 – Introduction to Multimedia Resource Management Klara Nahrstedt Spring 2012.
T.Sharon-A.Frank 1 Multimedia Quality of Service (QoS)
Multimedia Systems As Presented by: Craig Tomastik.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
MP 1: Audio/ Video Recorder and Player CS414: Multimedia System Instructor: Klara Nahrstedt February 1 st, 2012.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 35 – Media Server (Part 4) Klara Nahrstedt Spring 2012.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 15 –QoS Admission, QoS Negotiation, and Establishment of AV Connections Klara Nahrstedt.
User Control of Streaming Media: RTSP
Multimedia Streaming Protocols1 Multimedia Streaming: Jun Lu Xinran (Ryan) Wu CSE228 Multimedia Systems Challenges and Protocols.
CS 582 / CMPE 481 Distributed Systems Communications (cont.)
Real-time Transport Protocol Matt Boutell CS457: Computer Networks November 15, 2001.
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.
K. Salah 1 Chapter 28 VoIP or IP Telephony. K. Salah 2 VoIP Architecture and Protocols Uses one of the two multimedia protocols SIP (Session Initiation.
1 Quality of Service: for Multimedia Internet Broadcasting Applications CP Lecture 1.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
MP 1: Audio/ Video Recorder and Player CS414: Multimedia System Instructor: Klara Nahrstedt February 7 th, 2012.
RTP/RTCP – Real Time Transport Protocol/ Real Time Control Protocol Presented by Manoj Sivakumar.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 32 – Media Server (Part 2) Klara Nahrstedt Spring 2012.
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.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Distributed Multimedia March 19, Distributed Multimedia What is Distributed Multimedia?  Large quantities of distributed data  Typically streamed.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 28 – Final Comments on DASH and Client-Server Buffer Management Klara Nahrstedt Spring.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
Multimedia Over IP: RTP, RTCP, RTSP “Computer Science” Department of Informatics Athens University of Economics and Business Λουκάς Ελευθέριος.
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 Introduction to Multimedia Networking. 2 What is Multimedia ?  Information Perception from External World  Scene: 60%  Sound: 20%  Touch(feel):
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 26 – Synchronization Issues Klara Nahrstedt Spring 2012.
CS640: Introduction to Computer Networks Aditya Akella Lecture 19 - Multimedia Networking.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Multimedia Systems.
MP 2: Audio/ Video Streaming
MP3: Multi-view Surveillance System Instructor: Klara Nahrstedt April 20, 2012 CS414.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Chapter 28. Network Management Chapter 29. Multimedia
MP design and implementation CS414: Multimedia System Instructor: Klara Nahrstedt April 13, 2012.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 33 – Synchronization (Part 1) Klara Nahrstedt Spring 2011.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 22 – Multimedia Session Protocols Klara Nahrstedt Spring 2014.
1 IRI-h a Java-based Distance Education System Department of Computer Science Old Dominion University Norfolk, VA 23529, USA.
Klara Nahrstedt Spring 2012
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 20 – Multimedia Session Protocols Klara Nahrstedt Spring 2012.
Ch 6. Multimedia Networking Myungchul Kim
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
Multiplexing Team Members: Cesar Chavez Arne Solas Steven Fong Vi Duong David Nguyen.
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.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 30 – Final Comments on DASH and Client-Server Buffer Management Klara Nahrstedt Spring.
MP3: Multi-Source Streaming System Instructor: Klara Nahrstedt April 18, 2014 CS414.
Introduction to Quality of Service Klara Nahrstedt CS 538.
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 19 – Multimedia Transport Subsystem (Part 2) + Midterm Review Klara Nahrstedt Spring 2014.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 24 – Client-Server Buffer Management Klara Nahrstedt Spring 2011.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 17 – QoS Classes and Setup Operations Klara Nahrstedt Spring 2014.
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 6 Multimedia Communication Across Networks.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 13 – Quality of Service Concepts(Part 2) Klara Nahrstedt Spring 2009.
Klara Nahrstedt Spring 2012
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2012
Klara Nahrstedt Spring 2010
Klara Nahrstedt Spring 2014
Chapter 25 Multimedia TCP/IP Protocol Suite
CIS679: MPEG-2 Review of MPEG-1 MPEG-2 Multimedia and networking.
Presentation transcript:

MP 2: Audio/ Video Streaming CS414: Multimedia System Instructor: Klara Nahrstedt March 16, 2012

Covered Aspects of Multimedia Image/Video Capture Media Server Storage Transmission Compression Processing Audio/Video Presentation Playback Audio/Video Perception/ Playback Audio Information Representation Transmission Audio Capture A/V Playback Image/Video Information Representation

Learning Goals Learning media streaming using network Learning audio video synchronization mechanism Understanding following multimedia system concepts – Resource Admission – QoS Negotiation – QoS Enforcement – Session Control – Session Adaptation Understanding network dynamics such as end-to-end delay, network jitter, and synchronization skew server client

System Components Server Client Server – Capture Audio and Video at a fixed rate – Video: 30 fps, Audio: 8000Hz Client – Requests for Video and/or Audio – Works in Two modes: Active Mode and Passive Mode Control Channel Data Channel Active Mode: Media type: Audio, Video Video Rate: 15 to 25 fps Audio Rate: 8000Hz Video Resolution: 640X480 Passive Mode: Media type: Video Video Rate: 10 fps Video Resolution: 320X240

Functional Diagram: Connection Establishment Client Server Stream Request: Stream Request Accept/ Reject Resource admission RTP/ UDP QoS Enforcem ent Take user-inputs (mode) Take user-inputs (mode) Server listening Resour ce admissi on AV Synchronization resource.txt Session Monitor Client listening Resourc e Reservat ion

Functional Diagram: Control Playback Client Server Control Command: PAUSE RTP/ UDP QoS Enforceme nt User requests PAUSE Server listening AV Synchronization Session Monitor Client is streaming from the Server Stop streaming [does not close connection states] User requests RESUME Control Command: RESUME Resume streaming from current position Control Command: STOP Clear Resource Reservatio n Then new connection will require the connection setup phase User requests STOP

Functional Diagram: Session Adaptation Client Server User Change Bandwidth Server always listening resource.txt Resource admission Stream Request: Stream Request Accept/ Reject RTP/ UDP QoS Enforcem ent Resour ce admissi on resource.txt Client listening Resourc e Reservat ion AV Synchronization Session Monitor

Resource Admission Client – Available Application Bandwidth AB N – Application Frame Size, M N = ? – Application Frame Rate, R N = ? – Audio Bandwidth = 8000 * 16 – Bandwidth Active Mode: B N = (M N * R N ) + Audio Bandwidth Passive Mode: B N = (M N * R N ) resource.txt Optimistic Allocation 8000Hz Audio Signal In active mode, the video rate should be considered the Maximum between [15fps-25fps] provided that AB N >= B N Show your computation on the Screen fps: 10 MJPEG Video

Resource Admission Server – Available Application Bandwidth AB N – Required Bandwidth for Client B C – Admission is successful if B C <= AB N – To support multiple client You also need to consider bandwidth assigned to other resource.txt Client110 Client210 Resource Table

Rate Control: QoS Enforcement You can build leaky bucket You can implement token bucket You can use gstreamer rate control You can implement your own method Sleep (100) => 10 fps You an simply read using loop You have to do this for both audio and video

Synchronization B uild your own synchronization algorithm [Lecture 23] S ynchronization Skew < 80 ms D isplay synchronization skew on the screen Payload Media Type Timestamp RTP header You can additional information e.g., Decode Timestamp in the RTP header

Server-side Data Flow Architecture Video source Video filter Video encoder App Sink Audio source Audio filter Audio encoder App Sink Video Queue Audio Queue Rate Control App Sink App Sink Capture timestamp RTP header Network You can use gstreamer Pipeline

Client Side Data Flow Architecture Video Queue Audio Queue Synchronization RTP header Network App Source Audio Sink App Source Video Sink Audio Decoder Video Decoder java/src/org/gstreamer/example/AppSrcTest.java?r=509 How to use AppSrc?

Evaluations Required Points: 100, Optional Points: 30 Points will be considered based on live demo and interview performance

Group Directory A shortcut link in desktop and home directory – cs414_Gn.work [note: n= your group number] You can directly access – /team/cs414/Gn [note: n= your group number] You are allowed to use any languages (C/C++/java) You are allowed to you’re your own laptop any OS Solution for MP1 is posted in the class website