[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.26,1.27

Michael Niedermayer michaelni at gmx.at
Mon Jul 15 02:09:56 CEST 2002


Hi

On Monday 15 July 2002 01:43, Arpi wrote:
> Hi,
>
> > anyway all the mpi stuff you did looks ok for me, congrats! ;)
>
> hmm. i couldn't get it working (actually using DR) yet, because none of the
> vo drivers correctly support IPB type mpi yet :(
> i'll fix it now, but anyway it raised up a question:
> vd_ffmpeg always uses IPB, even if the codec doesn't support B frames.
> but IPB requires at least 3 buffers, which many vo driver is uncapable of.
> and, isn't there a way (i suspect: is not :(() to know if B frames can be
> expected, before decoding the first frame (in get_frame())?
hmm, (MpegEncContext->has_b_frames) ill export it & use it to decide between 
IPB & IP it should be mostly accurate after decoding the first header (before 
get_buffer where the mpi is requested) :)

[...]

Michael



More information about the MPlayer-cvslog mailing list