E0262 MIS - Multimedia Playback Systems Prof Pallapa Venkataram, Electrical Communication Engineering, Indian Institute of Science, Bangalore – 560012,

Slides:



Advertisements
Similar presentations
DISTRIBUTED MULTIMEDIA SYSTEMS
Advertisements

Streaming Video over the Internet
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg Media Scaling and Media Filtering Definition of.
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
William Stallings Data and Computer Communications 7 th Edition Chapter 13 Congestion in Data Networks.
E0262 MIS - Multimedia Playback Systems Prof Pallapa. Venkataram, Electrical Communication Engineering, Indian Institute of Science, Bangalore – ,
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 14 – Introduction to Multimedia Resource Management Klara Nahrstedt Spring 2012.
Comp Spring 2003 Delay Jitter Ketan Mayer-Patel.
T.Sharon-A.Frank 1 Multimedia Quality of Service (QoS)
Multimedia Systems As Presented by: Craig Tomastik.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet.
Fundamentals of Multimedia Part III: Multimedia Communications and Networking Chapter 15 : Network Services and Protocols for Multimedia Communications.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
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
1 Synchronization TTM4142, 2007 Harald Øverby/Leif Arne Rønningen.
Streaming Video over the Internet: Approaches and Directions Dapeng Wu, Yiwei Thomas Hou et al. Presented by: Abhishek Gupta
Presented By: Pariya Raoufi. Motivations Future applications require: higher bandwidth, generate a heterogeneous mix of network traffic, low latency.
SWE 423: Multimedia Systems
CS 582 / CMPE 481 Distributed Systems Communications (cont.)
Streaming Media. Unicast Redundant traffic Multicast One to many.
Light-Weight Stream Synchronization Framework for Multimedia Collaborative Applications Agustín J. González Department of Electronics Engineering Federico.
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.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
Multimedia Communications
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
21. Apr INF-3190: Multimedia Protocols Quality-of-Service.
Distributed Multimedia March 19, Distributed Multimedia What is Distributed Multimedia?  Large quantities of distributed data  Typically streamed.
Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
Distributed Multimedia Systems David Immordino. Introduction 4 A multimedia application is a real-time system responsible for the delivering and receiving.
Support for continuous media Streams in distributed systems Stream management Stream-Oriented Communication 02 – 36 Communication/2.5 Stream-Oriented Communication.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
03/09/2003Helsinki University of Technology1 Overview of Thesis Topic Presented By: Zhao Xuetao.
1 Introduction to Multimedia Networking. 2 What is Multimedia ?  Information Perception from External World  Scene: 60%  Sound: 20%  Touch(feel):
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Multimedia, Quality of Service: What is it?
Quality of Service Karrie Karahalios Spring 2007.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
William Stallings Data and Computer Communications 7 th Edition Chapter 1 Data Communications and Networks Overview.
An Overlay Network Providing Application-Aware Multimedia Services Maarten Wijnants Bart Cornelissen Wim Lamotte Bart De Vleeschauwer.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Proposal for Technical Assessment of Synchronization Methods in IP Networks from Quality of Experience Perspective Author: Radha Telikepalli Presented.
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 33 – Synchronization (Part 1) Klara Nahrstedt Spring 2011.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
Internet multimedia: simplest approach audio, video not streamed: r no, “pipelining,” long delays until playout! r audio or video stored in file r files.
Temporal relationships.. What is meant by temporal relationship ? Temporal (timing) relationships are important in a multimedia presentation. Ex: A speaker’s.
Protocol Specification Prof Pallapa. Venkataram Department of Electrical Communication Engineering Indian Institute of Science Bangalore – , India.
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Multimedia Synchronization I. Fatimah Alzahrani. Definitions Multimedia System : A system or application that supports the integrated processing of several.
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
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 :
10. Mai 20061INF-3190: Multimedia Protocols Quality-of-Service Foreleser: Carsten Griwodz
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 17 – QoS Classes and Setup Operations Klara Nahrstedt Spring 2014.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 34 – Synchronization (Part 2) Klara Nahrstedt Spring 2009.
E0262 MIS - Multimedia Playback Systems Prof Pallapa Venkataram, Electrical Communication Engineering, Indian Institute of Science, Bangalore – ,
The Transport Layer Congestion Control & UDP
Multimedia Systems Operating System Presentation On
CSI-447: Multimedia Systems
Klara Nahrstedt Spring 2009
SWE 423: Multimedia Systems
Klara Nahrstedt Spring 2010
CprE 458/558: Real-Time Systems
Presentation transcript:

