rasyberry install ffmpeg with h264 support

reference: https://www.oodlestechnologies.com/blogs/Configure-FFmpeg-with-H264-Codec-on-Raspberry-Pi-3

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

git clone --depth 1 git://git.videolan.org/x264
cd x264
./configure –host=arm-unknown-linux-gnueabi –enable-static –disable-opencl
make -j4
sudo make install
sudo apt-get install libmp3lame-dev -y
git clone –depth=1 git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure –arch=armel –target-os=linux –enable-gpl –enable-libx264 –enable-libmp3lame –enable-nonfree
make -j4
sudo make install

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.