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

Corey Hickey bugfood-ml at fatooh.org
Mon Jan 23 22:26:05 CET 2006


Corey Hickey wrote:
> Meanwhile, I'm going to just prepare a patch that makes mencoder's XviD
> encoding set the encoder delay based on the number of B-frames.
> Realistically, that should do exactly the same thing. Using a variable
> set by XviD would just be nicer/cleaner.

Ok, here's the current patch. Unfortunately, it seems for x264 I can't
access mod->x264->frames.i_delay because x264.h doesn't expose any
details about the x264_t structure. So, I had to stick with
mod->param.i_bframe instead.

Does the attached patch look ok? Should I apply it?

-Corey
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-bframes-sync3.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060123/5a3a70d5/attachment.txt>


More information about the MPlayer-dev-eng mailing list