This is what I currently use:
start /wait mencoder.exe -priority idle -oac mp3lame -mc 0 -lameopts preset=71:aq=0:mode=0 -ovc copy -o mixed-a.avi Input.avi
start /wait mencoder.exe -priority idle -vf decimate=30:0:0:1 -vf scale=320:240 -sws 9 -aspect 4:3 -oac copy -mc 0 -ovc x264 -x264encopts qp=20:pass=1 -o Video-comp-1stpass.avi mixed-a.avi -sub subtitle.sub -subfont-text-scale 4 -sub-bg-alpha 15 -font ./mplayer/subfont.ttf
start /wait mencoder.exe -aspect 4:3 -vf decimate=30:0:0:1 -priority idle -oac copy -mc 0 -ovc x264 -x264encopts bitrate=400:pass=3:frameref=15:qcomp=1:ratetol=100:me=umh:me_range=64:subq=7:8x8dct:mixed_refs:fast_pskip=no -o Video-comp.avi Video-comp-1stpass.avi -sub subtitle.sub -subfont-text-scale 4 -sub-bg-alpha 15 -font ./mplayer/subfont.ttf
start /wait mencoder.exe -aspect 4:3 -vf decimate=30:0:0:1 -priority idle -oac copy -mc 0 -ovc x264 -x264encopts bitrate=400:pass=3:frameref=15:qcomp=1:ratetol=100:me=umh:me_range=64:subq=7:8x8dct:mixed_refs:fast_pskip=no -o Video-comp.avi Video-comp-1stpass.avi -sub subtitle.sub -subfont-text-scale 4 -sub-bg-alpha 15 -font ./mplayer/subfont.ttf
start /wait mencoder.exe -aspect 4:3 -vf decimate=30:0:0:1 -priority idle -oac copy -mc 0 -ovc x264 -x264encopts bitrate=400:pass=3:frameref=15:qcomp=1:ratetol=100:me=umh:me_range=64:subq=7:8x8dct:mixed_refs:fast_pskip=no -o Video-comp.avi Video-comp-1stpass.avi -sub subtitle.sub -subfont-text-scale 4 -sub-bg-alpha 15 -font ./mplayer/subfont.ttf
It makes the first second blurry, no matter how many times I run the nth pass. A bitrate of above 400 makes it over 4 MB/min. A bitrate of 700 solves the blur problem, but it's way too large..
Help? D: