Raspberry Pi – How to install ffmpeg on a Pi Zero

  linux, raspberry-pi

Credits: https://www.assetbank.co.uk/support/documentation/install/ffmpeg-debian-squeeze/ffmpeg-debian-jessie/

cd ~
 
mkdir software
cd software/
 
wget http://ffmpeg.org/releases/ffmpeg-2.7.2.tar.bz2


cd src/
tar xvjf ../ffmpeg-2.7.2.tar.bz2
 
cd ffmpeg-2.7.2/
./configure \
--enable-gpl \ 
--enable-libfaac \
--enable-avfilter \
--enable-libmp3lame \
--enable-libtheora \
--enable-libopenjpeg \
--enable-libvorbis \
--enable-libx264 \
--enable-libspeex \
--enable-nonfree
--enable-postproc \
--enable-pthreads \
--enable-shared \ 
--enable-swscale \
 
make
 
# wait a couple of hours
 
sudo make install