Re: Ogg encapsulation

"Gerard Juyn" <gjuyn-qWit8jRvyhVmR6Xm/[email protected]> Fri, 2 Apr 2004 11:30:46 +0200
Newsgroups gmane.comp.graphics.mng.general
Organization Triple-T
Message-ID <406D4EE6.25710.3703CBF7@localhost>
> The design so far is outlined in http://wiki.xiph.org/OggMNG

Something I can't quite make out is how the synchronization between a MNG 
and audio/video channel(s) is going to be done. Do you intend to fiddle with 
the timing-mechanism in libmng or do you consider using the FRAM signals?

I concur with your observation that the upfront delays in MNG are a PITA. It's 
been a heck of a thing to get right and I believe there are still some situations 
where it doesn't quite work properly. And FRAM signal processing isn't quite 
existent in libmng yet.

But since you most likely won't be depending on the proper framecount / 
layercount / playtime inside libmng, you might as well put 1ms delays between 
each frame and then stretch that delay inside OGG to whatever is needed at 
the time. This would allow you to sync with the audio/video at your own turf. 
And libmng will just be happily trying to catch up all the time which it will never 
be able to do but that won't hurt either. But we can work that out as you're 
coding along...

Gerard


--
Send the message body "help" to [email protected]