Unit 5 Part 2
Unit 5 Part 2
used.
Figure 5.1 Transmission of multimedia streams on a networked multimedia system
Transmitted information is viewed as a stream of multimedia objects. Two object
streams are shown in Figure 5.1. Stream (A) comprises type A objects : A1, A2, ….Am, Am+1, ….
Stream (B) comprises type B objects B1, B2, ….Bn, Bn+1, ….
The two multimedia streams A and B shown in Fig. can be written as follows.
Stream (A) := A1, A2, ….Am, Am+1, …. := Ψ(Ap)
Stream (B) := B1, B2, ….Bn, Bn+1, …. := Ψ(Bq)
Where Ap refers to any object in the Stream (A), and Ψ(Ap) refers to a sequence of type A
objects.
Similarly, Bq refers to any object in the Stream (B), and Ψ(Bq) refers to a sequence of
type – B objects. Temporal relationships arise out of the various types of interactions and
possible relationships between the objects in the Ψ(Ap) and Ψ(Bq) streams. In representing
temporal activities, t is used to represent time instants, ∆t is used to represent the difference
between two time instants, and T is used to represent time intervals.
5.2 CLASSIFICATION OF TEMPORAL RELATIONSHIPS
(b) Stored
(c) Mixed
a) Live Presentations
Presentations in which the information is captured, transmitted, and presented in real time
are called live presentations. A video conference is an example of a live presentation. Live
presentations demand minimum end-to-end delay.
b) Stored Presentations
A stored presentation is captured and stored on secondary storage systems such as
magnetic tape, disk, or CD-ROM. To display this information, it is retrieved from the
secondary storage system. There is no real-time constraint during the capture and storage
processes. During the retrieval process, however, the system demands strict temporal
relationships. Video on demand is an example of a stored and retrieved, nonlive
presentation.
c) Mixed Presentation
A mixed presentation uses a combination of live and stored information. A collaborative
conference is an example of a mixed presentation. One window on the computer screen
shows live pictures, while other windows are used to show stored information and user
interactions.
a) Asynchronous Media
In an Asynchronous system, there is no well-defined timing relationship between the
objects of one or more object stream (s). This synchrony can either be intrastream or
interstream. A well-known example of intrastream asynchronous communication is a user
typing text on a keyboard. Since no user can type at a constant rate the time gaps between
consecutive character vary.
Figure 5.2 shows two object streams : Stream (A) := Ψ(An) and Stream (B) := Ψ(Bn).
Three objects are shown for Stream (A), namely An-1, An, and An+1. The leading edges of these
objects occur at time instants t(An-1), t(An), and t(An+1) respectively. Similarly, the leading
edges of Stream (B) objects, Bn-1, Bn, and Bn+1 occur at t(Bn-1), t(Bn), and t(Bn+1) respectively.
two related objects from the two streams, such as An-1 and Bn-1 is represented by ∆t(An-1, Bn-1)
and is given by
∆t(An-1, Bn-1) = t(An-1) – t(Bn-1) (5.6)
The time gap between the leading edges of the next two related objects, such as A n
and Bn, is given by
∆t(An, Bn) = t (An) – t(Bn) (5.7)
When two streams are said to be asynchronous, it implies that the time gaps between
the objects in the two streams are non zero and not equal to each other, such as
∆t(An-1, Bn-1) ≠ ∆t(An, Bn) ≠ 0 (5.8)
For example, in a collaborative conference, one window may be used for live video,
and another window may be used for browsing through some text stored on a server. In this
case, the video stream and the text stream need not have any synchronization.
b) Synchronous Streams:
In synchronous multimedia, well-defined temporal relationships exist between the
objects. The term synchronous is derived from the Greek, meaning means same time.
The term synchronous is applicable mainly to the temporal relationship between two
different media stream; it is therefore an intermedia concept. Synchronous temporal
relationships are specified for multimedia object streams as they are captured, stored,
retrieved, transmitted, received and played back.
For interstream synchrony two (or more) object streams, say Stream (A) and Stream (B) in
Figure 5.2 - must be considered. Interstream synchrony implies that time gaps between
related objects are equal to a constant called Tconstant; that is
∆t(Bn-1, An-1) = ∆t(Bn, An) = ∆t(Bn+1, An+1) = Tconstant (5.10)
The most often-used meaning of synchrony is that the corresponding objects of the
two streams occur at the same time (Tconstant = 0), that is
∆t(Bn-1, An-1) = ∆t(Bn, An) = ∆t(Bn+1, An+1) = 0 (5.11)
A video clip, when played along with audio, is asynchronous media. Not only must the
sound and video streams play isochronously that is, at the correct rate, they must also be
synchronized to each other.
c) Isochronous Streams The term isochronous is also derived from the Greek, meaning
equal time. For isochronous streams – streams involving only intrastream synchrony –
only one object stream, say Stream (A), needs to be considered. An isochronous
stream has equal time gaps between consecutive object. This time is equal to the
period , Tperiod, of the stream; that is
∆t(An+1, An) = ∆t(An, An-1) = ∆t(An-1, An-2) = …. = Tperiod, (5.9)
A video clip played without sound is an isochronous media. If it was stored at 24f[s,
then it must be played back at 24 fps. It is not acceptable to play the video at 20 fps in one
second and the compensate by playing it at 28 fps in the next.
Synchronous and isochronous behaviors need not occur at the same time; it is possible
to have one without the other. It is possible for two media streams to work in lock-step
manner (i.e., synchronously) even if they are not isochronous (i.e., there is no fixed time
period between consecutive objects). For example, in a multimedia slide show each slide is
synchronized to some voice or music. This time allocated to each slide need not be the same.
It is also possible for the change over from one slide to the next to be controlled by the user,
making the slide presentation asynchronous. The two media in this slide show – still images
and sound – are synchronized, but neither of them is isochronous.
It is also possible to have two isochronous steams without having any synchronization
between them. For example, in a collaborative conference the users may be watching the live
video in one window and an animation in another. The live vide is likely to be running
between 20 and 30 fps. The animation may run between 15 and 20 fps. Both streams are
isochronous, but they are not synchronized to each other.
Many multimedia presentations do not need exact specification of when the various
media objects should appear; relative position of the interacting objects is more important.
Consider the example of an educational courseware called “Introduction to Multimedia”. It is
likely that in such a system a welcome screen appears first, followed by a voice message,
called the introduction message . A transition from the welcome screen to a menu screen
may be designed to overlap with the introduction message.
Such relative specifications are more important to this package than absolute timing
information. It is not even possible to specify exact timing information, because the time
taken for presenting various objects will vary from one computer to another. On the other
hand, the voice message must play isochronously regardless of the computer speed.
There are seven fundamental Relative Temporal Relationships (RTRs) between two
objects, as shown in Figure 5.3 (Allen, 1983). Each of the first six RTRs have inverse relations,
giving rise to six more RTRs. The inverse of the ‘equal’ relation is the same as the original
relation. This gives a total of thirteen unique RTRs.