编译:

git clone https://git.ffmpeg.org/ffmpeg.git

./configure --prefix=/home --enable-shared --disable-static
make

安装:

make install


默认安装路径见:
/usr/local/bin

/usr/local/include

/usr/local/lib

/usr/local/main/man1

/usr/local/main/man3


有 --prefix 参数的安装路径:

[prefix]/bin

[prefix]/include

[prefix]/lib

[prefix]/man/man1

[prefix]/man/man3

官方DEMO:

demo源码:

\ffmpeg\doc\examples


demo编译:

cd [prefix]/share/example

make