[MPlayer-users] ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.

Michael Niedermayer michaelni at gmx.at
Tue Nov 5 23:36:01 CET 2002


Hi

On Tuesday 05 November 2002 22:59, Moritz Bunkus wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi.
>
> > No, the problem is that mencoder is generating more frames for lavc
> > during the second pass than are listed in the stats file (from first
> > pass). No idea why this is happening if you didn't change options
> > between passes.
>
> mencoder aborts with this message on the _first_ pass after encoding
> the audio (sucessfully) to frameno.avi!
very interresting, especially as that code is only executed during the 2. pass
see:
---------------
    if(s->flags&CODEC_FLAG_PASS2){
        assert(picture_number>=0);
        assert(picture_number<rcc->num_entries); <-------
        rce= &rcc->entry[picture_number];
        wanted_bits= rce->expected_bits;
---------------

btw, has anyone seen a failed assert on the CVS version without changing any 
parameters except vpass between pass 1/2 ?

Michael




More information about the MPlayer-users mailing list