wiki:

CompilationGuide

/

Quick

/

libx264


Version 3 (modified by burek, 5 years ago) (diff)

the url was incorrect (was linking to ffmpeg not x264)

In order to quickly compile your libx264, you can type the following commands in your shell:

# cd /my/path/where/i/keep/compiled/stuff
# git clone git://git.videolan.org/x264.git
# cd x264
# ./configure --enable-static --enable-shared
# make
# make install
# ldconfig

P.S. If you are using Ubuntu, you'll most probably have to use sudo for the last 2 commands, like:

# sudo make install
# sudo ldconfig