Configure FFmpeg with H264 Codec on Raspberry Pi 3

Posted By Chandan Kumar Singh | 28-Dec-2016

Configure FFmpeg with h264 codec Codec on Raspberry Pi 3

We will install x264 codec from videolan org, as you know x264 codec is very popular nowdays.

Open a terminal, Ctrl-Alt+T

I suppose you are on pi user.

 git clone --depth 1 git://
Cd x264
./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl
make -j2
sudo make install 

We have installed x264 codec successfuly. now one more lib we will install called libmp3.

 sudo apt-get install libmp3lame-dev -y

We have installed libmp3. Now ffmpeg

git clone --depth=1 git://
cd ffmpg
./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-libmp3lame --enable-nonfree 
make -j2
sudo make install

We have done.


Request for Proposal

Recaptcha is required.

Sending message..