Archive for the ‘MPlayer’ Category
11 September 2010 Leave a comment
MPlayer is a program for playing music and video files, and much more. I occasionally compile MPlayer twice or three times a year. Below are the steps I use, collected together so I don’t lose them.
- Download the binary codecs. I usually choose the latest version of all codecs as packaged in the tarball all-20*. As of this writing, the latest comprehensive binary codecs package for Linux is all-20100303.tar.bz2.
- Download the MPlayer source from the SVN repository:
$ svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
- As root, install the binary codecs:
$ sudo mkdir /usr/local/lib/codecs/ $ sudo cp -rf all-20100303/* /usr/local/lib/codecs/ $ sudo ln -s /usr/local/lib/codecs /usr/lib/win32
- As a normal user, cd into the top-level directory of the MPlayer source distribution and configure MPlayer:
$ ./configure --enable-largefiles --enable-menu --prefix=$HOME/usr
- Now compile and install:
$ make $ make install