[MPlayer-dev-eng] [PATCH] mencoder, B-frames, and video/audio delay

Corey Hickey bugfood-ml at fatooh.org
Sat Jan 21 23:45:35 CET 2006


Michael Niedermayer wrote:
>>Why the +1? This seems incorrect, certainly incorrect with 0 B frames.
> 
> 
> this depends upon the codec, 0 B fames can be 0 or 1 delay
> the correct delay is lavc_venc_context->delay

Nice; I didn't know the encoders set that. For x264 it seems to be
mod->x264->frames.i_delay. I've checked both of those and they are both
set by then.

I had a look around in the source of xvid 1.1.0. I can't find any delay
parameter anywhere. Am I just not finding it? If nobody knows here I'll
try asking on xvid-devel.

-Corey




More information about the MPlayer-dev-eng mailing list