CS 414 - Spring 2011 CS 414 – Multimedia Systems Design Lecture 33 – Synchronization (Part 1) Klara Nahrstedt Spring 2011.

Slides:



Advertisements
Similar presentations
Chapter 4: Communication*
Advertisements

CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (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.
T.Sharon-A.Frank 1 Multimedia Quality of Service (QoS)
Communicating Information : Multimedia. Sights and sounds Combine all or some together and you get… multimedia.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 15 –QoS Admission, QoS Negotiation, and Establishment of AV Connections Klara Nahrstedt.
1 Synchronization TTM4142, 2007 Harald Øverby/Leif Arne Rønningen.
Page 15/20/2015 CSE 40373/60373: Multimedia Systems Notion of Synchronization  Sync in correspondence to  Content relation  Spatial relation  Temporal.
Multimedia- and Web-based Information Systems Lecture 3.
EE442—Multimedia Networking Jane Dong California State University, Los Angeles.
Una DooneyMultimediaSlide 1 What is Multimedia? A combination of different media types such as text, graphics, audio, video and animation etc in a single.
SWE 423: Multimedia Systems Chapter 7: Data Compression (1)
The Effectiveness of a QoE - Based Video Output Scheme for Audio- Video IP Transmission Shuji Tasaka, Hikaru Yoshimi, Akifumi Hirashima, Toshiro Nunome.
Definition and Aspects
CS533 - Concepts of Operating Systems
Microsoft Office Illustrated Inserting Illustrations, Objects, and Media Clips.
E GOV Universal Access Ahmed Gomaa CIMIC Rutgers University.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Introducing MagicInfo Videowall 2
Application Software.  Topics Covered:  Software Categories  Desktop vs. Mobile Software  Installed vs. Web-Based Software.
Software and Multimedia
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 32 – Media Server (Part 2) Klara Nahrstedt Spring 2012.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 34 – Synchronization (Part 2) Klara Nahrstedt Spring 2011.
Chapter II The Multimedia Sysyem. What is multimedia? Multimedia means that computer information can be represented through audio, video, and animation.
IEEE Region 10 Expanding the reach of Distinguished Lecture Training Programmes via the Internet.
Discovering Computers 2010 Chapter 2 The Internet and World Wide Web.
Integrating Educational Technology into the Curriculum
Page 19/21/2015 CSE 40373/60373: Multimedia Systems Reference Models  We need reference models to  Understand various requirements for multimedia sync.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 28 – Final Comments on DASH and Client-Server Buffer Management Klara Nahrstedt Spring.
Uttam Singh Bist. Multimedia- Definitions Multi - many; much; multiple Medium- a substance regarded as the means of transmission of a force or effect;
Course Title: M.M.T Chapter No: 01 “Introduction to Multimedia”
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 26 – Synchronization Issues Klara Nahrstedt Spring 2012.
Multimedia Web Design Professor Frank. Multimedia Combine text, graphics, sounds, and moving images in meaningful ways Use stable technology.
The Way Forward Factors Driving Video Conferencing Dr. Jan Linden, VP of Engineering Global IP Solutions.
Vclass Presentation Component Kanchana Kanchanasut, DEC Director Dr. Akavute Sujare, DEC Consultant Mr. Chaiwarat Chaiyapotpanit, Project Manager Distance.
MP 2: Audio/ Video Streaming
EFFECTIVELY INTEGRATING SUPPORT TOOLS, MULTIMEDIA AND HYPERMEDIA INTO TEACHING AND LEARNING.
E0262 MIS - Multimedia Playback Systems Prof Pallapa Venkataram, Electrical Communication Engineering, Indian Institute of Science, Bangalore – ,
MULTIMEDIA Hardware 4/24/2017.
Of 50 E GOV Universal Access Ahmed Gomaa CIMIC Rutgers University.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
Temporal relationships.. What is meant by temporal relationship ? Temporal (timing) relationships are important in a multimedia presentation. Ex: A speaker’s.
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.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 31 – Media Server (Part 1) Klara Nahrstedt Spring 2012.
Exploring Many-to-One Speech-to-Text Correlation for Web-Based Language Learning Presented by: Poonam Khathuria Authors: HERNG-YOW CHEN SHENG-WEI LI.
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 Synchronization I. Fatimah Alzahrani. Definitions Multimedia System : A system or application that supports the integrated processing of several.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
Introduction to Quality of Service Klara Nahrstedt CS 538.
Introduction to Multimedia. What is Multimedia? Derived from the word “Multi” and “Media” Multi Many, Multiple, Media Tools that is used to represent.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 24 – Client-Server Buffer Management Klara Nahrstedt Spring 2011.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 27 – Media Server (Part 2) Klara Nahrstedt Spring 2009.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 35 – Synchronization (Part 3) Klara Nahrstedt Spring 2010.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 34 – Synchronization (Part 2) Klara Nahrstedt Spring 2009.
Klara Nahrstedt Spring 2009
Introduction to Multimedia
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2010
CS 598kn – Multimedia Systems Design Synchronization Issues
Inserting Graphics, Media, and Objects
Pre-Production Determine the overall purpose of the project.
Software and Multimedia
Software and Multimedia
Overview What is Multimedia? Characteristics of multimedia
PRODUCTION PHASES CHANGES
Presentation transcript:

CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 33 – Synchronization (Part 1) Klara Nahrstedt Spring 2011

Administrative MP3 is ongoing ‘mi-clicker’ experiment is ongoing CS Spring 2011

Outline Synchronization Concept Synchronization Classification Logical Data Units Live vs Synthetic Synchronization Synchronization Requirements CS Spring 2011

Notion of Synchronization Sync in correspondence to  Content relation  Spatial relation  Temporal relation Content Relation  Define dependency of media objects for some data  Example: dependency between spreadsheet and graphics that represent data listed in spreadsheet CS Spring 2011

Spatial Relation Layout relation  Defines space used for presentation of media object on output device at certain point of multimedia presentation  Example: desktop publishing Layout frames  Placed on output device and content assigned to frame  Positioning of layout frames: Fixed to position of document Fixed to position on page Relative to position of other frame  Example: in window-based system, layout frames correspond to windows and video can be positioned in window CS Spring 2011

Temporal Relation (Our focus!!!) Defines temporal dependencies between media objects Example: lip synchronization Time-dependent object  Media stream since there exist temporal relations between consecutive units of the stream Time-independent object  Traditional medium such as text or images Temporal synchronization  Relation between time-dependent and time-independent objects  Example: audio/video sync with slide show CS Spring 2011

Temporal Relations Synchronization considered at several levels of Multimedia Systems Level 1: OS and lower level communication layers  CPU scheduling, semaphores during IPC, traffic shaping network scheduling  Objective: avoid jitter at presentation time of one stream Level 2: Middleware/Session layer (Run-time)  Synchronization of multimedia streams (schedulers)  Objective: bounded skews between various streams Level 3: Application layer (Run-time)  Support for synchronization between time-dependent and time- independent media together with handling of user interaction  Objective: bounded skews between time-dependent and time- independent media CS Spring 2011

Synchronization Tools CS Spring 2011

Synchronization Specification Implicit  Temporal relation specified implicitly during capturing of media objects  Goal: use this temporal relation to present media in the same way as they were originally captured  Example: Audio and Video recording and playback Explicit  Temporal relation specified explicitly to define dependency in case media objects were created independently  Example: creation of slide show Presentation designer  selects slides,  creates audio objects,  defines units of audio presentation stream,  defines units of audio presentation stream where slides have to be presented CS Spring 2011

Logical Data Units and their Classification Time-dependent presentation units are called logical data units (LDU)s. LDU classification  Open  Closed LDUs important  In specification of synchronization CS Spring 2011

Synchronization Classification Intra-object Synchronization  Time relation between various presentation units of one time- dependent media stream Inter-object Synchronization  Time relation between media objects belonging to two dime dependent media streams CS Spring 2011

Synchronization Classification Live Synchronization  Goal: exactly reproduce at presentation temporal relations as they existed during capturing process  Requirement: must capture temporal relation information during media capturing  Example: video conference, phone service  Example: recording and retrieval services – presentations with delay CS Spring 2011

Synchronization Classification Synthetic Synchronization  Goal: arrange stored data objects to provide new combined multimedia objects via artificial temporal relations  Requirements: support flexible synchronization relations between media  Example: authoring, tutoring systems Two phases:  Specification phase – define temporal relations  Presentation phase – present data in sync mode Example:  4 audio messages recorded related to parts of engine in animation. Animation sequence shows a slow 360 degree rotation of engine CS Spring 2011

Synchronization Requirements during media presentations For intra-object synchronization  Need accuracy concerning jitter and EED delays in presentation of LDUs For inter-object synchronization  Need accuracy in parallel presentation of media objects Implication of blocking:  O.K. for time-independent media  Problem for time-dependent media – gap problem CS Spring 2011

Gap Problem in Synchronization What does blocking of stream mean for output device?  Should we repeat previous music, speech, picture?  How long should such gap exist? Solution 1: restricted blocking method  Switch output device to last picture as still picture  Switch output device to alternative presentation if gap between late video and audio exceeds predefined threshold Solution 2: resample stream  Speed up or slow down streams  Off-line re-sampling – used after capturing of media streams with independent streams Example: concert which is captured with two independent audio/video devices  Online re-sampling – used during presentation in case gap between media streams occurs CS Spring 2011

Lip Synchronization Temporal relation between audio and video Synchronization skew  Time difference between related audio and video LDUs Streams in sync iff skew = 0 or skew ≤bound Negative skew: video before audio Positive skew: Audio before video CS Spring 2011

Lip Synchronization CS Spring 2011 Perception of Synchronization ErrorsSkew Level found to be annoying

Lip Synchronization Requirements In sync:  -80ms ≤ skew ≤ 80ms Out of sync:  Skew < -160ms  Skew > 160ms Transient:  -160ms ≤ skew < -80ms  80ms < skew ≤ 160ms CS Spring 2011

Pointer Synchronization CS Spring 2011 Pointer Sync based on technical drawingPointer Sync based on map

Pointer Synchronization CS Spring 2011 Negative skew: pointer before audio Positive skew: pointer after audio

Pointer Synchronization Requirements In sync:  -500ms ≤ skew ≤ 750ms Out of sync:  Skew < -1000ms  Skew > 1250ms Transient sync situation:  -1000ms ≤ skew < -500ms  750ms < skew ≤ 1250ms CS Spring 2011

Other Sync Requirements Jitter delay of digital audio  Max. allowable jitter: 5-10 ns (perception experiments) 2 ms (other experiments) Combination of audio and animation  Not stringent as lip sync  Max allowable skew: +/- 80ms Stereo audio  Tightly coupled  Max allowable skew: 20 ms  Due to listening errors, suggestion even +/- 11ms Loosely coupled audio channels (speaker and background music)  Max allowable skew: 500ms CS Spring 2011

Conclusion Carefully analyze what kind of synchronization is needed in your multimedia system and application Determine at which level you need synchronization Determine what the synchronization requirements should be based on prior experiments CS Spring 2011