Nus.soc.cs5248 Ooi Wei Tsang 1 Intermedia Synchronization Ooi Wei Tsang.

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

COS 461 Fall 1997 Time and Clocks u uses of time in distributed systems: –time-based algorithms (e.g. in security) –distributed make –gathering event traces.
RTP/RTCP multimedia protocols for the Internet Center for Software Development CSD, BITS - Pilani CopyRight:
NUS.SOC.CS5248 Ooi Wei Tsang 1 Adaptive Playout. NUS.SOC.CS5248 Ooi Wei Tsang 2 You are Here Network Encoder Sender Middlebox Receiver Decoder.
Fundamentals of Multimedia Part III: Multimedia Communications and Networking Chapter 15 : Network Services and Protocols for Multimedia Communications.
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.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) MPEG + RTP.
User Control of Streaming Media: RTSP
1 NUS.SOC.CS5248 OOI WEI TSANG Playout Buffer Management.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) 1 Adaptive Playout.
1 School of Computing Science Simon Fraser University CMPT 820: Multimedia Systems RTP Media Synchronization for Live MobileVideo Streaming Bassam Almohammadi.
CS294-9 :: Fall 2003 ALF and RTP Ketan Mayer-Patel.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) Systems Support for Continuous Media.
CS 360 – Spring 2007 Pacific University Multimedia Content (Streaming Media) Session “Layer” section Feb 2007.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 1. RTP/RTCP.
Media Streaming Protocols Presented by: Janice Ng and Yekaterina Tsipenyuk May 29 th, 2003 CSE 228: Multimedia Systems.
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.
Light-Weight Stream Synchronization Framework for Multimedia Collaborative Applications Agustín J. González Department of Electronics Engineering Federico.
RTP/RTCP – Real Time Transport Protocol/ Real Time Control Protocol Presented by Manoj Sivakumar.
RTP: A Transport Protocol for Real-Time Applications
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.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
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 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
NUS.SOC.CS5248 Ooi Wei Tsang Previously, on CS5248..
The Way Forward Factors Driving Video Conferencing Dr. Jan Linden, VP of Engineering Global IP Solutions.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) Systems Support for Continuous Media.
Chapter 29 Applications:Voice And Video Over IP (RTP) Presenters Monal Kohli Koushik Sen.
MP 2: Audio/ Video Streaming
資工碩二 林季謙 Towards an RTP Profile for IPTV Marcel Wagner,Ivan Kopilovic,Stefan Dohla,Nikolaus Farber, and Harald Fuchs in IEEE Transcations.
NUS.SOC.CS5248 Ooi Wei Tsang IP Multicast CS5248.
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
Internet Measurment Multimedia 1. Properties Challenges Tools State of the Art 2.
Proposal for Technical Assessment of Synchronization Methods in IP Networks from Quality of Experience Perspective Author: Radha Telikepalli Presented.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 33 – Synchronization (Part 1) Klara Nahrstedt Spring 2011.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 20 – Multimedia Session Protocols Klara Nahrstedt Spring 2012.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) Systems Support for Continuous Media.
NUS.SOC.CS5248 Ooi Wei Tsang Rate Adaptations. NUS.SOC.CS5248 Ooi Wei Tsang You are Here Network Encoder Sender Middlebox Receiver Decoder.
MP 2: Audio/ Video Streaming CS414: Multimedia System Instructor: Klara Nahrstedt March 16, 2012.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Rate Adaptations.
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.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) Project Packetize MP3 audio into RTP Packets.
Multimedia Synchronization I. Fatimah Alzahrani. Definitions Multimedia System : A system or application that supports the integrated processing of several.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
RTP and playout delay compensation Henning Schulzrinne Dept. of Computer Science Columbia University Fall 2003.
NUS.SOC.CS2105 Ooi Wei Tsang Application Transport Network Link Physical you are still here.
NUS.SOC.CS5248 Ooi Wei Tsang Protocols. NUS.SOC.CS5248 Ooi Wei Tsang You are Here Network Encoder Sender Middlebox Receiver Decoder.
Introduction to Quality of Service Klara Nahrstedt CS 538.
RTP/RTCP/RTSP Ben Biro CISC 856 – Spring '10 University of Delaware Thanks to Professor Amer, Henning Schulzrinne, Colin Perkins, Amit Hetawal.
PAC: Perceptive Admission Control for Mobile Wireless Networks Ian D. Chakeres Elizabeth M. Belding-Royer.
NUS.SOC.CS5248 OOI WEI TSANG 1 Previously, on CS5248..
NUS.SOC.CS5248 Ooi Wei Tsang Systems Support for Continuous Media.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Rate Adaptations.
The Transport Layer Congestion Control & UDP
Real-Time Transport Protocol
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CS5248: Systems Support for Continuous Media
Error Recovery.
Rate Adaptations.
MPEG + RTP.
Adaptive Playout.
Presentation transcript:

