subversion クライアントをインストールしてあれば、以下のコマンドで最新の x264 ソースコードがダウンロードできます。:
svn co svn://svn.videolan.org/x264/trunk x264
x264 のAPI に変更があれば MPlayer のソースコードも追随しますから、MPlayerも常にSVN版を使うのが良いでしょう。おそらくこの状況は x264が「リリース」されたら変わると思いますが、それまでの間 x264 は極めて「unstable」と考えるべきでしょう。というのは、プログラミング・インタフェイスが変わる事があるからです[*1]。
x264のビルドとインストール方法は標準的なものです:
./configure && make && sudo make install
これで libx264.a が /usr/local/lib
に、そして x264.h が /usr/local/include
にインストールされます。
x264 のライブラリとヘッダが標準的な場所にあれば、x264 をサポートする MPlayer のビルドは簡単です。通常通り:
./configure && make && sudo make install
これでMEncoderの./configureスクリプトがx264を自動検出します。これで準備は完了。
http://www.mplayerhq.hu/DOCS/HTML/en/video-codecs.html#codec-x264-encode
If you have the subversion client installed, the latest x264 sources can be gotten with this command:
svn co svn://svn.videolan.org/x264/trunk x264
MPlayer sources are updated whenever an x264 API change occurs, so it is always suggested to use MPlayer from Subversion as well. Perhaps this situation will change when and if an x264 “release“ occurs. Meanwhile, x264 should be considered very unstable, in the sense that its programming interface is subject to change.
x264 is built and installed in the standard way:
./configure && make && sudo make install
This installs libx264.a in /usr/local/lib and x264.h is placed in /usr/local/include. With the x264 library and header placed in the standard locations, building MPlayer with x264 support is easy. Just run the standard:
./configure && make && sudo make install
The ./configure script will autodetect that you have satisfied the requirements for x264.