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

Jonathan Rogers jonner at teegra.net
Tue May 13 09:28:27 CEST 2003


Mark Zealey wrote:
> #!/bin/bash
> 
> while [ $# -ge 1 ]; do
> 	F="$1"
> 	shift
> 	rm -f divx2pass.log
> 	mencoder -oac copy -ovc lavc -lavcopts vhq:vcodec=mpeg4:vbitrate=400:vpass=1 -o /dev/null "$F"
> 	mencoder -oac mp3lame -ovc lavc -lameopts preset=standard -lavcopts vhq:vcodec=mpeg4:vbitrate=400:vpass=2 -o "new.$F" "$F"
> done
> 

By the way, using vqscale=2 for the first pass instead of vbitrate=x 
works a lot better.

Jonathan Rogers



More information about the MPlayer-users mailing list