xvidenc/h264enc/divxenc can do directory batch encodings (choose as input type "dir") and since you're already an xvidenc & h264enc user, I recommend you try it. In batch mode, it will encode all files from the directory you give it with the settings you choose applied to all files