E0262 MIS - Multimedia Playback Systems Prof Pallapa Venkataram, Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Streams Synchronization

E0262 MIS - Multimedia Playback Systems ● Synchronization in multimedia systems referes to the temporal relations between media stream data units in multimedia system. ● Time dependent media data units: Temporal relations between consecutive units of media stream exist. ● Time independent media data unit is any kind of traditional media like text and image.

E0262 MIS - Multimedia Playback Systems Classification of Media Use

E0262 MIS - Multimedia Playback Systems Multimedia Synchronization ● The process of maintaining the temporal order of one or several media streams ● Relations relevant for audio and video exchange: – Intra-stream synchronization: Voice samples and video frames need to arrive in time at the receiver before display or playout time to maintain the continuity of playback. – Inter-stream synchronization is needed to present voice and video samples in a certain relation. – Spatial synchronization: Participants in a multimedia conference should receive audio-visual data at the same time although geographically distributed. ● Life & Synthetic synchronization

E0262 MIS - Multimedia Playback Systems Basic Synchronization Issues ● Content Relations: define a dependencies of media data units on some data ● Spatial Relations: usually as layout relationships define the space used for the presentation of a media data units on an output device at a certain point of time in a multimedia presentation. ● Temporal Relations: define the temporal dependencies between the more than one media stream data.

E0262 MIS - Multimedia Playback Systems Sources of Asynchrony ● Different delays: Assumption of independent network connections imposes different delays. ● Network jitter: asynchronous data transfer destroys synchrony. ● End-system jitter: packetizing and depacketizing of media data units with different size due to encoding introduces jitter as well as passing media units through the lower protocol layers. ● Clock drift between the clocks in the servers and in the client is present because we do not assume global clocks. ● Change of the average delay: the synchronization scheme has to be adaptive with respect to a change of the average delay. ● Server drop outs: due to process scheduling are a realistic assumption when using non-real-time operating systems.

E0262 MIS - Multimedia Playback Systems Types of Synchronization ● Time based synchronization ● To synchronize and to disseminate multimedia data using time as a major parameter ● Synchronization is achieved by mean of electronic time signals generated ad hoc by devices directly connected to a primary time standard and transmitted by radio or by cable. ● Time signals classes: video or sound signals (called right time signals) for low accuracy manual synchronization, digital signals for automatic synchronization with medium-high accuracy ● Passive synchronization techniques: Do not use a time signal generated ad hoc, instead it is used a signal generated for other purpose

E0262 MIS - Multimedia Playback Systems Types of Synchronization ● Delay based synchronization – Schemes compensate for these delays by computing well-defined starting times for each stream server of the application. – Allow to initiate the synchronized playback of a media stream that is composed of several multimedia streams. ● Jitter based synchronization – jitter is experienced by media units traveling from the source to the destination. – To smoothen out jitter, elastic buffers are required. – These schemes guarantee a smooth playback of the stream – very low buffer requirements.

E0262 MIS - Multimedia Playback Systems Intra-Stream Synchronization ● Audio and video streams are isochronous in nature. ● processing and network delay jitter (i.e., the variance in delay); ● variations in rates of recording and playback; and ● unreliable transmission of stream data units. ● Solutions: – buffer monitoring – feedback technique – global clock

E0262 MIS - Multimedia Playback Systems Inter-Stream Synchronization ● A temporal relationship may exist at the source between multiple continuous streams ● multiplexing of streams ● aggregation in one data structure ● global clocks ● synchronization marker ● synchronization channel ● feedback technique

E0262 MIS - Multimedia Playback Systems Spatial Synchronization ● all participants in the conference receive the audio and video data at the same time, to maintain a fair conference ● Based on global clocks synchronization channel or feedback techniques as proposed for inter-stream synchronization. ● When global clocks are available, mechanisms based on these clocks can achieve the most accurate spatial synchronization

E0262 MIS - Multimedia Playback Systems Synchronization Handlers ● roles : to identify the stakeholders involved, as well as the prohibition and policy concepts. ● Roles of these components in handling synchronization – Service provider – Network provider – End-user roles

E0262 MIS - Multimedia Playback Systems Service Provider ● Intra-stream synchronization: SP manipulates incoming audio/video streams so that outgoing streams are within the 10 ms jitter boundary; ● Inter-stream synchronization: SP will manipulate incoming audio/video streams so that related outgoing audio and video streams are within the -20 ms and +40 ms range; ● Spatial synchronization: SP is responsible for ensuring that outgoing audio/video streams are played out simultaneously at the multiple users within the 0.25 s boundary.

