W3C home > Mailing lists > Public > www-smil@w3.org > July to September 2006

Re: Real SMIL code question.

From: TRAN THUONG Tien <tranthuong@free.fr>
Date: Tue, 8 Aug 2006 23:56:38 +0200
Message-ID: <001301c6bb35$86a6ffb0$0100a8c0@TRANTHUONG>
To: <reardon@umn.edu>, <www-smil@w3.org>

Hi Rich,
<seq> time container requires all its children must be definite. I think if 
your video are streaming, the rp can't detect the duration of video so they 
are indefinite that bring about the indefinite of the par1, par3, par4 and 
par5.
In this case you try to use the relative time relationship between the <par> 
time containers as following:

<par id="p1" >
    ...
</par>
<par id="p2" begin="p1.end">
    ...
</par>
<par id="p3" begin="p2.end">
    ...
</par>
<par id="p4" begin="p3.end">
    ...
</par>
<par id="p5" begin="p4.end">
    ...
</par>

hope this helps,
Tien

----- Original Message ----- 
From: "Rich Reardon" <reardon@umn.edu>
To: <www-smil@w3.org>
Sent: Tuesday, August 08, 2006 6:29 PM
Subject: Real SMIL code question.


>
> Don't know if this is the list to submit code questions, but thought I'd 
> give it a shot.
>
> The code below works ok, across most OS's and players. But ONLY if I 
> comment out, and do not use the "sequence" process.
> Using <seq> yields a variety of anomolies: regions that don't go away, 
> frozen video, etc.
> We create a lot of SMIL processes, and the only ones giving us problems 
> are the ones with a sequence of "par" elements.
> The rp files are standard. Everything is streaming from a Real Server. 
> Wondered if anything might jump out at you SMIL coders.
> TIA.
> ----------------------------------------------------------------
> <smil xmlns="http://www.w3.org/2001/SMIL20/Language">
>      <head>
> <layout>
> <root-layout width="756" height="380" background-color="black" />
>
> <region id="bkgnd" left="0" top="0" width="756" height="380" z-index="1" 
> />
> <region id="video" left="512" top="2" width="240" height="180" z-index="2" 
> />
> <region id="slides" left="2" top="2" width="504" height="378" z-index="2" 
> />
> <region id="dvd" left="98" top="68" width="320" height="240" z-index="2" 
> />
>
> </layout>
> </head>
>
> <body>
> <!-- <seq> -->
>
> <par>
> <img src="bkgnd.GIF" region="bkgnd" fill="freeze" />
> <video src="mn072706_ehrlich1_190kbs.rm" region="video" />
> <img region="slides" src="mn072706_ehrlich1.rp" fill="freeze" />
> </par>
>
> <par>
> <img src="DVDbigbkgnd.PNG" region="bkgnd" fill="freeze" />
> <video src="mn072706_DVDopen_190kbs.rm" dur="00:55" region="dvd" />
> </par>
>
> <par>
> <img src="bkgnd.GIF" region="bkgnd" fill="freeze" />
> <video src="mn072706_ehrlich2_190kbs.rm" region="video" />
> <img region="slides" src="mn072706_ehrlich2.rp" fill="freeze" />
> </par>
>
> <par>
> <img src="DVDbigbkgnd.PNG" region="bkgnd" fill="freeze" />
> <video src="mn072706_DVDbreastpump_190kbs.rm" dur="00:33" region="dvd" />
> </par>
>
> <par>
> <img src="bkgnd.GIF" region="bkgnd" fill="freeze" />
> <video src="mn072706_ehrlich3_190kbs.rm" region="video" />
> <img region="slides" src="mn072706_ehrlich3.rp" fill="freeze" />
> </par>
>
> <!-- </seq> -->
> </body>
> </smil>
>
>
> -- 
> "When it's not necessary to do something, it becomes necessary NOT to do 
> it."
>
> Rich Reardon
> Manager, University Video Services
> Room 212, Walter Library, 117 Pleasant St. SE
> University of Minnesota
> Minneapolis, MN 55455
>
> reardon@umn.edu
> Ph: 612-625-3486/Fax: 612-625-9302
> http://dmc.umn.edu/video/
>
>
> 
Received on Wednesday, 9 August 2006 05:23:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:53:29 GMT