# Play .wmv and .rm files with Totem

*2005-07-05*

> Enable WMV and RealMedia playback in Totem on Debian and Gentoo GNU/Linux by installing the required codecs.

In this little how-to, I will show you how you can make Totem play files with .wmv (Windows Media Video) and .rm (Real Media) extensions.

For Debian GNU/Linux and other distros:  

1. Download the essential codec pack from the MPlayer site (www.mplayerhq.hu).  

2. Extract the archive into a directory (in my case, `/usr/local/lib/codecs/`).  

3. Make a symbolic link (`ln -s /usr/local/lib/codecs/ /usr/lib/win32`).

If you are using Gentoo Linux:  

1. `echo "media-libs/win32codecs real" >> /etc/portage/package.use`  

2. `emerge win32codecs`

Thumbnail previews for these types of files also work in GNOME.

