CS 414 - Spring 2012 CS 414 – Multimedia Systems Design Lecture 26 – Synchronization Issues Klara Nahrstedt Spring 2012.

Slides:



Advertisements
Similar presentations
1 Quality of Service Issues Network design and security Lecture 12.
Advertisements

Multimedia Synchronization Brian P. Bailey Spring 2006.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 14 – Introduction to Multimedia Resource Management Klara Nahrstedt Spring 2012.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 27 – DASH (Dynamic Adaptive Streaming over HTTP) Klara Nahrstedt Spring 2012.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 15 –QoS Admission, QoS Negotiation, and Establishment of AV Connections Klara Nahrstedt.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Session Protocols Klara Nahrstedt Spring 2011.
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.
Streaming Video over the Internet: Approaches and Directions Dapeng Wu, Yiwei Thomas Hou et al. Presented by: Abhishek Gupta
Multimedia- and Web-based Information Systems Lecture 3.
SWE 423: Multimedia Systems
SCA Introduction to Multimedia
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.
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.
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
Enabling Workflow in UPnP Networks Andreas BobekUniversity of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek, Hendrik Bohn,
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.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
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.
CHAPTER TEN AUTHORING.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 22 – Multimedia Session Protocols Klara Nahrstedt Spring 2012.
1 Mpeg-4 Overview Gerhard Roth. 2 Overview Much more general than all previous mpegs –standard finished in the last two years standardized ways to support:
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
MP 2: Audio/ Video Streaming
Real Time Protocol (RTP) 김 준
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 21 – Case Studies for Multimedia Network Support (Layer 3) Klara Nahrstedt Spring 2009.
CMPE 150 – Winter 2009 Lecture 19 March 12, 2009 P.E. Mantey.
Streaming Media Control n The protocol components of the streaming n RTP/RTCP n RVSP n Real-Time Streaming Protocol (RTSP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Chapter 28. Network Management Chapter 29. Multimedia
Of 50 E GOV Universal Access Ahmed Gomaa CIMIC Rutgers University.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 25 – Synchronization Issues Klara Nahrstedt Spring 2012.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 40 – Final Exam Review Session Klara Nahrstedt Spring 2010.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 33 – Synchronization (Part 1) Klara Nahrstedt Spring 2011.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 22 – Multimedia Session Protocols Klara Nahrstedt Spring 2014.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 20 – Multimedia Session Protocols Klara Nahrstedt Spring 2012.
Introduction to Interactive Media Interactive Media Tools: Authoring Applications.
MP 2: Audio/ Video Streaming CS414: Multimedia System Instructor: Klara Nahrstedt March 16, 2012.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 31 – Media Server (Part 1) Klara Nahrstedt Spring 2012.
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.
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.
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.
Networks Standardisation & Protocols. Learning Objectives Explain the advantages of standardisation and describe some areas of standardisation such as.
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.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 24 – Multimedia Session Protocols Klara Nahrstedt Spring 2014.
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2012
CSI-447: Multimedia Systems
Klara Nahrstedt Spring 2010
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2012
Klara Nahrstedt Spring 2010
Klara Nahrstedt Spring 2014
Multimedia Authoring Tools
Implementation support
Implementation support
Presentation transcript:

CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 26 – Synchronization Issues Klara Nahrstedt Spring 2012

Administrative MP2 posted MP2 Deadline – April 7, Saturday, 5pm. CS Spring 2012

Covered Aspects of Multimedia Image/Video Capture Media Server Storage Transmission Compression Processing Audio/Video Presentation Playback Audio/Video Perception/ Playback Audio Information Representation Transmission Audio Capture A/V Playback Image/Video Information Representation CS Spring 2012

Internet Multimedia Protocol Stack CS Spring 2012 AAL3/4 IP Version 4, IP Version 6 UDP Media encaps (H.264, MPEG-4) RTP ATM/Fiber Optics Ethernet/WiFi TCP SIP RTSPRSVPRTCP AAL5 KERNEL APPLICATION Layer 4 (Transport) Layer 3 (Network) Layer 2 (Link/MAC) Layer 5 (Session) MPLS DCCP DASH HTTP Synchronization Service

Outline Synchronization Specification  Interval-based Specification  Timeline Specification  Control Flow based Specification  Event-based Specification CS Spring 2012

Requirements on Synchronization Specs Object consistency and maintenance of sync specifications  Media objects should be kept as one LDU in spec Temporal relations must be specify-able Easy Description of Sync Relations Definition of QoS requirements Integration of time-dependent and independent media Hierarchical levels of synchronization CS Spring 2012

Sync Spec Models Interval Timeline Flow-control  Hierarchical  Reference points Event-based Common threads  provide language to express relationships  runtime system to monitor relationships  policies to enforce relationships CS Spring 2012

Interval-based Specification (1) Presentation duration of an object is specified as interval Types of temporal relations:  A before B, A overlaps B, A starts B, A equals B, A meets B, A finishes B, A while B Enhanced interval-based model includes 29 interval relations, 10 operators handle temporal relations (e.g., before(δ1),…) CS Spring 2012

Interval Model (2) 13 relationships between two intervals Before A B Meets A B While A B Overlaps A B Starts A B Ends A B Equal A B CS Spring 2012

Example (3) Audio1 while(0,0) Video Audio1 before(0) RecordedInteraction RecordedInteraction before(0) P1 P1 before(0) P2 P2 before(0) P3 P3 before(0) Interaction P3 before(0) Animation Animation while(2,5) Audio2 Interaction before(0) P4 CS Spring 2012

Interval-based Specification (4) Advantages:  Easy to handle open LDUs (i.e., user interactions)  Possible to specify additional non- deterministic temporal relations by defining intervals for durations and delays  Flexible model that allows specification of presentations with many run-time presentation variations CS Spring 2012

Interval-based Specification (5) Disadvantages:  Does not include skew spec  Does not allow specification of temporal relations directly between sub-units of objects  Flexible spec leads to inconsistencies Example: A NOT in parallel with B A while(2,3) I I before(0) B CS Spring 2012

Timeline Axis-based Specification Presentation events like start and end of presentation are mapped to axes that are shared by presentation objects All single medium objects are attached to time axis that represents abstraction of real-time This sync specification is very good for closed LDUs CS Spring 2012

Timeline Model (2) Uses a single global timeline Actions triggered when the time marker reaches a specific point along timeline CS Spring 2012

Example (3) Define a timed sequence of images, each image has a caption that goes with it I1I1 C1C1 t1t1 I2I2 C2C2 t2t2 I3I3 C3C3 t3t3 CS Spring 2012

Example (4) Rule language  At (t1), show (I1, C1)  At (t2), show (I2, C2)  At (t3), show (I3, C3) Visual environment CS Spring 2012

Control Flow-based Spec - Hierarchical Model (1) Possibility to specify concurrent presentation threads at predefined points of presentation Basic hierarchical spec types:  Serial synchronization  Parallel synchronization of actions Actions: atomic or compound  Atomic action handles presentation of single media object, user input, delay  Compound actions are combinations of sync operators and atomic actions  Delay is atomic action – allows modeling of delays in serial presentations CS Spring 2012

Hierarchical Model (SMIL) Based on sequential and parallel Apply operators to only the start/end points of each media object I1I2I3I1T1 CS Spring 2012

Example (3) Narrated slide show  image, text, audio on each slide  select link to move to the next slide S1A1T1 … I1 S2A2T2I2 CS Spring 2012

Example (4) (and Comparison with Interval- based Spec) CS Spring 2012 Audio1 while(0,0) Video Audio1 before(0) RecordedInteraction RecordedInteraction before(0) P1 P1 before(0) P2 P2 before(0) P3 P3 before(0) Interaction P3 before(0) Animation Animation while(2,5) Audio2 Interaction before(0) P4

Control Flow-based Spec – Hierarchy (5) Advantages  Easy to understand  Natural support for hierarchies  Integration of interactive object easy Disadvantage  Need additional descriptions of skews and QoS  No duration description CS Spring 2012

Control Flow-based Spec – Reference Points (1) Time-dependent single medium objects are regarded as sequences of closed LDUs Start/stop times of object presentation are reference points Connected reference point is synchronization point Temporal relations specified between objects without explicit reference to time CS Spring 2012

Example (2) CS Spring 2012

Control Flow-based Spec – Reference Points (3) Advantages:  Sync at any time during presentation of objects  Easily integrated object presentation with unpredictable duration  Intuitive type of synchronization spec Disadvantages:  Not easy way to detect inconsistencies  Cannot specify delays in presentation CS Spring 2012

Event-based Specification Presentation actions initiated by synchronization events Example:  Start presentation  Stop presentation  Prepare presentation Events initiating presentation  External or internal CS Spring 2012

Event-based Spec Advantage:  Easily extended to new sync types  Easy integration of interactive objects Disadvantage:  Difficult to handle in case of realistic scenarios  Too complex specification  Need separate description of skew/QoS  Difficult use of hierarchies CS Spring 2012

Associate actions with expressions Expressions may contain scalars, clocks, variables, relations, and connectives When the expression becomes TRUE, invoke associated action When “Time > Q.end + 5 && !Response” Answer=WRONG Event Model (Nsync) Source: B. Bailey et al. “Nsync- A Toolkit for Building Interactive Multimedia Presentations”, ACM Multimedia 1998 CS Spring 2012

Overview No Yes MoreInfo? DetailedNarration More Info Example: Delayed Transition CS Spring 2012

Model Specification When “Narration >= Overview && ! MoreInfo” NextSlide When “Narration >= Overview && MoreInfo” PlayDetails When “Narration >= Overview + Details” NextSlide Narration : narration’s logical timeline Overview : normal transition point Details : additional narrative details MoreInfo : records kitchen info status CS Spring 2012

Reactive Interface CS Spring 2012

Model Specification When “Video >= 0 && Video < T1” Select Kitchen When “Video >= T1 && Video < T2” Select Deck When “Video >= T2 && Video <= T3” Select Yard CS Spring 2012

Synchronization/Editing Tool in CS/UIUC Vegas Video CS Spring 2012

Conclusion Synchronization Specifications  Important for different authoring tools for complex presentation  Be careful as you go from one spec to another  Carefully consider which spec closest allows you to specify sync requirements in your application CS Spring 2012