Hoi Dominik On Fri, Dec 05, 2003 at 07:36:56PM +0100, Dominik 'Rathann' Mierzejewski wrote:
I'm trying to encode the 2001: A Space Odyssey DVD to mpeg4 using lavc on to 2 CDs, preserving original audio stream. Unfortunately, mencoder seems to be unable to complete the second pass, the assertion libavcodec/ratecontrol.c:587: [...] 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; }else{ rce= &local_rce; wanted_bits= (uint64_t)(s->bit_rate*(double)picture_number/fps); } [...] always fails on the last frame. Even stranger, this happens only if I encode chapters 1-16 or 1-17. If I encode only chapter 16 or 17, all is fine.
Is this bug fixed ? Attila Kinali