This video shows howto cross compile ffmpeg for Raspberry Pi. The commands can be found below.
Web: http://www.tequnique.com
Raspberry Pi 2: http://goo.gl/r9iQwp
Raspberry Pi 2 Wifi adapter: http://goo.gl/BnHXVl
Raspberry Pi Noir infrared camera: http://goo.gl/Yp6GJO
Comands ##
# FFMPEG
sudo apt-get install subversion texinfo gperf gawk
wget http://crosstool-ng.org/download/cros...
tar xjf crosstool-ng-1.20.0.tar.bz2
cd crosstool-ng-1.20.0
./configure --prefix=/opt/cross
make
sudo make install
export PATH=$PATH:/opt/cross/bin
cd ..
Building the toolchain
mkdir ~/raspberry
cd ~/raspberry
mkdir ffmpeg
cd ffmpeg
mkdir ctng
cd ctng
ct-ng menuconfig
Config as shown in video
ct-ng build
export PATH=$PATH:/home/ham/x-tools/arm-unknown-linux-gnueabi/bin
export CCPREFIX="/home/ham/x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-"
cd ..
git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --enable-cross-compile --cross-prefix=${CCPREFIX} --arch=armel --target-os=linux --prefix=/home/ham/raspberry/ffmpeg/built
make
make install