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.


About Author

Author Image
Chandan Kumar Singh

Chandan is a bright Web Developer with expertise in Java and Spring framework and ORM tools Hibernate. He loves technologies like Blockchain and IoT.

Request for Proposal

Name is required

Comment is required

Sending message..