[MPlayer-users] Re: second pass producing the same file as first pass with avcodec, why ?

Arpi arpi at thot.banki.hu
Mon Apr 15 15:43:02 CEST 2002


Hi,

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Mon, Apr 15, 2002 at 05:27:28AM +0200, Rémi Guyomarch wrote:
> > 
> > It seems the second pass in a 2 pass encoding session with avcodec
> > produce the exact same output file (down to the byte level) than the
> > first one.
> > Is there some lack of support for 2 pass encoding in avcodec or is it
> > a bug ? Is it a DivX4/XviD-only feature ? Am I a fool ? :-)
> > 
> > PS: tested with latest cvs of both mplayer/mencoder and ffmpeg's
> > libavcodec.
> 
> It seems the one-liner below helps a lot ...
> 
> Without that, MPV_encode_picture() ignored optimized quantizers given
> by the second pass optimizer (divx4_vbr.c in the case of mencoder).

it was bug in mencoder, it set qscale flag after initialization...
fixed


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list