[MEncoder-users] problems with target size and xvid

Alexey com at nforum.de
Thu Feb 17 02:32:35 CET 2005


Hi everybody,

I am using mplayer-1.0_pre5-r5 and xvid-1-0.2 on gentoo linux and I have
a problem with the
target size. I dont get the size I specify. I use mencoder as encoder
and these are the settings I use.


mencoder dvd://1 -dvd-device /path/to/dvd -nosound
-xvidencopts :bitrate=-1790943:pass=1:vhq=4:me_quality=6:chroma_me:quant_type=mpeg:max_bframes=2:gmc -o /dev/null

mencoder dvd://1 -dvd-device /path/to/dvd -nosound -ovc xvid
-xvidencopts :bitrate=-1790943:pass=2:vhq=4:me_quality=6:chroma_me:quant_type=mpeg:max_bframes=2:gmc -o output.avi


Although this should have produced a filesize of about 1.7GB I got
2.8GB. Could it be that the second pass needs the avi file of the first
pass? I thought that "xvid-twopass.stats" contains all the data needed
for second pass. I tested the target size option before with smaller
values and got pretty exact sizes so it worked. But after encoding three
times with such a big target size I didnt got anything even close to it.
This is very annoying as this encoding took my PC about 30 hours and I
will have to do it again.

So did I do anything wrong or is this a bug in xvid?

Regards

Alexey




More information about the MEncoder-users mailing list