mjpeg codec

This commit is contained in:
Bob Mottram 2016-08-22 21:44:19 +01:00
parent 73e64ea003
commit 4ef756c526
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 2 additions and 2 deletions

View File

@ -54,14 +54,14 @@ function mesh_install_ffmpeg
{
chroot "${rootdir}" apt-get -y remove ffmpeg libav-tools
chroot "${rootdir}" apt-get -y install build-essential
chroot "${rootdir}" apt-get -y install --reinstall libmp3lame-dev libvorbis-dev libtheora-dev libspeex-dev yasm pkg-config libopenjpeg-dev libx264-dev
chroot "${rootdir}" apt-get -y install --reinstall libmp3lame-dev libvorbis-dev libtheora-dev libspeex-dev yasm pkg-config libopenjpeg-dev libx264-dev mjpegtools libmjpegtools-dev
mkdir -p ${rootdir}$INSTALL_DIR/ffmpeg-release
cd ${rootdir}$INSTALL_DIR
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-${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 --enable-ffplay
./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 --enable-ffplay --enable-encoder=mjpeg --enable-decoder=mjpeg
make
make install
EOF