The fastest and easiest thing you can do is download the VLC Player, which already has the Xvid and X264 Codecs built in / Lo más rápido y fácil que puede hacer es bajar el VLC Player, que ya tiene los Codecs Xvid y X264 incorporados
Or, if you prefer, you can use your favorite search engine and look for either (or both) the X264 codec installation instructions, and the same for the Xvid codec.
O si lo prefiere, puede buscar en su search engine preferido (sea Google, Yahoo, etc,) las instrucciones de instalación del Codec X264, y lo mismo para el Codec Xvid.