[MPlayer-users] Dies on finishing 2nd pass

Mark Williams (MWP) mwp at internode.on.net
Sun Apr 10 18:46:12 CEST 2005

Greettings all,

Ive been trying to encode some TS/TP video recently but at the end of encoding
on the 2nd pass for each i get:

mencoder: ratecontrol.c:644: ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.
at which point it then segfaults

Im doing:

mencoder -o video-first.avi -fps 50 -ofPs 25 -sws 9 -oac copy ovc lavc -lavcopts \
  vcodec=mpeg4:mbd=2:v4mv:trell:aspect=4/3:vbitrate=1500:turbo:vpass=1 \
  -vf crop=$CROPXY,filmdint=io=2:1/mmx2=1,scale=$SCALEXY,hqdn3d=2:1:2 in.tp

mencoder -o video-final.avi -fps 50 -ofPs 25 -sws 9 -oac copy ovc lavc -lavcopts \
  vcodec=mpeg4:mbd=2:v4mv:trell:aspect=4/3:vbitrate=1500:vpass=2 \
  -vf crop=$CROPXY,filmdint=io=2:1/mmx2=1,scale=$SCALEXY,hqdn3d=2:1:2 in.tp

Any ideas?

BTW, im using CVS version from yesterday, but ive also tried a CVS version from
a few months ago with the same problem.

Thanks for any help!

More information about the MPlayer-users mailing list