Use debian ffmpeg package
This commit is contained in:
parent
57467f450a
commit
582cbe99d9
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue