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

Loren Merritt lorenm at u.washington.edu
Sat Jan 21 02:25:20 CET 2006


On Fri, 20 Jan 2006, Corey Hickey wrote:
> Rich Felker 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)

--Loren Merritt




More information about the MPlayer-dev-eng mailing list