Install FFMEG On Raspberry Pi

Copy and Paste

Advertisements

Copy all this code and paste on terminal

sudo apt-get update
sudo apt-get upgrade
cd
mkdir source
cd source
git clone --depth 1 git://git.videolan.org/x264
cd x264
./configure --host=arm-unknown-linux-gnueabi --enable-shared --enable-static --disable-opencl --prefix=/usr
make -j 4
sudo make install
wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.tar.gz
tar xzvf lame-3.99.tar.gz
cd lame-3.99
./configure --prefix=/usr --enable-shared
make
sudo make install
git clone --depth=1 git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --enable-shared --prefix=/usr --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-libmp3lame --enable-nonfree --enable-omx --enable-omx-rpi
make -j4
sudo make install
sudo ldconfig
cd
sudo rm -rf source
sudo reboot
exit

 

Credits to Sebastian’s Technology Blog

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s