Re: SMIL question

Not very forgiving is it? I have just discovered if I put the mp3 in temporal sequence, it will work correctly in QuickTime. Go figure:


<text region="region2" src="data:text/plain,%22The%205-Day%20Forecast%22" begin="00:00" dur="00:04"/>
<img src="weather.jpg" region="region1" begin="00:05" dur="00:04"/>
<audio src="weather.mp3" id="sound" begin="00:06" dur="00:24"/>
<text region="region2" src="data:text/plain,Hello,%20my%20name%20is%20Carl%20Wells!" begin="id(sound)(00:00)" dur="00:01"/>

instead of:

<audio src="weather.mp3" id="sound" begin="00:06" dur="00:24"/>
<text region="region2" src="data:text/plain,%22The%205-Day%20Forecast%22" begin="00:00" dur="00:04"/>
<img src="weather.jpg" region="region1" begin="00:05" dur="00:04"/>
<text region="region2" src="data:text/plain,Hello,%20my%20name%20is%20Carl%20Wells!" begin="id(sound)(00:00)" dur="00:01"/>

One day QT & RP will follow a standard, I hope.

HTHelps someone?
John



John Taylor-Johnston wrote:

> It just occurred to me that in Quicktime, because begin=00:06 in my *.mp3:
>
> <audio src="weather.mp3" id="sound" begin="00:06" dur="00:24"/>
>
> the actual movie starts at 6 seconds, in Quicktime. In the RealPlayer it behaves and starts at 00:00.
>
> Apart from adding 6 seconds of silence to the *.mp3 file, I don't know what else to do.
>
> Any ideas?
>
> <?xml version="1.0" encoding="US-ASCII"?>
> <!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 1.0//EN" "http://www.w3.org/TR/REC-smil/SMIL10.dtd">
> <smil xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions" qt:time-slider="true" xmlns="http://www.w3.org/TR/REC-smil">
> <?quicktime type="application/x-quicktime-media-link"?>
>     <head>
>         <layout>
>         <root-layout id="main" width="320" height="290" background-color="#000000"/>
>         <region id="region1" width="320" height="240" fit="fill"/>
>         <region id="region2" width="320" height="50" left="0" top="240" fit="hidden"/>
>        </layout>
>     </head>
>     <body>
>     <!-- body tags -->
>         <par>
>             <audio src="weather.mp3" id="sound" begin="00:06" dur="00:24"/>
>             <text region="region2" src="data:text/plain,%22The%205-Day%20Forecast%22" begin="00:00" dur="00:04"/>
>             <img src="weather.jpg" region="region1" begin="00:05" dur="00:04"/>
>             <text region="region2" src="data:text/plain,Hello,%20my%20name%20is%20Carl%20Wells!" begin="id(sound)(00:00)" dur="00:01"/>
>         </par>
>     </body>
> </smil>

--
John Taylor-Johnston
-----------------------------------------------------------------------------
"If it's not Open Source, it's Murphy's Law."

  ' ' '    Collège de Sherbrooke:
 ô¿ô    http://www.collegesherbrooke.qc.ca/languesmodernes/
    -     819-569-2064

  °v°   Bibliography of Comparative Studies in Canadian, Québec and Foreign Literatures
 /(_)\  Université de Sherbrooke
  ^ ^   http://compcanlit.ca/ T: 819.569.2064

Received on Tuesday, 8 March 2005 18:47:26 UTC