Log in

View Full Version : latest rev of x264 for linux?


gronne
25th May 2008, 14:40
I'm a newbie(or not really, but I never learn anything:)), but if I'd like to use the latest revisions of x264(859, I think) for linux, how do I do? If it's about compiling code, I'd need a tutor.

microchip8
25th May 2008, 14:44
install git on your system, open up a console and type in this

git clone git://git.videolan.org/x264.git

this will put an x264 directory in your home directory. 'cd' to it and type:

./configure --enable-pthread --enable-pic --enable-shared
make
su
make install

of course to compile from sources you'll need GCC, yasm, and Make

Dark Shikari
25th May 2008, 18:04
If you need PIC the configure script should enable it automatically; it has a performance penalty so it shouldn't be enabled unless you have to.

Pthreads is enabled by default.

Note of course that yasm 0.6.2 or later is required.