diff --git a/src/freedombone-utils-ffmpeg b/src/freedombone-utils-ffmpeg index 3df5ff4e..21216cec 100755 --- a/src/freedombone-utils-ffmpeg +++ b/src/freedombone-utils-ffmpeg @@ -30,8 +30,7 @@ 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 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 @@ -49,5 +48,12 @@ EOF 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"