Configure FFmpeg with H264 Codec on Raspberry Pi 3
Posted By : Chandan Kumar Singh | 28-Dec-2016
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://git.videolan.org/x264
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
cd
git clone --depth=1 git://source.ffmpeg.org/ffmpeg.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.
Thanks
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
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.