[MPlayer-users] Re: problem with a/v sync.

Tilman Klar fisi.tilman.klar at gmx.de
Thu Jan 17 19:22:56 CET 2002


On Thu, 2002-01-17 at 18:30, Sven Hartge wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Tilman Klar <fisi.tilman.klar at gmx.de> wrote:
> 
> > n1c3.
> 
> 31337 d00d ...
> 
> > it works 100%, thx mate. what is this -ni switch, anyways?
> > man mplayer says:
> >       -ni    force usage of non-interleaved AVI parser
> > what does it mean? it doesnt sound like "repair a/v sync"..
> > enlighten me, plz.
> 
> Normally, Video and Audio are saved interleaved, meaning:
> 
> VAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVA
> 
> So the parser can just stream along the bytes and get the video and
> audio frames to the specific decoders.
> 
> Within an noninterleaved file, the data is like this:
> 
> VVVVVVVVVVVVVVVVVVAAAAAAAAAAAAAAAAAAAA
> 
> Now, the parses has to seek through the file to hop to the audio frame
> and the video frame and then to the audio frame and so on.
> 
> It is easily guessable, that this file is not streamable (using a
> network, for example). And it is a pain in the a** to play such files
> >from slow media, like CD-ROM or DVD. Using an apropriate -cache value
> can ease this problem though.
> 
> Now, some files seem to have incorrect header flags, saying, they are
> interleaved, while in fact being non-interleaved. The -ni switch forces
> mplayer to ignore the files information about itself and use the
> non-interleaved parser.
> 
> (I hope this was not totally wrong.)
> 
>> 
> -- 
> Letzte Worte eines Türstehers: Nur über meine Leiche...
> 

thx man, i understood it. 
i'll add a 'ni = yes' to my configfile then. damn, and i used +/- for 
a few months, to optimize the a/v sync. i should've asked earlier..

anyways, bix thx && u are doing a wonderful job..

( jep i RTFM - :) )

-phoen][x-




More information about the MPlayer-users mailing list