It can be frustrating when videos on your computer wont play. That's because of the many different "codecs" used to make the videos. They have to do with the compression and quality but you probably don't care very much as long as the videos play. Here is a codec thing called "ffdshow" that can decode and encode diferent formats. This has DivX or Xvid in it.
Get ffdshow here.