MP 2: Audio/ Video Streaming

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.
Chapter 20: Multimedia Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 20: Multimedia Systems What is Multimedia.
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.
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.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 20: Multimedia Systems.
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.)
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.
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.
Multimedia Communications
Multimedia Communications Student: Blidaru Catalina Elena.
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.
Final Year Project Presentation by Daire O’Neill 4EE.
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.
CS640: Introduction to Computer Networks Aditya Akella Lecture 19 - Multimedia Networking.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Multimedia Systems.
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 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 22 – Multimedia Session Protocols Klara Nahrstedt Spring 2014.
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).
MP 2: Audio/ Video Streaming CS414: Multimedia System Instructor: Klara Nahrstedt March 16, 2012.
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
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.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
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.
MP4 help session Hoang Nguyen. Outline Scenarios Media Synchronization requirement FF/RWND vs. Seek Media synchronization GUI Demo steps (posted next.
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 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 21, 2014

Covered Aspects of Multimedia Audio/Video Presentation Playback Image/Video Capture Audio/Video Perception/ Playback Image/Video Information Representation Transmission Transmission Compression Processing Audio Capture Media Server Storage Audio Information Representation A/V Playback ORCHID Research Group Department of Computer Science, University of Illinois at Urbana-Champaign

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 Control Channel Data Channel Server Stored Audio and Video Video: 30 fps, Audio: 8000Hz Client Requests for Video and/or Audio Works in Two modes: Active Mode and Passive Mode Active Mode: Media type: Audio, Video Video Rate: 15 to 25 fps Audio Rate: 8000Hz Passive Mode: Media type: Video Video Rate: 10 fps

Functional Diagram: Connection Establishment Client Server Server listening Take user-inputs (mode) Resource admission resource.txt Stream Request: <media file, media type, rates> resource.txt Resource admission Resource Reservation Resource Reservation Stream Request Accept/ Reject QoS Enforcement Client listening RTP/ UDP AV Synchronization Session Monitor

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

Functional Diagram: Session Adaptation Client Server User Change Bandwidth Server always listening resource.txt Resource admission resource.txt Stream Request: < media file, media type, rates> Resource admission Resource Reservation Resource Reservation Stream Request Accept/ Reject QoS Enforcement Client listening RTP/ UDP AV Synchronization Session Monitor

Resource Admission Client Available Application Bandwidth ABN Application Frame Size, MN = ? Application Frame Rate, RN = ? Audio Bandwidth = 8000 * 16 Bandwidth Active Mode: BN = (MN * RN) + Audio Bandwidth Passive Mode: BN = (MN * RN) resource.txt Optimistic Allocation MJPEG Video 8000Hz Audio Signal Assuming resolution is known by the client, e.g., stated in the file name like “MIB3-1080p.mjpeg” fps: 10 In active mode, the video rate should be considered the Maximum between [15fps-25fps] provided that ABN>= BN Notice: You have to be able to show your computation during the demo

Resource Admission Server Available Application Bandwidth ABN Required Bandwidth for Client BC Admission is successful if BC <= ABN To support multiple client You also need to consider bandwidth assigned to other resource.txt Client1 10 Client2 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 You an simply read using loop Sleep (100) => 10 fps You have to do this for both audio and video

Synchronization Build your own synchronization algorithm Media Type Timestamp RTP header Payload Build your own synchronization algorithm Synchronization Skew < 80 ms Display synchronization skew on the screen

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

Client Side Data Flow Architecture App Source Audio Decoder Audio Sink Video Queue RTP header Network Synchronization App Source Video Decoder Video Sink RTP header Audio Queue How to use AppSrc? http://code.google.com/p/gstreamer-java/source/browse/trunk/gstreamer-java/src/org/gstreamer/example/AppSrcTest.java?r=509

Evaluations Required Points: 100, Optional Points: 30 Features Points Properties Video Streaming 10 Use MJPEG encoding. It will make rate adaptation easier. Audio Streaming you can use any audio encoding A/V Synchronization 15 synchronization skew <= 80ms Resource Admission Rate Control Session Control STOP, START, PAUSE, RESUME, SWITCH, REW, FF Session Adaptation should allow to change “resource.txt” (via GUI) Session Monitoring synchronization skew, jitter, e2e delay, failure rate Report Writing clearly write your algorithms and development manual Support Multi-Client 30 make sure you properly use server resources Points will be considered based on live demo and interview performance