[M4IF Technotes] MediaControl node problem

Christian Weigel christian.weigel epost.de
Sat Nov 16 17:00:33 EST 2002


Jean-Claude Duford wrote:
> Christian Weigel wrote:
> >If I deactivate the mediaStream by setting the stopTime field of the 
> >MovieTexture to NOW it stops. But if I reactivate it (by setting the 
> >startTime field to NOW) it plays not from the time it was 
> >stopped (like it is said in the standard when the 
> >MediaControlNode.startMediaTime is
> >-1) but so as if it has never been stopped (it jumps forward)
> >
> This is as it should be. The standard says exactly this. When a 
> MediaControl is present and active, then the MovieTexture fields are 
> just doing mute and demute.

Thank you for the answer.
I assume that mute and demute is the same as deactivation and activation
of the MovieTexture. If so I am a little confused because in the
standard in section 9.4.2.75.2 is written: 
"When the controlled stream becomes inactive and then active again, then
if mediaStartTime is -1 the stream starts playing from the point where
it was last stopped. Otherwise the first controlled stream object in the
url field restarts playing from mediaStartTime."
So if the MediaControl's is mediaStartTime field is set to -1 (which it
is by default) it should be possible to PAUSE the video by muting
(deactivate) it and to CONTINUE it at the point in media Time where it
was paused by demuting it. Or do I unterstand something the wrong way.
I looked in the envivio sample how they have done it and they did it
exactly like this and it works. So I still don't know why my scene is
not working. Maybe someone from envivio can help?
I put my sample scene on a web sever together with the scene
description. Here's the url:
http://www.tu-ilmenau.de/~cweigel/mpeg4/media_control.zip
The working envivio sample is downloadable from ENST: 
http://www.comelec.enst.fr/~dufourd/mpeg-4/adv2Dl1.zip 
(inside the zip use path: \Advanced2D_Level1\Envivio\mediacontrol)
Regards
Christian Weigel


More information about the Mp4-tech mailing list