Try Total Video Converter - I got a copy and I just checked it does H.264, plus it supports practically every audio and video format out there.
Although you'll have to buy it/look for a crack/look for a torrent to get around the watermarks. But it is really worth it IMO, and is fantastic software.
PM me if you want some help finding it...
