http://www.64k.it/andres/xvid_encraw-23022006.zip

Command line driven, also works natively with Avisynth .AVS files


Here's an example of use:

xvid_encraw.exe -i input.avs -type 2 -avi output.avi -framerate 29.970000 -qtype 1 -lumimasking -bitrate 2630