mcfadden / PiSetup

A collection of instructions and scripts to simplify setting up Raspberry Pis
MIT License
0 stars 1 forks source link

FFMpeg #3

Open mcfadden opened 7 years ago

mcfadden commented 7 years ago

https://www.bitpi.co/2015/08/19/how-to-compile-ffmpeg-on-a-raspberry-pi/

I want libfaac support, so #5 is a prerequisite to this.

My notes on installing ffmpeg on a Pi:

cd ~;
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg;

Configure:

cd ffmpeg;
./configure --enable-libfreetype --enable-gpl --enable-nonfree --enable-libx264 --enable-libass --enable-libfaac --enable-libmp3lame --bindir="/usr/local/bin"

Make:

make

Go get a beer. (Seriously. This takes a long time)

Install:

sudo make install

Test

ffmpeg -version