Installation mkvmerge, ffmpeg, mediainfo, yasm, fdk-aac, mediainfo, git, tar, subversion, tesseract-ocr, x265 et sox
Pré-requis:
apt-get update
apt-get install checkinstall wget tar make git subversion mediainfo
apt-get install libtesseract-dev tesseract-ocr
apt-get install build-essential checkinstall git libfaac-dev libjack-jackd2-dev \
libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev \
libva-dev libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev texi2html zlib1g-dev \
libssl-dev libxvidcore-dev libxvidcore4 libass-dev
yasm:
mkdir src
cd src
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar xzvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure
make -j8
checkinstall --pkgname=yasm --pkgversion="1.2.0" --backup=no --deldoc=yes --fstrans=no --default
fdk-aac:
apt-get install pkg-config autoconf automake libtool nasm
cd ~/src
git clone https://github.com/mstorsjo/fdk-aac.git
cd fdk-aac
./autogen.sh
./configure --enable-shared --enable-static
make -j8
checkinstall --pkgname=fdk-aac --pkgversion="99:$(date +%Y%m%d%H%M)-git" --backup=no \
--deldoc=yes --fstrans=no --default
ldconfig
x264:
cd ~/src
git clone https://code.videolan.org/videolan/x264.git
cd x264
./configure --enable-shared
make -j8
checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \
--fstrans=no --default
ldconfig
x265:
apt-get install mercurial cmake cmake-curses-gui build-essential yasm
cd ~/src
git clone https://bitbucket.org/multicoreware/x265_git.git
cd x265_git/build/linux
./make-Makefiles.bash
make -j8
checkinstall --pkgname=x265 --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \
--fstrans=no --default
ldconfig
sox :
git clone https://github.com/jacksonh/sox.git
cd sox
autoreconf -i
./configure && make dist
checkinstall --pkgname=sox --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \
--fstrans=no --default
ldconfig
ffmpeg:
cd ~/src
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb \
--enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 \
--enable-postproc --enable-version3 --enable-libxcb --enable-libxvid \
--enable-libass --enable-nonfree --enable-shared --enable-pic --enable-openssl --arch=amd64
make -j8
checkinstall --pkgname=ffmpeg --pkgversion="99:$(date +%Y%m%d%H%M)-git" --backup=no \
--deldoc=yes --fstrans=no --default
ldconfig
mkvtoolnix:
wget -O /usr/share/keyrings/gpg-pub-moritzbunkus.gpg https://mkvtoolnix.download/gpg-pub-moritzbunkus.gpg
nano /etc/apt/sources.list.d/mkvtoolnix.download.list
deb https://mkvtoolnix.download/debian/ bullseye main
deb-src https://mkvtoolnix.download/debian/ bullseye main
apt-get update && apt-get install mkvtoolnix
Vérification:
lsb_release -da ; x264 -V | head -n1 ; x265 -V | tail -n1 ; ffmpeg -version | head -n1 ; mkvmerge -V | head -n1 ; mediainfo --Version | tail -n1 ; sox --version