Re: Problem putting smile online.

If I am reading the code properly, you have a single video region, with a
slideshow in another section of the smil player, which is all of the
img00x.jpg etc.. entries.

I would break the images into a seperate .rp file (realpic), and layout the
slideshow sub-playlist there. It makes your smi file much more readable and
scalable as it grows.  It also allows you to write the image slideshow once
and include it in each different bandwidth switch much easier.

I always end up creating absolute links in my smil file because realplayer
is VERY picky how it finds the clips. Unless I have the whole
http://www.mysite.com/smil/  etc written into the SMIL, i've had problems on
our systems (which are SUN/linux machines). This includes the actual image
links from the new .rp file itself (although I haven't included them below
for simplicity).

So your body section looks like this:

   <body>
 <switch>
 <par system-bitrate="150000">
 <!--for lan-->

<seq>
<!--// Each <seq> should include the video clips i believe, so that it all
starts up syncronized with the video (after pre-buffering, etc) -->
   < !-- Slideshow pics.  Include the same .rp file in each bandwidth
switch -->
   <img src="pix/slideshow.rp" region="bilds" repeat="indefinite" />
   <video src="pass-xml.rm" region="video" title="Video"/>
 </seq>
 </par>
...

etc....

then the .rp file becomes something like this

<imfl>
 <head
  bitrate="20000"            <!-- this will stream the jpg files out at this
bandwidth.  This should be fine for most clips and makes sure that your
video isn't taken over by the jpg's downloading -->
  preroll="0:01"
  duration="0:60"                                <!-- WATCH FOR THIS. The
duration specified in the main .smi file will be 'matched' with this
duration here.  If they are different, realplayer will compensate and
stretch the clip to match.  -->
  timeformat="dd:hh:mm:ss.xyz"
  width="60"                    <!-- same with this.  This should be the
same as the region that you've defined in your main smi file.
  height="60"/>

 <!-- assign an image handle to an image name.  -->
 <image handle="1" name="pix/img001.jpg" />
 <image handle="2" name="pix/img001.jpg" />
 <image handle="3" name="pix/img001.jpg" />
 <image handle="4" name="pix/img001.jpg" />

 <!-- Pic One.  -->
 <!-- fill in the region white.  -->
 <fill start="0:00" color="white" duration="0" />

 <!-- fadein the logo.  -->
 <fadein start="0:01" duration="0:01" target="1" aspect="true" />

 <!-- Pic Two.  -->
 <!-- fill in the region white.  -->
 <fill start="0:15" color="white" duration="0" />

 <!-- fadein the logo.  -->
 <fadein start="0:16" duration="0:01" target="2" aspect="true" />

 <!-- Pic Three.  -->
 <!-- fill in the region white.  -->
 <fill start="0:30" color="white" duration="0" />

 <!-- fadein the logo.  -->
 <fadein start="0:31" duration="0:01" target="3" aspect="true" />

 <!-- Pic Four.  -->
 <!-- fill in the region white.  -->
 <fill start="0:45" color="white" duration="0" />

 <!-- fadein the logo.  -->
 <fadein start="0:46" duration="0:01" target="4" aspect="true" />

</imfl>

You can also use other effects besides fading and so on (various transitions
n so on).

.ram files are for when you want the smil clip to pop into a new realplayer
instance.  use rpm files when they are embedded on a webpage.

Hope this helps.

Cheers

Mike Wuetherick
Technical Director
Chiselmedia


----- Original Message -----
rom: <Stefan.Kastner@pass-consulting.com>
To: <www-smil@w3.org>
Sent: Wednesday, March 28, 2001 5:02 AM
Subject: Problem putting smile online.


