Handbrake is definitely your best option. Free. Open source. That means that people are always on top of things and they have a great forum community that offers help for you encoding needs. Handbrake is always being supported/updated and has the best selection of easy to use pre-set options for various devices I've seen including all kinds of iPods, PSP, etc.