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

Rich Felker dalias at aerifal.cx
Thu Nov 10 00:15:47 CET 2005


On Wed, Nov 09, 2005 at 12:26:01AM +0100, Nico Sabbi wrote:
> 
> >>>(c) It's fairly simple and I could probably do it myself.
> >>>     
> >>>
> >>So is the buffering layer. It's just a matter of putting some
> >>appropriate wrapper functions around the muxer implementation. Try it
> >>-- it really won't be difficult!
> >>   
> >>
> >
> >I'll see what I can do, but I'm not so optimistic. My C programming ability
> >at this point is such that I can write relatively simple programs and make
> >small changes to complex ones, but I'm not sure where to start here. Well,
> >besides staring at the source some more, that is...
> >
> >-Corey
> > 
> >
> 
> this patch implements buffering, but I don't really like it (yet another 
> workaround
> rather than a real solution).
> Please, test and report if it works.
> 
> I don't understand why on earth mencoder should initialize the muxer before
> having the single elementary streams configured :(
> (even creating the container without knowing what will go into it is 
> conceptually
> wrong, IMHO).
> I hope someone will implement preinit_video(), but in the meantime I can
> temporarily commit this patch.

Preinit_video is not a viable solution without totally rewriting the
video layer. This buffering is not a hack but the correct fix, given
mplayer's design.

Rich




More information about the MPlayer-advusers mailing list