[MPlayer-users] Assertion failed

Adam Nielsen a.nielsen at optushome.com.au
Mon Nov 10 09:24:15 CET 2003


[ Sorry if you get this message twice, but it didn't seem to go through with 
the full assertion message as the subject.  Guess it doesn't like <> signs in 
there ;-) ]

Hi,

I keep getting this error during the second pass of a two-pass encode with 
mencoder, and I don't know what it means.  I'm trying to encode an MPEG2 
transport stream into a DivX AVI.

mencoder: ratecontrol.c:587: ff_rate_estimate_qscale: Assertion 
`picture_number<rcc->num_entries' failed.

The full command line is:

mencoder -o output.avi -mc 0 -noskip -skiplimit 0 -ovc lavc -lavcopts 
vcodec=mpeg4:vhq:trell:mbd=2:vmax_b_frames=1:v4mv:vb_strategy=0:vlelim=0:
vcelim=0:cmp=2:subcmp=2:precmp=2:predia=1:dia=1:vme=4:aspect=4/3:
vbitrate=1920:vpass=2 -vop crop=516:570:104:3 -oac pcm input.ts -ss 150 
-frames 37000

It has worked fine with other files, but as these are being captured from a 
digital TV card, they are quite likely to be corrupted at some points 
throughout due to reception interference.  If this corruption is the cause of 
the problem, is there any way around that error so I can at least encode the 
file?

Please let me know if you need any more info.

Thanks,
Adam.



More information about the MPlayer-users mailing list