[MPlayer-users] ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.

Arpi arpi at thot.banki.hu
Tue Nov 5 23:02:02 CET 2002


Hi,

> > 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.

it will generate different number of frames per passes ONLY if
- a-v sync engine parameters change (-mc / -noskip / -skipmax / -nobps)
- audio codec changes (for example -nosound or -oac copy at 1st pass, mp3 at
  second), maybe audio codec parameter changes are enough, but imho not
- encoded area changes (-ss/-end-at etc)

i suspect he changed audio codec between passes...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list