> Hi there,
>
> I've got a strange Problem causing me sleepless nights.
>
> I created the smile on the bottom of this Posting and it works fine, as
long
> as it is played locally from my Pc.
> But when I try to access it over the WWW i get a general Error Message,
> saying that Realplayer does not support this file.
> I used a .ram file to access the smile. It doesn't work with a .rpm
either.
> The Server has the needed mime types installed.
>
> I really don't see the Problem here, please help!
> Thx in advance
>
> Stefan Kastner
> Pass 2 improve U
>
> <smil>
>  <head>
> <meta name="title" content="XML Einführung" />
> <meta name="author" content="Stefan Kastner" />
> <meta name="copyright" content="©2001" />
>
> <layout>
> <root-layout background-color="#0076EC" width="736" heigth="288"/>
> <region background-color="#0076EC" id="video" width="352"
> heigth="288" fit="hidden"/>
> <region id="bild" left="352" width="384" heigth="288" fit="hidden"/>
>
> </layout>
>
>  </head>
>   <body>
> <switch>
> <par system-bitrate="150000">
> <!--for lan-->
>
>       <video src="pass-xml.rm" region="video" title="Video"/>
> <seq>
> <img src="img001.jpg" region="bild" title="Bild" dur="10s"/>
> <img src="img002.jpg" region="bild" title="Bild"
> dur="98s"/><!--1.09min-->
> <img src="img003.jpg" region="bild" title="Bild"
> dur="49s"/><!--1.58min-->
> <img src="img004.jpg" region="bild" title="Bild"
> dur="89s"/><!--3.27min-->
> <img src="img005.jpg" region="bild" title="Bild"
> dur="124s"/><!--5.31min-->
> <img src="img007.jpg" region="bild" title="Bild"
> dur="122s"/><!--7.33min-->
> <img src="img008.jpg" region="bild" title="Bild"
> dur="28s"/><!--8.01min-->
> <img src="img009.jpg" region="bild" title="Bild"
> dur="20s"/><!--8.21min-->
> <img src="img010.jpg" region="bild" title="Bild"
> dur="36s"/><!--8.57min-->
> <img src="img011.jpg" region="bild" title="Bild"
> dur="31s"/><!--9.28min-->
> <img src="img012.jpg" region="bild" title="Bild"
> dur="160s"/><!--12.08min-->
> <img src="img014.jpg" region="bild" title="Bild"
> dur="76s"/><!--13.24min-->
> <img src="img017.jpg" region="bild" title="Bild"
> dur="118s"/><!--15.24min-->
> <img src="img018.jpg" region="bild" title="Bild"
> dur="81s"/><!--16.43min-->
> <img src="img019.jpg" region="bild" title="Bild"
> dur="70s"/><!--17.53min-->
> <img src="img020.jpg" region="bild" title="Bild"
> dur="126s"/><!--20min-->
> <img src="img022.jpg" region="bild" title="Bild"
> dur="22s"/><!--20.10min-->
> </seq>
> </par>
>
> <par system-bitrate="47000">
> <!--for single isdn-->
>
>       <video src="pass-XML_isdn.rm" region="video" title="Video"/>
> <seq>
> <img src="img001.jpg" region="bild" title="Bild" dur="10s"/>
> <img src="img002.jpg" region="bild" title="Bild"
> dur="98s"/><!--1.09min-->
> <img src="img003.jpg" region="bild" title="Bild"
> dur="49s"/><!--1.58min-->
> <img src="img004.jpg" region="bild" title="Bild"
> dur="89s"/><!--3.27min-->
> <img src="img005.jpg" region="bild" title="Bild"
> dur="124s"/><!--5.31min-->
> <img src="img007.jpg" region="bild" title="Bild"
> dur="122s"/><!--7.33min-->
> <img src="img008.jpg" region="bild" title="Bild"
> dur="28s"/><!--8.01min-->
> <img src="img009.jpg" region="bild" title="Bild"
> dur="20s"/><!--8.21min-->
> <img src="img010.jpg" region="bild" title="Bild"
> dur="36s"/><!--8.57min-->
> <img src="img011.jpg" region="bild" title="Bild"
> dur="31s"/><!--9.28min-->
> <img src="img012.jpg" region="bild" title="Bild"
> dur="160s"/><!--12.08min-->
> <img src="img014.jpg" region="bild" title="Bild"
> dur="76s"/><!--13.24min-->
> <img src="img017.jpg" region="bild" title="Bild"
> dur="118s"/><!--15.24min-->
> <img src="img018.jpg" region="bild" title="Bild"
> dur="81s"/><!--16.43min-->
> <img src="img019.jpg" region="bild" title="Bild"
> dur="70s"/><!--17.53min-->
> <img src="img020.jpg" region="bild" title="Bild"
> dur="126s"/><!--20min-->
> <img src="img022.jpg" region="bild" title="Bild"
> dur="22s"/><!--20.10min-->
> </seq>
> </par>
>
> <par system-bitrate="36000">
> <!--for 56k Modem-->
>
>
>       <video src="pass-XML_modem.rm" region="video" title="Video"/>
> <seq>
> <img src="img001.jpg" region="bild" title="Bild" dur="10s"/>
> <img src="img002.jpg" region="bild" title="Bild"
> dur="98s"/><!--1.09min-->
> <img src="img003.jpg" region="bild" title="Bild"
> dur="49s"/><!--1.58min-->
> <img src="img004.jpg" region="bild" title="Bild"
> dur="89s"/><!--3.27min-->
> <img src="img005.jpg" region="bild" title="Bild"
> dur="124s"/><!--5.31min-->
> <img src="img007.jpg" region="bild" title="Bild"
> dur="122s"/><!--7.33min-->
> <img src="img008.jpg" region="bild" title="Bild"
> dur="28s"/><!--8.01min-->
> <img src="img009.jpg" region="bild" title="Bild"
> dur="20s"/><!--8.21min-->
> <img src="img010.jpg" region="bild" title="Bild"
> dur="36s"/><!--8.57min-->
> <img src="img011.jpg" region="bild" title="Bild"
> dur="31s"/><!--9.28min-->
> <img src="img012.jpg" region="bild" title="Bild"
> dur="160s"/><!--12.08min-->
> <img src="img014.jpg" region="bild" title="Bild"
> dur="76s"/><!--13.24min-->
> <img src="img017.jpg" region="bild" title="Bild"
> dur="118s"/><!--15.24min-->
> <img src="img018.jpg" region="bild" title="Bild"
> dur="81s"/><!--16.43min-->
> <img src="img019.jpg" region="bild" title="Bild"
> dur="70s"/><!--17.53min-->
> <img src="img020.jpg" region="bild" title="Bild"
> dur="126s"/><!--20min-->
> <img src="img022.jpg" region="bild" title="Bild"
> dur="22s"/><!--20.10min-->
> </seq>
> </par>
> </switch>
>   </body>
> </smil>
>
>

Received on Wednesday, 28 March 2001 14:17:54 UTC