H.264/MPEG-4 AVCエンコーダx264について。
gitのソースからのビルド・インストール
ビルド時にYasmアセンブラを使用する場合はあらかじめYasmをインストールしておく。
ソースのチェックアウトとconfigure。
git clone git://git.videolan.org/x264.git
cd x264/
./configure --extra-cflags="-march=athlon64" --enable-shared
configureの結果例。
Platform: X86_64
System: LINUX
asm: yes
avis input: no
mp4 output: no
pthread: yes
debug: no
gprof: no
PIC: yes
shared: yes
visualize: no
You can run 'make' or 'make fprofiled' now.
問題が無ければ、make、make installする。
make
sudo make install