[MPlayer-dev-eng] A few minor things about NUT

Michael Niedermayer michaelni at gmx.at
Sun Jan 29 12:58:06 CET 2006


Hi

On Sun, Jan 29, 2006 at 05:03:53AM -0500, Rich Felker wrote:
> On Sun, Jan 29, 2006 at 07:43:09AM +0200, Oded Shimon wrote:
> > > > i will never agree to a spec which has less then 3 copies of the critical
> > > > headers
> > > 
> > > I agree it's good to have copies of the headers, but I don't like the
> > > basic conformance requirements not being locally verifiable. For
> > > example if you start playing a network stream, and stop it before you
> > > reach the third header repetition, did you just play an invalid nut
> > > file? :)
> > 
> > How do you even comply to this rule. My muxer puts headers at begginning, 
> > at end, and the very first at 8MB, so for small files it doesn't comply and 
> > wouldn't even know how to... Just repeat the headers twice at end? That's 
> > illegal I think. (Headers are always followed by syncpoint, and this is 2 
> > syncpoints with no data between them)
> 
> Nonsense; who ever said headers are followed by a syncpoint?! They're
> followed by SOME type of startcode, which may be a syncpoint or
> anything else.
> 
> So I think you can comply by writing the headers twice at the very
> end, but I agree it's stupid..

what about writing them twice at the begin? the end is more likely missing
then the begining

[...]

-- 
Michael




More information about the MPlayer-dev-eng mailing list