[MPlayer-advusers] [BUG] mencoder floating point exception with -of lavf [patch attempt 1]

Rich Felker dalias at aerifal.cx
Tue Nov 8 08:12:51 CET 2005


On Mon, Nov 07, 2005 at 07:42:58PM -0800, Corey Hickey wrote:
> Ok, this is my first attempt at writing a muxer buffer as Rich advises.
> At this point I'm just trying to make it work with mplayer's avi
> demuxer; I'll work out the others later. For now, I've run into a
> problem I can't figure out. After 66 frames are buffered, mencoder
> outputs lots of messages:
> 
> -------------------------------------------------------------------------
> Too many video packets in the buffer: (4096 in 8233802 bytes).
> Maybe you are playing a non-interleaved stream/file or the codec failed?
> For AVI files, try to force non-interleaved mode with the -ni option.
> ds_fill_buffer: EOF reached (stream: audio)
> -------------------------------------------------------------------------

Your code is also horribly breaking a/v sync. :) You need to move the
a/v sync part out of the individual muxers and into the wrapper layer.
:) This explains the above message.

Rich




More information about the MPlayer-advusers mailing list