[MPlayer-users] Problem with DIVX 5.0.5 and two pass encoding

Jonathan Rogers jonner at teegra.net
Fri Sep 26 16:32:04 CEST 2003

On Wed, 02 Jul 2003 14:50:24 +0200, Jan Engelhardt wrote:
> trying to 2-pass encode (AVI->AVI), this error message was printed when
> mencoder was invoked the second time:
> [...]
> SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
> encoder binary profile: S
> pass (2) and rate control mode (0) doesn't match, please consult
> encore2.h ./enc_01: line 10: 16800 Aborted                 mencoder
> "$src" -oac mp3lame -lameopts cbr:br=$ABR -ovc divx4 -vop scale=352:264
> -divx4opts br=$VBR:pass=2 -o out-"$src" 14:40:06
> hirogen2 at species:~/video >
> enc_01 being a small shell script calling mencoder: VBR=335 ABR=96
> mencoder "$src" -oac mp3lame -lameopts cbr:br=$ABR -ovc divx4 -vop \
>  scale=352:264 -divx4opts br=$VBR:pass=1 -o out-"$src";
> mencoder "$src" -oac mp3lame -lameopts cbr:br=$ABR -ovc divx4 -vop \
>  scale=352:264 -divx4opts br=$VBR:pass=2 -o out-"$src";
> Using Divx v5 for linux (libdivxencore.so). Any Ideas?

I feel a little silly responding to this message again after so long, but
I have experienced the same problem that Jan did. I haven't been using
DivX normally, but I have been having trouble getting good results with
lavc on a certain movie. I tried a five minute segment with DivX 5.0.5
(20030428) for comparison.

I could not get the first pass to produce the passlogfile no matter what
combination of "pass" and "vbr" I used. The older version of DivX
(20020418) didn't have any trouble when I used "pass." I looked at
ve_divx4.c (in both 1.0pre1 and CVS HEAD) and it seems that it's not
doing anything with the passlogfile when compiled with the newer version
of DivX. Has anyone else had this experience or know the status of

Jonathan Rogers

More information about the MPlayer-users mailing list