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

Corey Hickey bugfood-ml at fatooh.org
Sat Jan 21 06:47:11 CET 2006


Corey Hickey wrote:
>>Instead you need to make the encoder advertise the number of frames of
>>encoding-delay it has, and fake the muxer timer to compensate for it.
> 
> 
> That's what I was thinking of earlier, but I thought I had found a
> better solution.

Ok, so here it is, I think. Again, it seems to work. I don't see any
delay when I specify lower -ofps values, either.

I've tested these:
x264       ... 16 B-frames
lavc mpeg4 ...  4 B-frames
xvid (new) ...  4 B-frames

I haven't tested the old xvid (ve_xvid.c), but it should work as well.

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


More information about the MPlayer-dev-eng mailing list