Skip to content
Snippets Groups Projects
Unverified Commit 6f0f3775 authored by Bob Mottram's avatar Bob Mottram
Browse files

ffmpeg version 3.1.2

parent b987c5f2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment