[MPlayer-dev-eng] [PATCH] mencoder, B-frames, and video/audio delay
Corey Hickey
bugfood-ml at fatooh.org
Fri Jan 27 21:36:11 CET 2006
Michael Niedermayer wrote:
>>It's certainly incorrect to skip the first 1-2 frames when
>>muxing proper containers.
>
>
> yes, but why does mencoder skip them? it shouldnt, not for avi or any other
> format, theres the bug, if a initial timestamp is negative mencoder skips
> but it should not, it should add the value to all timestamps of all streams
> instead
With my most recent patch, mencoder would skip 1 or 2 frames from
somewhere within the first couple seconds of an encode in order to
compensate for decoder delay.
How about using dwStart in the AVI header to delay the other streams? I
should be able to add that to muxer_avi. I'm not sure about the lavf AVI
muxer, but I ought to be able to fit it in somehow. Are there any other
muxers that can/should be adjusted in a similar fasion?
-Corey
More information about the MPlayer-dev-eng
mailing list