[MPlayer-users] ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.
D Richard Felker III
dalias at aerifal.cx
Tue Nov 5 22:55:03 CET 2002
On Tue, Nov 05, 2002 at 10:43:13AM -0800, Christian Lambert wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
> Hi,
>
> I'm using mencoder Pre9 (actually from CVS but a bit after pre9 got released).
> I had this problem since Pre8 if I recall correctly but have not used mencoder
> before pre8, so it could be a generic problem. I just encoded 2 or 3 movies and
> everytime, they complete, but at the end it output that error message:
> The result is that the index is not written out but the movie is completed.
> I have to run mencoder -idx -ovc copy -oac copy -o output.avi input.avi for
> the file to be repaired.
>
> Pos:7272.5s 174425f ( 0%) 9fps Trem: 0min 0mb A-V:0.053 [668:116]
> Pos:7272.6s 174426f ( 0%) 9fps Trem: 0min 0mb A-V:0.050 [668:116]
> Pos:7272.6s 174427f ( 0%) 9fps Trem: 0min 0mb A-V:0.047 [668:116]
> Pos:7272.6s 174428f ( 0%) 9fps Trem: 0min 0mb A-V:0.043 [668:116]
> Pos:7272.7s 174429f ( 0%) 9fps Trem: 0min 0mb A-V:0.040 [668:116]
> Pos:7272.7s 174430f ( 0%) 9fps Trem: 0min 0mb A-V:0.037 [668:116]
> Pos:7272.8s 174431f ( 0%) 9fps Trem: 0min 0mb A-V:0.033 [668:116]
> Pos:7272.8s 174432f ( 0%) 9fps Trem: 0min 0mb A-V:0.030 [668:116]
> Pos:7272.8s 174433f ( 0%) 9fps Trem: 0min 0mb A-V:0.027 [668:116]
> mencoder: ratecontrol.c:579: ff_rate_estimate_qscale: Assertion
> `picture_number<rcc->num_entries' failed.
>
> I'm running 2-pass mode and it fails at the end of the 2nd pass.
>
> My command line was:
> cat *vob | mencoder -oac mp3lame -lameopts abr:br=128:vol=3:aq=0 -aid 128 -ovc lavc
> -lavcopts vcodec=mpeg4:vbitrate=668:vhq:vqmin=1:vqmax=31:vpass=2 -ofps 23.976
> -vop scale=544:288,crop=720:456:0:10 -o output.avi -
>
> Maybe it's the vqmin/vqmax that causes this?
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.
Rich
More information about the MPlayer-users
mailing list