Click to See Complete Forum and Search --> : Questions on SMIL
Shirina
03-10-2003, 01:49 AM
Hi All,
I got some question during I am writing about SMIL. I need to write the SMIL which like a Multimedia Presentation (that mean can showing presentation slides and the voice/sound match together). However, I got question when the Presentation (JPG Format) and the voice synchronize together.
Actually, Do anyone could give me some advice on synchronize the voice(sound) with the presentation? It is because at this moment, I just know the script of using fix time to show the presentation and the sound....
Thanks and regards,
Shirina
Robert Wellock
03-10-2003, 09:56 AM
I assume you have read: http://www.w3.org/AudioVideo/
Shirina
03-12-2003, 06:38 AM
Hi,
Yes, I had already read the material on the website. hmm..but I seems can't find any information/tips for me on writing the Mulitmedia Presentation esp. I would like to synchronization the audio and the presentation images.
Thanks a lot!!
Best regards,
Shirina
Robert Wellock
03-12-2003, 07:24 AM
Since SMIL is so poorly supported I haven't really ever bothered use it.
The most advanced type of slide show I have ever produced plays a background track and changes images.
<smil>
<head>
<layout>
<root-layout background-color="black" width="252" height="168" />
<region id="picture" z-index="1" left="0" top="0" width="252" height="168" />
</layout>
</head>
<body>
<par>
<audio id="a" src="ms.wav" repeat="5" />
<seq repeat="5" >
<img region="picture" src="flower1.jpg" dur="1000ms" />
<img region="picture" src="flower2.jpg" dur="1000ms" />
<img region="picture" src="flower3.jpg" dur="1000ms" />
<img region="picture" src="flower4.jpg" dur="1000ms" />
</seq>
</par>
</body>
</smil>
Probably something like the following would be used to synchronise audio and images:
…
<par>
<audio src="themesong.wav" id="x" />
<image src="image.jpg" region="r1" end="id(x)(end)" />
</par>
…
So the image ends with the audio of value id x.
Shirina
03-13-2003, 01:32 AM
Thanks for your reply...
hmm..But I still got some questions on my mind.
Actually, I would like to do the SMIL program like this one (it is the demo from the w3C.org website) :
http://www.inria.fr/multimedia/Didactheque/4-Docmnt-Didact/0004/XYLEME/XLMSS.RAM
In the SMIL I have been done, I could display the presentation slide show (the coding just similar as you had recommend I used).
However, I doubt on that how I could synchroniztiion it with the video/audio. Is that I should anaylsis the audio to find out a "click sound/enter sound", then match it with the presentation slide show time, so that when the "click sound/enter button sound" detect, I could make it to change the slides?
I will be pleased that if you could help me to solve the problem.
Thousands Thanks!
Robert Wellock
03-14-2003, 07:40 AM
It has been above two years since I breifly looked at SMIIL and I don have the network privileges to install Real Media on this Novell workstation so I cannot really help further you with your specific problem.