E0262 MIS - Multimedia Playback Systems Network Provider ● Compulsory network service: a transportation service with a deterministic service is provided ● Statistical reliable network service: a transportation service with a certain percentage of QoS violations is provided. ● Best effort network service: the request from a client for a certain transport service is evaluated against the current network traffic.

E0262 MIS - Multimedia Playback Systems End-User ● With respect to the display of audio and video it is important that the following requirements to be met: ● lip-synchronization is a well known requirement and should be in the -20 ms to +40 ms range; ● audio or video jitter should be within the range of 10 ms; ● loss of video frames or audio samples is tolerable when less than 1% of the total sent; ● spatial synchronization should be in the range of s to seconds.

E0262 MIS - Multimedia Playback Systems End-User ● compulsory end-user service: in this case the synchronization requirements must be met. ● statistical reliable end-user service: a certain percentage of violations of the synchronization requirements is allowed. ● best effort end-user service: possibilities to full the synchronization requirements are based on current processing and storage activities. ● User policies are often application dependent.

E0262 MIS - Multimedia Playback Systems Synchronization Methods ● Startup Synchronization ● Constant delay and zero jitter first n media units where t i indicates expected arrival time of the MDU i at the client-site and t 0 is the playout start time of the I o th stream ● Evaluation phase: round trip delays for each of the stream of the application are calculated, while ● Synchronization phase: the starting time for each server is calculated and transmitted back to the servers.

E0262 MIS - Multimedia Playback Systems Synchronization Methods ● Startup Synchronization ● Beginning of first phase Max of the round trip delay for all n substreams ● Second phase ● Difference between the arrival times of arbitrary media units

E0262 MIS - Multimedia Playback Systems Example of Startup Synchronization

E0262 MIS - Multimedia Playback Systems Example of Startup Synchronization

E0262 MIS - Multimedia Playback Systems Intra-Stream Synchronization ● Jitter based Intra-Stream Synchronization Worst case estimate for error and buffer req. ● Interdependencies:

E0262 MIS - Multimedia Playback Systems Inter-Stream Synchronization ● Inter-stream synchronization example that shows temporal relations in a multimedia presentation including audio, video, animation, and picture frames

E0262 MIS - Multimedia Playback Systems Inter-Stream Synchronizations ● Live Synchronization: Maintains the temporal relations as they existed during the capturing process ● Synthetic Synchronization: Temporal relations are artificially specified.

E0262 MIS - Multimedia Playback Systems Synchronization Reference Model

E0262 MIS - Multimedia Playback Systems

Synchronization Models ● The Temporal Synchronization Model

E0262 MIS - Multimedia Playback Systems

Synchronization Models ● Unix Synchronization Model

E0262 MIS - Multimedia Playback Systems

Object Data Stream Synchronization Technique ● Synchronization point is a point held by all participating media streams needing to be synchronized ● Synchronization points defined on the composite stream specify the places that synchronous presentation must be checked and maintained. ● Let ∆s i denote the maximum time interval that media m i can skip and d i denote the current delay time interval with the presentation of media stream m i. We then have the following situations:

E0262 MIS - Multimedia Playback Systems Deadline based Scheduling for Sync ● n MDUs in a multimedia document, set of m channels in network ● Effective bandwidth rate c j per channel and transit delay j, aggregate capacity is not sufficient to provide inter-stream and intra-stream synchronization without pre-fetching. ● If the i th MDU and playout deadline  i is scheduled for transmission on the j th channel at time  j, according to some scheduling policy, then its arrival time, a i, at the user site becomes

E0262 MIS - Multimedia Playback Systems Feedback Techniques for Sync ● The resynchronization policies are: ● Conservative: This scheme reacts only when playout of different streams is guaranteed to be asynchronous, ● Aggressive: In this approach the server reacts as soon as there is even a slight chance that playback is asynchronous ● Probabilistic: The server reacts on the average (assuming the network delay distributions and playout rate variations are known).

E0262 MIS - Multimedia Playback Systems Virtual Local Time ● Virtual local time ● Does not rely on a synchronized network clock, which is not always feasible to procure on the Internet, ● Can be implemented with a minimum overheads, and ● Can produce a reasonably good quality even when the network delay jitter is very high.

E0262 MIS - Multimedia Playback Systems Different Playout Strategies

E0262 MIS - Multimedia Playback Systems

Synchronized multicast media streaming framework