PDA

View Full Version : x264 support in Mplayer


Troyman
14th February 2005, 00:15
Hi! Can anybody tell me how can I compile the MPlayer with x264? Is it necessary compile the x264 code before compile the MPlayer?. I mean, when I write the ./configure of Mplayer, the result is: x264....no. I thought that this last version included x264. Thank you very much (and sorry because my awful english)

KpeX
14th February 2005, 00:51
It requires the x264 library to be installed. Steps are:

Download x264 source: svn co svn://svn.videolan.org/x264/trunk x264

untar x264 source, switch to x264 directory and run: make
cp libx264.a /usr/local/lib/
cp x264.h /usr/local/include/

After this mplayer's configure script should detect x264. You can also add switches to the configure script to tell it if you put the header/library files in a non-standard location.

Troyman
14th February 2005, 01:02
thank you!!, I'll prove it!

WelloBanir
9th March 2005, 17:23
Thanks for the instructions. They work.

x264 is still slow, just as on win32.

To use it in mplayer, one has to compile a very recent version of mplayer, from cvs directly or using a cvs-snapshot. 1.0-pre6 is no working with recent versions of x264, at least not without a patch.

When compiling x264, take a look at the Makefile, so you can disable debugging (makes the library smaller).

Or one should use Gentoo-Linux, and search the forums there for x264 to find the ebuilds.