it highly depends on the player/encoder
if you're going to use mplayer, you'll need to first compile the specific xvid-codec (sorry, dunno where to get koepi's build, google for it, but be sure it's the source-release for linux, most probable a *.tar.gz or *.tar.bz2)
and then you'll have to...