Why online? You could just upload to YouTube and download the MP4. If you need a server component, use FFMPEG (which is what Handbrake is a GUI of).
This program works great.http://easyhtml5video.com/
Blender3d also provides a GUI for FFmpeg in their video output. I've used it to transcode video for the web before. Works great.