[MEncoder-users] Re: Converting wmv3 to flv

Rich Felker dalias at aerifal.cx
Tue Oct 25 18:20:56 CEST 2005


On Tue, Oct 25, 2005 at 09:26:57AM +0200, Guillaume POIRIER wrote:
> Hi,
> 
> On 10/25/05, Rich Felker <dalias at aerifal.cx> wrote:
> > On Sun, Oct 23, 2005 at 02:35:36PM +0000, Scott wrote:
> > > > > mencoder movie.flv -ovc copy -oac copy -audiofile audiodump.mp3
> > > > >  -o movie2.flv
> > > >
> > > > Without "-of lavf" you're just encoding to an AVI file.
> > >
> > > I've created a new command for this, but I get a Floating point exception
> > > now.  Here's what I'm trying:
> >
> > -of lavf does not presently work. Try encoding first to avi container
> > then remuxing with standalone ffmpeg program.
> 
> You may also use the attached patch to "fix" -of lavf.

Do NOT apply this patch.
It is not a fix, but introduces a huge bug in libavutil whereby it
silently gives wrong results for invalid input rather than crashing or
reporting an error. Allowing lavf to be initialized with width and
height==0 does not fix anything since this will output INVALID files
for most formats. The ONLY way lavf support can be fixed is if you're
willing to fix mencoder so that the parameters are known by the time
the muxer is initialized..

Rich




More information about the MEncoder-users mailing list