nus.soc.cs5248 Ooi Wei Tsang 1 Intermedia Synchronization Ooi Wei Tsang

2 Overview Why we need to sync? How close must we sync? How to sync? How to measure sync? Applications

3 Synchronization IntrastreamInterstream Local playbackNetworked

4 Problem Ensure that audio/video captured at the same instance at the source, are displayed at the same instance at the receivers.

nus.soc.cs5248 Ooi Wei Tsang 5 Why we need Synchronization?

6 Why not Pre-sync? V AVA SenderReceiver

7 Seperating A/V Flows SenderReceiver V A V A SenderReceiver Can receive audio without video Can prioritize audio over video

8 May Come from Different Sources UNLV Access Grid SenderReceiver V A V A SenderReceiver

9 or Displayed at Different Sources SenderReceiver V A SenderReceiver A V

10 More Complications Different decoding time for video and audio Network delay and jitter Different clocks

11 Bottom Line Must synchronize at the receiver

nus.soc.cs5248 Ooi Wei Tsang 12 Synchronization Requirements

13 Reference Human Perception of Jitter and Media Synchronization by Ralf Steinmetz IEEE JSAC 14(1) 1996

14 Results “Badness” A/V offset -80ms+80ms

15 What matters Video ahead of audio vs. audio ahead of video Size of head Occupancy

16 What does not matter Language Speaking or Singing Hobby Speed

17 Conclusion -80ms to +80ms acceptable -160ms to +240ms noticable but not annoying - audio > video + video > audio

nus.soc.cs5248 Ooi Wei Tsang 18 How to Synchronize?

19 Receiver needs Exact time a sample is generated Each packet needs a timestamp

20 RTP Protocol Media Timestamp RTP Hdr

21 But.. Media timestamp has a random offset

22 RTCP Protocol : Media Timestamp NTP Timestamp RTCP Hdr :

23 NTP Network Time Protocol Synchronize clock up to few milliseconds

24 Sender Audio Sender Video Receiver Audio Receiver Video Audio RTCP Video RTCP Audio RTP Video RTP

25 Sender Audio Sender Video Receiver Audio Receiver Video Audio RTCP Video RTCP Audio RTP Video RTP Synchronization Delay

26 Multiple Receivers Everyone must have the same synchronization delay

27 How to set Sync Delay? Receivers tell each other their network delay Synchronization Delay = max {Network Delays} + Buffer

28 Buffer Control

29 No Delay No Jitter

30 Delay, No Jitter

31 Delay, Jitter

32 If Buffer too Full/Empty Send message “Play faster!” or “Play slower!” to other receivers

33 Must Synchronize! Send message “Play faster at time T!” or “Play slower at time T!” to other receivers

nus.soc.cs5248 Ooi Wei Tsang 34 How do we Measure Synchronization?

35 Reference A Method and Apparatus for Measuring Media Synchronization by Brian Smhmidt etc. NOSSDAV 1995

36 System under Test Measurement System Generator

nus.soc.cs5248 Ooi Wei Tsang 37 Beyond Video Conferencing

38 HQ Video and Audio Multiple Channels Multiple Displays

39 Network Musical Performance BOS SF BOS SF ACM Multimedia ‘94

40 NASDAQ Synchronize display of stock quotes