[MEncoder-users] Assertion `picture_number<rcc->num_entries' failed.
Dominique Dumont
domi.dumont at free.fr
Tue Jun 13 11:11:14 CEST 2006
Corey Hickey <bugfood-ml at fatooh.org> writes:
> 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,
Sorry about that.
> so I assume it's the same but with vpass=1.
Almost the same except that I use -oac copy in the first pass:
mencoder 'lavc_pict_nb_rcc_num_entries_pb.mpg' -oac copy -vf pp=ci,crop=688:544 \
-ovc lavc -lavcopts vcodec=mpeg4:v4mv:vbitrate=1000:mbd=2:trell:vpass=1 \
-o 't_lavc_pict_nb_rcc_num_entries_pb.avi'
And the second pass is
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 't_lavc_pict_nb_rcc_num_entries_pb.avi'
> 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
Err, this line works also for me. :-o
I guess that using '-oac copy' in the first pass is not a good idea. :-(
[lot of investigation hints deleted]
Many thanks for your help.
Cheers
More information about the MEncoder-users
mailing list