MP3: Multi-view Surveillance System Instructor: Klara Nahrstedt April 20, 2012 CS414.

Slides:



Advertisements
Similar presentations
Tae-wan You, Seoul National University, Korea
Advertisements

H. 323 Chapter 4.
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.
Media: Voice and Video in your SIP Environment Jitendra Shekhawat.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 16 – Multimedia Transport Subsystem (Part 3) Klara Nahrstedt Spring 2009.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 14 – Introduction to Multimedia Resource Management Klara Nahrstedt Spring 2012.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet.
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.
RTP: A Transport Protocol for Real-Time Applications Provides end-to-end delivery services for data with real-time characteristics, such as interactive.
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 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.
Video over Wireless : Performance Evaluation in the GSM Circuit-Switched Channel Almudena Konrad Amoolya Singh University of California, Berkeley December.
Real-time Transport Protocol Matt Boutell CS457: Computer Networks November 15, 2001.
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.
CS335 Principles of Multimedia Systems Multimedia Over IP Networks -- II Hao Jiang Computer Science Department Boston College Nov. 8, 2007.
Peer-to-peer Multimedia Streaming and Caching Service by Won J. Jeon and Klara Nahrstedt University of Illinois at Urbana-Champaign, Urbana, USA.
MP 1: Audio/ Video Recorder and Player CS414: Multimedia System Instructor: Klara Nahrstedt February 7 th, 2012.
All rights reserved © 2006, Alcatel Accelerating TCP Traffic on Broadband Access Networks  Ing-Jyh Tsang 
RTP/RTCP – Real Time Transport Protocol/ Real Time Control Protocol Presented by Manoj Sivakumar.
RTP/RTCP(RFC 1889) Real-time transport protocol (RTP) is the de facto standard media transport protocol in the Internet Media transport: audio, vedio,
A Web Services Based Streaming Gateway for Heterogeneous A/V Collaboration Hasan Bulut Computer Science Department Indiana University.
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.
Jani Pousi Supervisor: Jukka Manner Espoo,
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.
Internetworking and ATM Lecture 8, April 30, 2003 Data Communications and Networks Mr. Greg Vogl Uganda Martyrs University.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
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.
MP 2: Audio/ Video Streaming
1 © NOKIA FILENAMs.PPT/ DATE / NN Helsinki University of Technology Department of Electrical and Communications Engineering Jarkko Kneckt point to point.
MULTIMEDIA OVER WIRELESS BROADBAND NETWORKS BY: NEELIMA PUNJALA.
Real Time Protocol (RTP) 김 준
QuickTime The Joy of Streaming!. QuickTime Streaming Server Allows for real time delivery of media over a network. intranet internet Content can be prerecorded.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Chapter 28. Network Management Chapter 29. Multimedia
1 Integrating security in a quality aware multimedia delivery platform Paul Koster 21 november 2001.
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 2012 CS 414 – Multimedia Systems Design Lecture 20 – Multimedia Session Protocols Klara Nahrstedt Spring 2012.
Ch 6. Multimedia Networking Myungchul Kim
MP 2: Audio/ Video Streaming CS414: Multimedia System Instructor: Klara Nahrstedt March 16, 2012.
PTCL Training & Development1 H.323 Terminals Client end points on the network IP phones, PCs having own OS Terminals running an H.323 protocols and the.
MCS: Enterprise Communications CoE Architect.
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.
1 Internet Telephony: Architecture and Protocols an IETF Perspective Authors:Henning Schulzrinne, Jonathan Rosenberg. Presenter: Sambhrama Mundkur.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 16 – Multimedia Transport (Part 2) Klara Nahrstedt Spring 2011.
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.
System Optimization Networking
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 6 Multimedia Communication Across Networks.
7: Multimedia Networking7-1 protocols for real-time interactive applications RTP, RTCP, SIP.
The Transport Layer Congestion Control & UDP
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Klara Nahrstedt Spring 2012
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2009
RTP: A Transport Protocol for Real-Time Applications
Chapter 25 Multimedia TCP/IP Protocol Suite
Presentation transcript:

MP3: Multi-view Surveillance System Instructor: Klara Nahrstedt April 20, 2012 CS414

MP3: Multi-view Surveillance System Window for server 1 Window for server 2 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 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

Client Behavior Client can request active mode from Server 1 and passive mode from Server 2 Client can request active mode from Server 2 and passive mode from Server 1 Client can request active mode from both Server 1 and Server 2 Client can request passive mode from both Server 1 and Server 2

Client User Interface: Example SWITCH Video window for Server 1 ConnectEdit Video window for Server 2 Computation window for Server 2 Computation window for Server 1

Resource Admission at Client User defines streaming MODE: active or passive Client performs resource admission Server 1 Client Control Channel MODE User

Resource Admission at Client Client – Available Application Bandwidth AB N – Application Frame Size, M N = ? – Application Frame Rate, R N = ? – Audio Bandwidth = 8000 * 16 – Request Bandwidth Active Mode: B N = (M N * R N ) * 16 Passive Mode: B N = (M N * R N ) = (M N * 10) resource.txt Optimistic Allocation 8000Hz Audio Signal How to define R N for active mode? fps: 10 [fps:15-25]

Resource Admission at Client Client – Available Application Bandwidth AB N – Application Frame Size, M N = ? – Application Frame Rate, R N = ? – Request Bandwidth Active Mode: B N = (M N * R N ) + Audio Bandwidth resource.txt Show your computation on the Screen AB N = (M N *R N ) + Audio Bandwidth if R N > 25, R N = 25 if R N < 15, REJECT request else R N

