What's the difference between H.264, Xvid and MPEG-4? Are they supported by iPod?

H.264 and Xvid are two kinds of MPEG-4. iPod supports all of them and their output effects are more or less the same.