[编辑]第一步:准备编译环境
sudoapt-get update sudo apt-get -y install autoconf automake build-essential git libass-dev libfaac-dev \ libgpac-dev libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev \ librtmp-dev libsdl1.2-dev libspeex-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev \ libx11-dev libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev sudo ldconfig
在home下新建一个目录存放下载的源码:
mkdir ~/ffmpeg-setup