安装ffmpeg
ffmpeg的github源代码路径在 https://github.com/FFmpeg/FFmpeg
git路径:https://github.com/FFmpeg/FFmpeg.git
(1) git clone https://github.com/FFmpeg/FFmpeg.git
(2) sudo apt-get install vim git qt-sdk ctags qtmultimedia5-dev
(3) mkdir opensource
cd openscource
git clone https://github.com/FFmpeg/FFmpeg.git
sudo apt-get install libsdl2-dev
sudo apt-get install libx264-dev
sudo apt-get install libfaac-dev libfdk-aac-dev
./configure --prefix=/usr \
--enable-libx264 --enable-libfdk-aac \
--enable-gpl --enable-nonfree --disable-asm --enable-shared
make
sudo make install