[M4IF Technotes] MediaControl node problem

Christian Weigel christian.weigel epost.de
Fri Nov 15 18:11:06 EST 2002


Hello!
I have a problem using the MediaControl node in a scene. I tried the
following:
- I extracted a mediaStream (video) and the corresponding *.nhnt *.info
from a video only stream with mp4tool from ENST (the video was a sample
from mpegable: MPEG-4 video 360x288, 600 kBit/s)
- I included it in my scene via the MovieTexture node and created a new
mp4 file - again with mp4tool
- I loaded the file with the latest envivoTV 
It works and I am able to watch the video BUT I can't control it's
playback. 
I added a MediaControl node to the scene with mediaStartTime -1 (the
default)
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)
The strange thing is, that there are scenes where exactly the same works
perfectly (ENST conformanace Bitstreams:
Advanced2D_Level1\Envivio\mediacontrol)
So I guess the mediaStartTime and mediaStopTime fields of the
MediaControl node are ignored. It is said in the standard that this
should be the case if the mediaTime of the media stream is undefinded.
Maybe this is my problem? I found out, that after extraction and
remuxing of the stream its properties differ a little,e.g. mp4info says
with the original stream:
video MPEG-4 18.8800 secs, 0kbps, 352x240 @ 12.55 fps
and after mp4tool demux/remux
video MPEG-4 18.0000 secs, 561kbps, 0x0 @ 13.17 fps
Maybe some time information is lost during this process.
Does someone has an idea or had same problems?
Regards
Christian Weigel


More information about the Mp4-tech mailing list