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

Corey Hickey bugfood-ml at fatooh.org
Sat Jan 21 02:59:04 CET 2006


Loren Merritt wrote:
>>>BTW I think there's a corresponding problem at the _decoder_ end too,
>>>which you should check out. (Use h264 with deep pyramid to test it..)
>>
>>You mean b_pyramid with lots of b_frames? I'm not seeing any problem
>>here... I tried adding b_pyramid to each of my test clips and they
>>looked fine (with my wrongly-patched mencoder). The mplayer man page
>>says b_pyramid "increases decoding delay to 2 frames". If that's the
>>problem, I don't know if I would notice a 2/24 second delay. Can you
>>elaborate?
> 
> 
> Right, x264 doesn't support pyramid with depth > 2.
> But you can still modify the "delay" header to say 16, even if it only 
> uses 2. (x264/encoder/set.c:187)

I'm confused as to what you two mean by "depth". Do you refer to the
number of B-frames?

-Corey




More information about the MPlayer-dev-eng mailing list