Use debian ffmpeg package

This commit is contained in:
Bob Mottram 2017-06-19 10:32:34 +01:00
parent 57467f450a
commit 582cbe99d9
1 changed files with 8 additions and 2 deletions

View File

@ -30,8 +30,7 @@
FFMPEG_VERSION=3.1.2 FFMPEG_VERSION=3.1.2
function mesh_install_ffmpeg function mesh_install_ffmpeg_old {
{
chroot "${rootdir}" apt-get -yq remove ffmpeg libav-tools chroot "${rootdir}" apt-get -yq remove ffmpeg libav-tools
chroot "${rootdir}" apt-get -yq install build-essential chroot "${rootdir}" apt-get -yq install build-essential
chroot "${rootdir}" apt-get -yq install --reinstall libmp3lame-dev libvorbis-dev libtheora-dev libspeex-dev yasm pkg-config libopenjp2-7-dev libx264-dev mjpegtools libmjpegtools-dev chroot "${rootdir}" apt-get -yq install --reinstall libmp3lame-dev libvorbis-dev libtheora-dev libspeex-dev yasm pkg-config libopenjp2-7-dev libx264-dev mjpegtools libmjpegtools-dev
@ -49,5 +48,12 @@ EOF
chroot "${rootdir}" ldconfig chroot "${rootdir}" ldconfig
} }
function mesh_install_ffmpeg {
chroot "${rootdir}" apt-get -yq install build-essential
chroot "${rootdir}" apt-get -yq install ffmpeg libmp3lame-dev libvorbis-dev libtheora-dev
chroot "${rootdir}" apt-get -yq install libspeex-dev yasm pkg-config libopenjp2-7-dev
chroot "${rootdir}" apt-get -yq install libx264-dev mjpegtools libmjpegtools-dev libav-tools
}
# NOTE: deliberately there is no "exit 0" # NOTE: deliberately there is no "exit 0"