Resource Negotiation with Server Information sent to server includes – Requested Frame Rate (FPS) for video, – Video Resolution, and – Media type (audio, video) Server 1 Client FPS, Resolution Media types MODE

Resource Admission at Server Server – Available Application Bandwidth AB N – Application Frame Size, M N = ? – Application Frame Rate, R N = [received from client] – Audio Bandwidth = 8000 * 16 – Request Bandwidth Active Mode: B N = (M N * R N ) * 16 Passive Mode: B N = (M N * R N ) = (M N * 10) – Admitted if B N <= AB N – Else Rejected resource.txt Optimistic Allocation

Video Data Flow Architecture RTP Packet Rate Control Network Video SourceVideo Filter Media EncoderVideo Muxer App Sink RTP Packet App Source Decode Bin2 Video Sink Synchronization Payload Media Type Timestamp RTP header ID UDP Packet Payload Segment Merge Server-Side Client-Side

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 can simply read using a loop While(true){ SendPacket(); Thread.sleep(10 0); }

Resource Reservation: Client – Available Application Bandwidth AB N – Used Bandwidth for Server 1 B 1 – Available Bandwidth AB N = AB N –B 1 – Admission is successful for B 2 if B 2 <= AB N resource.txt Server 160 Kbps Server 235 KBps Resource Table

Video Data Flow Architecture using RtpBin RTP Packet Rate Control Network Video SourceVideo Filter Media EncoderVideo Muxer App Sink RTP Packet App Source Decode Bin2 Video Sink Synchronization Segment Merge Server-Side Client-Side RtpBin UdpSink UdpSrc

Implementation Using Server Video SourceVideo Filter Tee Video ScaleScale Filter Video Rate Rate Filter Video Encoder RTP Payload RTP Bin UDP Sink Queue UDP Sink UDP Source RTCP RtpBin combines RtpSession RtpSsrcDemux RtpPtDesmux RtpJitterBuffer

Implementation Using Client Video SinkVideo DecoderRTP DePayload RTP Bin UDP Source UDP Sink RTCP rtpBin.connect(new Element.PAD_ADDED() { public void padAdded(Element element, Pad pad) { if (pad.getCaps().toString().contains("video")) { //LINK TO VIDEO SINK via VIDEO MONITOR } else if (pad.getCaps().toString().contains("audio")) { // LINK TO AUDIO SINK via AUDIO MONITOR } } });

Internals of RtpBin l

Evaluation Process for MP3 Case I: – Server 1 is requested to send stream in ACTIVE mode – Server 2 is requested to send stream in PASSIVE mode – Client has resource to support 25 fps in ACTIVE mode Case II: – Server 1 is requested to send stream in ACTIVE mode – Server 2 is requested to send stream in PASSIVE mode – SWITCH streaming mode of Server 1 and Server 2 – Client has resource to support 25 fps in ACTIVE mode

Evaluation Process for MP3 Case III: – Server 1 is requested to send streams in PASSIVE mode – Server 2 is requested to send streams in ACTIVE mode – Modify resource.txt so that ACTIVE mode use 15fps – Low interference in streaming Case IV: – Server 1 is requested to send streams in PASSIVE mode – Server 2 is requested to send streams in ACTIVE mode – SWITCH mode of Server 1 and Server 2 – Client has resources to support 15fps in ACTIVE mode

Evaluation Process for MP3 Case V: – Server 1 is requested to send streams in ACTIVE mode – Server 2 is requested to send streams in PASSIVE mode – Modify resource.txt so that ACTIVE mode use 25fps – Low interference in streaming Case VI: – Server 1 is requested to send streams in ACTIVE mode – Server 2 is requested to send streams in PASSIVE mode – Update resource.txt so that client has enough available bandwidth to support two ACTIVE modes – SWITCH mode of Server 2 into ACTIVE mode – By default, no audio playback from Server 2; however client should receive audio streams from Server 2

Evaluation Process for MP3 Case VII: – Server 1 is requested to send streams in ACTIVE mode – Server 2 is requested to send streams in ACTIVE mode – MUTE Server 1 audio playback and UNMUTE Server 2 audio playback – No interference in streaming – Client has enough resource to support two ACTIVE mode Case VIII: – Server 1 is requested to send streams in ACTIVE mode – Server 2 is requested to send streams in ACTIVE mode – SWITCH mode of Server 1 into PASSIVE mode

Evaluation Process for MP3 Case IX: – Server 1 is requested to send streams in PASSIVE mode – Server 2 is requested to send streams in ACTIVE mode – Modify resource.txt so that admission for ACTIVE mode is not successful – Streaming from Server 2 turns off, no interference in Server 1 streaming Case X: – Server 1 is requested to streams send in ACTIVE mode – Modify resource.txt so that Server 2 can be requested in ACTIVE mode with 15 fps – SWITCH between modes of Server 1 and Server 2

Evaluation Process of MP3 For All Cases: –Cases are designed to run continuously one after another process without restarting the program or starting from the beginning –Maintain audio-visual synchronization in ACTIVE mode –Show the computation of resource admission –Show the current frame rate, bandwidth usage, and network jitter

Demonstration and Interview You must use at least 3 PCs/ laptops for the demo If you want to use wireless/ wired with only your laptops, please setup the demo in SC3401 If you want to use wired demo with lab PCs, please setup your demo at SC0216 Demo date: April 30 th Demo time: – 5pm – 6pm

Additional Features for MP3? It is highly recommended that you build an additional feature in MP3 to SURPRISE US! Bonus Point: 20 Bonus point will be awarded based on the amount of surprise!