[MPlayer-dev-eng] TODO

Christoph Lampert chl at math.uni-bonn.de
Tue Feb 12 15:04:09 CET 2002


Hi,
I have another big TODO, somehow connect to this one:

>   *** Detecting static or dynamic XviD lib, and optionally use it instead of
>   divx4linux (pl?) 

my todo is: 

Make mplayer ready for B-frames! 
Yes, it's finally time: XviD will soon have B-frames support (decoder is 
already running in testing phase). However, B-frames cannot be
decoder without buffering an extra frame, so codec behaviour is 
different:

Instead of

Bytestream 0 (from AVI) IN     ---codec-->       Frame 0 decoded OUT
Bytestream 1 (from AVI) IN     ---codec-->       Frame 1 decoded OUT  
Bytestream 2 (from AVI) IN     ---codec-->       Frame 2 decoded OUT  
Bytestream 3 (from AVI) IN     ---codec-->       Frame 3 decoded OUT  
 
it has to be

Bytestream 0 (from AVI) IN     ---codec-->       nothing out
Bytestream 1 (from AVI) IN     ---codec-->       Frame 0 decoded OUT
Bytestream 2 (from AVI) IN     ---codec-->       Frame 1 decoded OUT
Bytestream 3 (from AVI) IN     ---codec-->       Frame 2 decoded OUT

in B-frame decoding mode (encoding is much more difficult...). 
This may cause A-V sync problems (is one frame difference recognizable?)

Since MPEG2 uses B-frames, too... is MPlayer prepared to handle this
for AVI files? Maybe I'm wrong, but I don't know any other AVI-codec
that uses B-frames. 

gruel

-- 
Christoph H. Lampert chl at math.uni-bonn.de | Diese Signature wurde maschi-     
Beringstr. 6, Raum 15 Tel. (0228) 73-4708 | nell erstellt und bedarf
Sprechstunden Di/Do 10-11 und spontan     | keiner Unterschrift. AZ 27B-6 




More information about the MPlayer-dev-eng mailing list