Download presentation
Presentation is loading. Please wait.
Published byGabriella Washington Modified over 9 years ago
1
09/01/2016BELKHIR ABDELKADER Le Langage SMIL Belkhir Abdelkader Laboratoire LSI USTHB belkhir@lsi-usthb.dz
2
09/01/2016 n SMIL ? SMIL : Synchronized Multimedia Integration Language SMIL is pronounced "smile" SMIL is a language for describing audiovisual presentations SMIL is written in XML SMIL presentations can be written using a text-editor SMIL is a W3C standard
3
09/01/2016 Langage déclaratif permettant de: – Spécifier des présentations qui incluent divers médias (locaux, distants) – Synchroniser ces éléments – Créer des présentations interactives pouvant s’adapter à plusieurs paramètres (Vitesse de connexion, langue de l’utilisateur,…)
4
Informations Spatiales 4 Document SMIL Meta-données + Éléments multimédias = Informations Temporelles Informations hypermédias
5
5 Éléments de présentation Éléments composites Attributs de synchronisation Objets discrets Objets continus par seq begin end dur L’aspect temporel dans SMIL
6
09/01/2016 Since SMIL is based on XML The element is used to store information about the presentation layout and other meta information. The element contains the media elements
7
Seq et Par The and elements, defined since the first version SMIL 1.0, are the basis of the SMIL temporal model. The element 09/01/2016
8
element defines a parallel grouping in which multiple elements can be played at the same time The element 09/01/2016
9
There are three termination behaviors of the element according to the value of the “endsync” attribute which could be associated with the element. Legal values for the attribute are 'last', 'first‘ 'id-value'. 09/01/2016
10
-The 'last' value requires to end with the last end of all the child elements. -The 'first' value requires to end with the earliest end of all the child elements. -The 'id-value' value requires to end with the specified child. 09/01/2016
11
Time attribute SMIL Timing also provides attributes that can be used to specify an element's timing behavior: – The begin attribute specifies the explicit begin of an element. – The end attribute specifies the explicit end of an element. – The dur attribute specifies the explicit duration of an element. 09/01/2016
12
The effect of time attributes 09/01/2016
13
Min, max attributes The min attribute defines the minimum value of the active duration of an element, whereas the max attribute defines the maximum value of the active duration. 09/01/2016
14
Time Conflict Definition The time conflict is one type of temporal inconsistency, it is defined in [10] as the case of conflicting values of attributes in the SMIL specification. Two types of time conflicts are defined: - The intra-element time conflict is the case of conflicting attributes within a single element, - The inter-elements time conflict is the case ofconflicting attributes among different elements. 09/01/2016
15
The Hierarchical SMIL-Net (H-SMIL-Net) model The Hierarchical SMIL-Net (H-SMIL-Net) model inherits most of temporal elements defined in SMIL- Net. 09/01/2016
16
SMIL-Net Components Places - The regular place represents the active entity of the system; it is used to model a media object and its internal duration. - The virtual place represents a time delay, it is used to model the temporal attributes begin, end and dur. 09/01/2016
17
SMIL-Net Components Transitions The set of transitions defined in SMIL-Net models the different termination semantics of SMIL elements: – The simple transition fires when the delays associated to all its input places are finished. It models the termination of a simple element, a element, or a element with a "last" semantic. – The Master transition fires when the delay associated to one particular input place, designed by a master arc (designating the Master element), is finished. It represents the termination of the < with a "Master" semantic. 09/01/2016
18
Transitions Graphical representations of transitions 09/01/2016
19
SMIL-Net Components Arcs -The ordinary arc is used to transport tokens. -The master arc also transports tokens, but in addition it controls the firing of a master transition. 09/01/2016
20
example of SMIL-Net 09/01/2016
21
the Firing Time of SMIL-Net Transitions Simple transition: The firing time of the transition is the maximum value of the “firing time of the preceding transition” plus “the nominal duration of the following place of the preceding transition”. First transition: The firing time of the transition is the minimum value of the “firing time of the preceding transition” plus “the nominal duration of the following place of the preceding transition”. Master transition: The firing time of the transition is the value of the “firing time of the preceding transition” plus “the nominal duration of the place associated with a master arc”. 09/01/2016
22
Detection of Time Conflicts The Intra-element time conflict The intra-element time conflict is the case of conflicting attributes within the same element. n Therefore, to detect the intra-element time conflict, we only need to examine the values of attributes associated with a single element. It is easy to see that the case of B+D ≠ E results in an unreasonable physical meaning. 09/01/2016
23
The inter-elements time conflict The inter-elements time conflict is the case of conflicting attributes among different elements. 09/01/2016
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.