[MEncoder-users] Assertion `picture_number<rcc->num_entries' failed.

Corey Hickey bugfood-ml at fatooh.org
Sun Jun 11 23:09:28 CEST 2006


Dominique Dumont wrote:
> Corey Hickey <bugfood-ml at fatooh.org> writes:
> 
>> That's odd. Go ahead and upgrade to latest svn mplayer (see instructions
>> on the download page). If that doesn't fix the problem, upload the
>> source file (or a reproducible portion) to:
>> ftp://ftp.mplayerhq.hu/MPlayer/incoming
>>
>> ...and tell us what you named the file.
> 
> I've uploaded lavc_pict_nb_rcc_num_entries_pb.mpg (17MB). This file is
> a replex'ed version of the original vdr file.
> 
> This file triggers the following error during the 2nd pass:
> mencoder: ratecontrol.c:676: ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.
> 
> With the command:
> nice mencoder 'lavc_pict_nb_rcc_num_entries_pb.mpg' -oac mp3lame -lameopts preset=120 -vf pp=ci,crop=688:544 -ovc lavc -lavcopts vcodec=mpeg4:v4mv:vbitrate=1000:mbd=2:trell:vpass=2 -o 'test.avi'

I can't reproduce it. You didn't give a first pass command line, so I
assume it's the same but with vpass=1. This line works fine for me:

for i in 1 2 ; do
  mencoder 'lavc_pict_nb_rcc_num_entries_pb.mpg' -oac mp3lame \
  -lameopts preset=120 -vf pp=ci,crop=688:544 -ovc lavc -lavcopts \
  vcodec=mpeg4:v4mv:vbitrate=1000:mbd=2:trell:vpass=$i -o 'test.avi'
done

I tested with:
r18762, athlon64, 64-bit, gcc 4.1
r18657, athlon64, 32-bit, gcc 4.0
r18657, P4, 32-bit, gcc 4.0


I don't necessarily mean to say that you're imagining things -- just
that either:
(a) the problem in in part of the code that isn't used for me
(b) the problem is elsewhere in your system

The second one would seem more likely. Is everything all right with your
machine? Do you have enough disk space? Do you have proper write
permissions to the working directory? Is the kernel reporting any
disk/filesystem errors?

One other thing I just thought of: are you running the second pass with
the same mencoder version you used for the first?

-Corey



More information about the MEncoder-users mailing list