Re: A couple of questions

Emmanuel BEUQUE (ebeuque@pratique.fr)
Mon, 10 Nov 1997 10:09:42 +0100

À (At) 13:01 +0100 6/11/97, Silvia Gonzalez Gonzalez écrivait (wrote) :
> - how to execute external programs (eg: Netscape, a chat
> client or something similar) from an MHEG application,

As Klaus said, this was not the aim of MHEG to be used on PC as a
concurrent internet application. However, MHEG seems opened to me and you
can use it as you want or as you need (i.e. you are not obliged to follow
DAVIC specifications).

If most of MUG members use them, it is possible for you to define your own
application domain (see annex D) and you have the Program Class that could
allow to execute external procedural code.

These external programs would more likely be ResidentProgram in your case
and you can execute them either synchronously (Call elementary action) or
asynchronously (Fork elementary action).

>
> - and how to deal with timers. I would need to synchronize
> the appearance of a sequence of photographs with text
> (as subtitles), and possibly with audio as well

The timers don't seem the best way to achieve this kind of features IMHO.
You would far better use counterTrigger based on your audio stream. This is
the only way to achieve good synchronisation of subtitles and photographs,
even if your audio stream needs to be paused sometimes.

To synchonize text and subtitles, you could build as many scenes as photos
and put the corresponding subtitle in them. Then put your audio stream
shared in the application file and put the counter trigger to go to the
next photo in each scene.

To build less scene (or if you don't want to share your audio stream), you
can put all in one scene and run and stop photo and its subtitle at the
same time.
There is unfortunately no more the DIS TemplateGroup class that would have
allow you to manage it better.

HTH,

__________________________________________________________________
Emmanuel BEUQUE mailto:ebeuque@pratique.fr
MediaServ tel: +33 (0) 2 99 64 35 64
Multimedia consultant & developer fax: +33 (0) 2 99 64 36 65