Synchronized Multimedia Integration Language (SMIL) Boston Specification
Total Page:16
File Type:pdf, Size:1020Kb
Synchronized Multimedia Integration Language (SMIL) Boston Specification Synchronized Multimedia Integration Language (SMIL) Boston Specification W3C Working Draft 25 February 2000 This version: http://www.w3.org/TR/2000/WD-smil-boston-20000225 (Other formats: single PostScript file, single PDF file, zip archive) Latest version: http://www.w3.org/TR/smil-boston Previous version: http://www.w3.org/TR/1999/WD-smil-boston-19991115 Editors: Jeff Ayars (RealNetworks), Dick Bulterman (Oratrix), Aaron Cohen (Intel), Erik Hodge (RealNetworks), Philipp Hoschka (W3C), Eric Hyche (RealNetworks), Ken Day (Macromedia), Kenichi Kubota (Panasonic), Rob Lanphier (RealNetworks), Nabil Layaïda (INRIA), Philippe Le Hégaret (W3C), Thierry Michel (W3C), Jacco van Ossenbruggen (CWI), Lloyd Rutledge (CWI), Bridie Saccocio (RealNetworks), Patrick Schmitz (Microsoft), Warner ten Kate (Philips), Ted Wugofski (Gateway). Copyright ©2000 W3C® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Abstract This document specifies the "Boston" version of the Synchronized Multimedia Integration Language (SMIL, pronounced "smile"). SMIL Boston has the following two design goals: Define a simple XML-based language that allows authors to write interactive multimedia presentations. Using SMIL Boston, an author can describe the temporal behavior of a multimedia presentation, associate hyperlinks with media objects and describe the layout of the presentation on a screen. Allow reusing of SMIL syntax and semantics in other XML-based languages, in particular those who need to represent timing and synchronization. For example, SMIL Boston components should be used for integrating timing into XHTML [XHTML10]. 1 24 Feb 2000 08:26 Synchronized Multimedia Integration Language (SMIL) Boston Specification Status of this document This section describes the status of this document at the time of its publication. Other documents may supersede this document. The latest status of this document series is maintained at the W3C. This document is the third Working Draft of the specification for the next version of SMIL code-named "Boston". It has been produced as part of the W3C Synchronized Multimedia Activity. The document has been written by the SYMM Working Group (members only). The goals of this group are discussed in the SYMM Working Group charter (members only). Many parts of the document are still preliminary, and do not constitute full consensus within the Working Group. Also, some of the functionality planned for SMIL Boston is not contained in this draft. Many parts are not yet detailed enough for implementation, and other parts are only suitable for highly experimental implementation work. At this point, the W3C SYMM WG seeks input by the public on the concepts and directions described in this specification. Please send your comments to [email protected]. Since it is difficult to anticipate the number of comments that come in, the WG cannot guarantee an individual response to all comments. However, we will study each comment carefully, and try to be as responsive as time permits. This working draft may be updated, replaced or rendered obsolete by other W3C documents at any time. It is inappropriate to use W3C Working Drafts as reference material or to cite them as other than "work in progress". This document is work in progress and does not imply endorsement by the W3C membership. 24 Feb 2000 08:26 2 Synchronized Multimedia Integration Language (SMIL) Boston Specification A list of current W3C Recommendations and other technical documents can be found at http://www.w3.org/TR. Quick Table of Contents 1. About SMIL Boston . 15. 2. Synchronized Multimedia Integration Language (SMIL) Modules . 19. 3. The SMIL Animation Module . 31. 4. SMIL Content Control . 67. 5. SMIL Layout Module . 81. 6. The SMIL Linking Module . 95. 7. The SMIL Media Object Module . 109. 8. The SMIL Metadata Module . 123. 9. SMIL Structure Module . 129. 10. The SMIL Timing and Synchronization Module . 135. 11. Integrating SMIL Timing into Other XML-Based Languages . 233. 12. The SMIL Transition Effects Module . 255. 13. The SMIL Document Object Model Module . 275. 14. SMIL Boston Language Profile . 277. 15. HTML+SMIL Language Profile . 287. 16. Requirements for a SMIL Basic Profile . 299. 17. Baseline Media Formats . 305. Appendix A. References . 309. 3 24 Feb 2000 08:26 Synchronized Multimedia Integration Language (SMIL) Boston Specification Full Table of Contents 1. About SMIL Boston . 15. 1.1 Introduction . 15. 1.2 Acknowledgements . 16. 2. Synchronized Multimedia Integration Language (SMIL) Modules . 19. 2.1 Introduction . 19. 2.2 SMIL Modules . 20. 2.2.1 Animation Module . 21. 2.2.2 Content Control Module . 21. 2.2.3 Layout Module . 22. 2.2.4 Linking Module . 22. 2.2.5 Media Object Module . 23. 2.2.6 Metainformation Module . 23. 2.2.7 Structure Module . 23. 2.2.8 Timing and Synchronization Module . 24. 2.2.9 Transition Effects Module . 25. 2.3 Isomorphism . 25. 2.4 Multimedia Profiles . 27. 2.4.1 Lightweight Presentations Profile . 27. 2.4.2 SMIL-Boston Profile . 27. 2.4.3 SMIL-Basic Profile . 28. 2.4.4 HTML+SMIL Profile . 28. 2.4.5 Web Enhanced Media Profile . 28. 3. The SMIL Animation Module . 31. 3.1 Introduction . 31. 3.2 Overview and terminology . 32. 3.2.1 Basics of animation . 32. 3.2.2 Animation function values . 33. 3.2.3 Symbols used in the semantic descriptions . 34. 3.3 Animation model . 34. 3.3.1 Specifying the animation target . 35. The Target attribute . 35. The Target element . 36. 3.3.2 Specifying the animation function f(t) . 37. Interpolation and indefinite simple durations . 39. Animation function calculation modes . 40. Examples . 42. 3.3.3 Specifying the animation effect F(t) . 44. Repeated animations . 44. Examples . 44. Controlling behavior of repeating animation - Cumulative animation . 45. 24 Feb 2000 08:26 4 Synchronized Multimedia Integration Language (SMIL) Boston Specification Freezing animations . 46. Additive animation . 48. How from, to and by attributes affect additive behavior. 50. Additive and Cumulative animation . 51. Restarting animations . 52. 3.3.4 Handling syntax errors . 52. 3.3.5 The animation sandwich model . 52. 3.3.6 Implications of Timing Model for animation . 55. 3.3.7 Animation function value details . 56. 3.4 Animation elements . 57. 3.4.1 Common syntax DTD definitions . 57. 3.4.2 The animate element . 58. 3.4.3 The set element . 58. 3.4.4 The animateMotion element . 59. 3.4.5 The animateColor element . 62. 3.5 Integrating SMIL Animation into a host language . 63. 3.5.1 Required host language definitions . 63. 3.5.2 Required definitions and constraints on animation targets . 64. Specifying the target element . 64. Target attribute issues . 64. Integrating animateMotion functionality . 65. Example: SVG . 65. 3.5.3 Constraints on manipulating animation elements . 65. 3.5.4 Extending animation . 66. 3.5.5 Error handling semantics . 66. 3.5.6 SMIL Animation namespace . 66. 4. SMIL Content Control . 67. 4.1 Introduction . 67. 4.2 Content Selection . 67. 4.2.1 The <switch> Element . 68. 4.2.2 Predefined Test Attributes . 68. 4.2.3 System Test Attribute In-Line Use . 73. 4.2.4 User Groups . 75. The <user_attributes> element . 75. The <u_group> element . 75. The u_group attribute . 75. 4.3 Presentation Priority/Grouping . 77. 4.4 User-Centered Adaptation . 77. 4.5 Presentation Optimization . 77. 4.5.1 The <prefetch> element . 77. The mediaSize, mediaTime, and bandwidth Attributes . 78. Attribute value syntax . 79. Examples . 79. 5 24 Feb 2000 08:26 Synchronized Multimedia Integration Language (SMIL) Boston Specification 4.6 Open Issues . 80. 5. SMIL Layout Module . 81. 5.1 Introduction . 81. 5.2 Brief overview of SMIL basic layout . 81. 5.3 Extensions to SMIL 1.0 Basic Layout . 82. 5.3.1 Multiple Top-Level Window Support . 83. 5.3.2 Hierarchical Region Layout . 84. 5.4 SMIL basic layout syntax and semantics . 84. 5.4.1 Elements and attributes . 84. The <layout> element . 85. The <region> element . 86. The <root-layout> element . 90. The <top-layout> element . 91. The region attribute . 92. 5.4.2 SMIL basic layout language details . 92. 5.5 Differences from SMIL 1.0 basic layout . 94. 5.6 Open Issues . 94. 6. The SMIL Linking Module . 95. 6.1 Introduction . 95. 6.2 Linking into SMIL documents . 95. 6.2.1 Error handling . 96. 6.3 Link Elements . 96. 6.3.1 Handling of Links in Embedded Documents . 96. 6.3.2 The <a> Element . 97. 6.3.3 The <area> Element . 102. 7. The SMIL Media Object Module . 109. 7.1 Introduction . 109. 7.2 The ref, animation, audio, img, video, text and textstream elements . 109. 7.2.1 Element Attributes . 109. abstract . 110. alt . 110. author . 110. begin . 110. clipBegin (clip-begin) . 110. clipEnd (clip-end) . 112. copyright . 112. longdesc . 112. port . 112. readIndex . 113. rtpformat . 113. src . 113. stripRepeat . 114. 24 Feb 2000 08:26 6 Synchronized Multimedia Integration Language (SMIL) Boston Specification title . 114. transport . 114. type . 114. xml:lang . 115. 7.2.2 Element Content . 115. 7.2.3 Media object initialization: the param element . 115. Attribute definitions . 115. name . 115. value . 115. valuetype . 115. type . 116. Element Description . 116. 7.2.4 The rtpmap element . 117. Attributes . 117. payload . 117. encoding . 117. 7.3 Support for media player extensions . 118. 7.3.1 Appendix A: Changes to SMIL 1.0 Media Object Attributes . 118. clipBegin, clipEnd, clip-begin, clip-end . 118. Handling of new clipBegin/clipEnd syntax in SMIL 1.0 software 119. SDP Attributes . 120. stripRepeat . 121. 7.3.2 Appendix B: Element Content . 121. 7.3.3 Appendix C: New sections . 121. The param element . 121. The rtpmap element . 121. Support for media player extensions . 121. 7.3.4 Appendix D: Backburner . 121. 8. The SMIL Metadata Module .