在ubuntu 64bit系统编译最新的ffmpeg的步骤

wget http://www.ffmpeg.org/releases/ffmpeg-2.0.2.tar.gz


tar xvf ffmpeg-2.0.2.tar.gz


sudo apt-get install yasm pkg-config build-essential


 
sudo apt-get install libgsm1-dev libmp3lame-dev libgsm1-dev libfaac-dev libopencore-amrwb-dev librtmp-dev ibopencore-amrnb-dev libschroedinger-dev libtheora-dev libvorbis-dev libx264-dev  libxvidcore-dev  libdc1394-22-dev xorg-dev

 ./configure --prefix=/usr --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaac     --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-x11grab     --enable-libgsm --enable-libx264 --enable-libtheora --enable-libdc1394 --enable-nonfree     --disable-stripping --enable-avfilter --enable-libschroedinger --enable-libopencore-amrnb     --enable-libopencore-amrwb --enable-version3

make -j3

sudo make install

你可能感兴趣的:(在ubuntu 64bit系统编译最新的ffmpeg的步骤)