Graduate 2008 M5 Students Sports Day
7 July 08 (00:13 EAT)

XviD Movie Help


Xvid is a modern MPEG-4 codec used to compress movies. Xvid has been used on this site where possible because of its combination of small filesize and quality. Furthermore, xvid is open source, and thereby not encumbered by licensing issues, spyware, adware, or other nuisances.

To view xvid movies, you'll need the xvid codec.

Windows Users:

  1. Download the codec:
  2. Install the codec: Double-click on the codec installer you just installed, and follow the on-screen instructions. A few notes:
  3. Play the movie: Click on any of the Xvid movies. Your web browser should open the movie in your default media player. If that doesn't happen:
    1. Save the movie to your desktop (right-click, and "Save Target As...").
    2. Right-click the movie you just downloaded, choose "Open with...", and select "Windows Media Player."

Mac OSX Users:

If your default media player cannot play these files, I'd recommend the following:

  1. Download a media player: One of the following media players may be able to handle the file:
  2. Download the movie: Save the movie to a convenient location.
  3. Play the movie: Open the movie with the media player you just downloaded. You should be able to "drag and drop" the saved movie onto your media player (or its icon).

Linux and Unix Users:

First, see if you can play the movie without any additional setup. If you have mplayer or VLC installed, then you should be able to play the files without any problem.

If you can't play the file but are a root or admin user, then download and install either VLC or Mplayer according to the directions of your distribution.

If you can't play the file and are a non-root / non-admin user, then try the following instructions to locally compile and run mplayer:

  1. Install the mplayer media player:
    1. Download the source code: Go to the mplayer website to download the Mplayer source. (v1.0rc1 at the time this help was written.) Save it in your home directory. (i.e., in ~.)
    2. Extract the source code: Open a terminal window. Assuming the source is named MPlayer-1.0rc1.tar.bz2:

      cd ~/
      bunzip2 MPlayer-1.0rc1.tar.bz2
      tar -xvf MPlayer-1.0rc1.tar

    3. Compile the source:

      cd MPlayer-1.0rc1
      ./configure
      make

    4. Add Mplayer to your path: Assuming you have the pico editor. (You may substitute your editor of choice, such as nedit or vi.) Also assuming that you use bash. (You may need to edit .cshrc instead.)

      cd ~
      pico .bashrc

      Scroll to the bottom of the file, and add the following line:

      export PATH=$PATH:~/MPlayer-1.0rc1/

      Hit ^X to save and exit. Exit the terminal.
  2. Download the movie: Save the movie someplace convenient, such as your home directory ~. Assume that the movie is named movie.avi.
  3. Play the movie: Open a terminal and browse to your movie:

    cd ~
    mplayer movie.avi