- From: Cecile Roisin <Cecile.Roisin@imag.fr>
- Date: Fri, 20 Feb 1998 11:39:39 +0100
- To: jinyu@pa.dec.com (Jin Yu)
- cc: Muriel.Jourdan@inrialpes.fr, www-multimedia@w3.org
- Cc: Cecile.Roisin@imag.fr
Here are two versions of the Christmas example in which I try to take into account some remarks that have been given in this mailing list (and also outside it). The first one try to be as close as possible to Muriel's specification. The second one corresponds to Sjoerd Mullender's proposition (as far as I understand). > jinyu@pa.dec.com (Jin Yu) wrote: >> I believe the outer most <par> should have endsync="last". Otherwise the >> whole presentation terminates when the sequence of images terminates (so >> I never got to "AND" and "happy new year".). Yes, there is a problem with the durations that have been given in the example. The difficulty comes from the need to be more explicit in SMIL than in Madeus. The specification can be more imprecise in Madeus (because the temporal formatter calculates durations): the user can give an interval of accepted durations such as "The two songs can be played with any duration in the range between 10'' and 60'' without considering their complete delivery.", or "Each of the three textual messages is presented for a period of about 30".". Christmas example (first version) --------------------------------- In the first SMIL specification given below, I have taken the following assumptions: - the author wants the three messages (Merry, And and Happy) to be displayed together with one of the background images (without repetition of the images. -> the first par ends by its longest component (the "Happy" text) and will stop the last picture "C_Pict4" (with no dur attribute). - Each of the three textual messages is presented for a period of about 10 (not 30 to have a shorter scenario, but it does not change the principle of the original example). - The author does not matter about the duration of the audios (the songs can be interrupted, as specified by Muriel): "Merry" text duration masters "Song1" duration (and so on for Song2). -> Texts objects have a dur attribute of 10 s and the par has attribute endsync = "first" <smil> <head> <layout type="text/smil-basic"> <!-- define screen areas --> <channel id="text" left="50" top="150" /> <channel id="fond" left="5" top="5" z-index="1" /> <channel id="smiley" left="70" top="180" /> </layout> </head> <body> <par> <seq> <par endsync = "first" > <text channel="text" src="data/Merry.html" dur="10s" /> <audio src="data/Song1.au" /> </par> <par> <img channel="smiley" src="data/smiley.gif" begin="2s" dur="6s" /> <text channel="text" src="data/And.html" dur="10s"/> </par> <par endsync = "first" > <text channel="text" src="data/Happy.html" dur="10s" /> <audio src="data/Song2.au"/> </par> </seq> <seq> <img channel="fond" src="data/C_Pict1.gif" dur="8s"/> <img channel="fond" src="data/C_Pict2.gif" dur="8s"/> <img channel="fond" src="data/C_Pict3.gif" dur="8s"/> <img channel="fond" src="data/C_Pict4.gif"/> </seq> </par> </body> </smil> Christmas example (second version) --------------------------------- In this version, there are two differences from the previous one: - in the <pa>r groups (text + audio), the audios are the masters (the author wants the audios to be completly played, whatever their duration is). - the background images have fixed durations but are continously repeated until the end of the outer most <par>. <smil> <head> <layout type="text/smil-basic"> <!-- define screen areas --> <channel id="text" left="50" top="150" /> <channel id="fond" left="5" top="5" z-index="1" /> <channel id="smiley" left="70" top="180" /> </layout> </head> <body> <par endsync = "first"> <seq> <par> <text channel="text" src="data/Merry.html" /> <audio src="data/Song1.au" /> </par> <par> <img channel="smiley" src="data/smiley.gif" begin="2s" dur="6s" /> <text channel="text" src="data/And.html" dur="10s"/> </par> <par> <text channel="text" src="data/Happy.html" /> <audio src="data/Song2.au"/> </par> </seq> <seq repeat="0"> <img channel="fond" src="data/C_Pict1.gif" dur="8s"/> <img channel="fond" src="data/C_Pict2.gif" dur="8s"/> <img channel="fond" src="data/C_Pict3.gif" dur="8s"/> <img channel="fond" src="data/C_Pict4.gif" dur="8s"/> </seq> </par> </body> </smil> These two scenarios have been (partially) tested with HPAS, because we still have problems with audio. Cecile ---------------------------------------------------------- Cecile Roisin EMAIL: Cecile.Roisin@inrialpes.fr ---------------------------- Unite de Recherche Rhone-Alpes, projet OPERA ( http://opera.inrialpes.fr/OPERA/ ) 655 avenue de l'Europe 38330 Montbonnot Saint-Martin TEL: (33) 04 76 61 53 60 FAX: (33) 04 76 61 52 07 ----------------------------------------------------------
Received on Friday, 20 February 1998 05:40:37 UTC