Build the libx264 for Raspberry Pi

If you are planning to stream or manipulate h264 codec on Raspberry Pi, you need to build the encoder libx264 for it.

Running the following script, or make it executable,

git clone git://git.videolan.org/x264
cd x264
./configure --host=arm-unknown-linux-gnueabi --enable-static — disable-opencl
make
sudo make install

Have fun :)