+ All Categories
Home > Documents > SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them...

SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them...

Date post: 11-Sep-2019
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
25
SMIL Lecture 5 Part A Ing. Miloslav Nič Ph.D. letní semestr 2010-2011 BI-XML © Miloslav Nič, 2011 Evropský sociální fond Praha & EU: Investujeme do vaší budoucnosti
Transcript
Page 1: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

SMIL

● Lecture 5– Part A

Ing. Miloslav Nič Ph.D.letní semestr 2010-2011BI-XML© Miloslav Nič, 2011

Evropský sociální fond Praha & EU: Investujeme do vaší budoucnosti

Page 2: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

SMIL and media

● combine different media● make them accessible in a sequence or in

parallel● SMIL is often used as a domain specific

language in independent applications

Page 3: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Synchronized Multimedia Integration Language (SMIL)

● http://www.w3.org/TR/SMIL2/ (SMIL 2.0)● http://www.w3.org/TR/SMIL3/ (SMIL 3.0)● from abstract: an XML-based language that

allows authors to write interactive multimedia presentations:

– describe the temporal behavior of a multimedia presentation

– associate hyperlinks with media objects

– describe the layout of the presentation on a screen

Page 4: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Ambulant (http://www.ambulantplayer.org/)

Page 5: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

FAQ: What's new in Ambulant 2.0?

● full support for SMIL 3.0: inline text through smilText, variables and extended customization through SMIL State, pan and zoom to display partial images or video, transparency, many more.

Page 6: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Ambulant demos

● http://ambulantplayer.org/Demos.shtml

Page 7: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

NewYorkGeo

Page 8: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Synchronized Multimedia Integration Language (SMIL) 1.0

Specification

● W3C Recommendation 15-June-1998● http://www.w3.org/TR/REC-smil/● Root element: <smil>● <smil> children: <head> and <body>

Page 9: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

<head>

● <layout>– positions of elements

● <switch>– for different <layout>s

● <meta>– variable document properties

Page 10: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

<body>● <a>

● <animation>

● <audio>

● <img>

● <par>

● <ref>

● <seq>

● <switch>

● <text>

● <textstream>

● <video>

Page 11: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

<par> and <seq>

● time synchronization● <par>

– may overlap in time (parallel execution)

– @begin: time for the explicit beginning of the element

● <seq>– sequential execution

Page 12: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Standard examples

Page 13: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Timing attributes

● @begin– explicit begin of an element

● @end– the explicit end of an element

● @dur– the explicit duration of an element

Page 14: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Media objects

● inclusion of media objects into a SMIL presentation, generic: <ref> and a set of synonyms <animation>, <audio>, <img>, <text>, <textstream>, and <video>

● included by reference (using a URI)● types:

– with an intrinsic duration (continuous media)● <video>, <audio>, <animation>, <textstream>

– without intrinsic duration (discrete media)● <text>, <img>

Page 15: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Synchronized Multimedia Integration Language (SMIL 2.1)

● W3C Recommendation 13 December 2005● http://www.w3.org/TR/SMIL2/

Page 16: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

SMIL 2.1 Modules

● Module: a collection of semantically-related XML elements, attributes, and attribute values that represents a unit of functionality

● Language Profile: a combination of modules

Page 17: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Media

● Modules:– BasicMedia

– MediaClipping

– MediaClipMarkers

– MediaParam

– MediaAccessibility

– MediaDescription

Page 18: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

BasicMedia Module

Page 19: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Media elements' atributes

● @src– URI used to fetch associated media

● @type– Content type of the media object referenced by

the @src attribute

Page 20: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Standard Table of Contents

Page 21: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

Synchronized Multimedia Integration Language (SMIL 3.0)

● W3C Recommendation 01 December 2008● http://www.w3.org/TR/SMIL3/

Page 22: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

SMIL 3.0 DAISY Profile

● DAISY digital talking books are fully accessible for persons with print disabilities

● several accessibility features have been added to the SMIL language, and a fully-conforming language profile has been defined for DAISY books

Page 23: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

SMIL Test Suites

● SMIL 2.0 Testsuite– http://www.w3.org/2001/SMIL20/testsuite/

● SMIL 2.1 Test Suite– http://www.w3.org/2005/SMIL21/testsuite/

● SMIL 3.0 Test Suite– http://www.w3.org/2007/SMIL30/testsuite/

Page 24: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

A test example

Page 25: SMIL - zvon.orgzvon.org/BI-XML/L5-a-smil_2.pdfSMIL and media combine different media make them accessible in a sequence or in parallel SMIL is often used as a domain specific language

SMIL 2.1 @Zvon.org


Recommended