i would recommend trying the program "sompy". I had really good results when I was playing with it. also there is a video encoding article i wrote here in the multimedia section somewhere, you might want to also check that out
EDIT: video encoding guide
_________________
Smartphone Thoughts
Contributing Editor