Re: SMIL question

John Taylor-Johnston <[email protected]>
Newsgroups gmane.comp.web.smil
Organization FLSH, U-de-S
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.