Debian 7 wheezy - компиляция FFMPEG 3.2.2
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Debian 7 wheezy - компиляция FFMPEG 3.2.2
В данном примере рассмотрим пример компиляции и установки нового пакета ffmpeg на Debian 7
Добавляем дополнительные репозитории:
# vi /etc/apt/sources.list deb http://www.deb-multimedia.org wheezy main non-free deb-src http://www.deb-multimedia.org wheezy main non-free deb http://ftp.debian.org/debian wheezy-backports main
Устанавливаем deb-multimedia-keyring и другие вспомогательные пакеты:
# apt-get update # apt-get -y --force-yes install deb-multimedia-keyring; apt-get update # apt-get install subversion unzip frei0r-plugins-dev libdc1394-22-dev libfaac-dev libmp3lame-dev libx264-dev libdirac-dev libxvidcore-dev libfreetype6-dev libvorbis-dev libgsm1-dev libopencore-amrnb-dev libopencore-amrwb-dev libopenjpeg-dev librtmp-dev libschroedinger-dev libspeex-dev libtheora-dev libva-dev libvpx-dev libvo-amrwbenc-dev libvo-aacenc-dev libaacplus-dev libbz2-dev libgnutls-dev libssl-dev libopenal-dev libv4l-dev libpulse-dev libmodplug-dev libass-dev libcdio-dev libcdio-cdda-dev libcdio-paranoia-dev libvdpau-dev libxfixes-dev libxext-dev libbluray-dev
Компилируем utvideo:
# cd /usr/src # wget http://umezawa.dyndns.info/archive/utvideo/utvideo-11.1.1-src.zip # unzip utvideo-11.1.1-src.zip # cd utvideo-11.1.1 # make # make install
Компилируем xavs:
# cd /usr/src # svn co https://svn.code.sf.net/p/xavs/code/trunk xavs # cd xavs # ./configure --enable-shared --disable-asm # make # make install
Компилируем и устанавливаем ffmpeg 3.2.2:
# cd /usr/src/ # wget -c http://www.ffmpeg.org/releases/ffmpeg-3.2.2.tar.gz # tar -xzvf ffmpeg-3.2.2.tar.gz # cd ffmpeg-3.2.2/ # ./configure --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-x11grab --enable-swscale --enable-version3 --enable-shared --disable-yasm --enable-filter=movie --enable-frei0r --enable-libdc1394 --enable-libmp3lame --enable-libx264 --enable-libfreetype --enable-libvorbis --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvpx --enable-libvo-amrwbenc --enable-libxavs --enable-bzlib # make # make install # ldconfig
Проверяем:
# ffmpeg ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.7 (Debian 4.7.2-5) configuration: --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-x11grab --enable-swscale --enable-version3 --enable-shared --disable-yasm --enable-filter=movie --enable-frei0r --enable-libdc1394 --enable-libmp3lame --enable-libx264 --enable-libfreetype --enable-libvorbis --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvpx --enable-libvo-amrwbenc --enable-libxavs --enable-bzlib libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... Use -h to get full help or, even better, run 'man ffmpeg'