ffmpeg version 3.1.2

This commit is contained in:
Bob Mottram 2016-08-10 08:10:06 +01:00
parent b987c5f2b8
commit 6f0f37757e
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 4 additions and 3 deletions

View File

@ -48,6 +48,7 @@ TOXIC_FILE=/usr/local/bin/toxic
QTOX_REPO="https://github.com/bashrc/qTox"
QTOX_COMMIT='4f1e185f2c8422521a053298f774f83193c3d5b6'
FFMPEG_VERSION=3.1.2
function mesh_install_ffmpeg
{
@ -56,10 +57,10 @@ function mesh_install_ffmpeg
chroot "${rootdir}" apt-get -y install --reinstall libmp3lame-dev libvorbis-dev libtheora-dev libspeex-dev yasm pkg-config libopenjpeg-dev libx264-dev
mkdir -p ${rootdir}$INSTALL_DIR/ffmpeg-release
cd ${rootdir}$INSTALL_DIR
wget http://ffmpeg.org/releases/ffmpeg-3.1.tar.bz2
tar xvjf ffmpeg-3.1.tar.bz2
wget http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2
tar xvjf ffmpeg-${FFMPEG_VERSION}.tar.bz2
chroot ${rootdir} /bin/bash -x <<EOF
cd ${INSTALL_DIR}/ffmpeg-3.1
cd ${INSTALL_DIR}/ffmpeg-${FFMPEG_VERSION}
./configure --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libspeex --enable-shared --enable-pthreads --enable-libopenjpeg
make
make install