mjpeg codec
This commit is contained in:
parent
73e64ea003
commit
4ef756c526
|
@ -54,14 +54,14 @@ function mesh_install_ffmpeg
|
||||||
{
|
{
|
||||||
chroot "${rootdir}" apt-get -y remove ffmpeg libav-tools
|
chroot "${rootdir}" apt-get -y remove ffmpeg libav-tools
|
||||||
chroot "${rootdir}" apt-get -y install build-essential
|
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
|
mkdir -p ${rootdir}$INSTALL_DIR/ffmpeg-release
|
||||||
cd ${rootdir}$INSTALL_DIR
|
cd ${rootdir}$INSTALL_DIR
|
||||||
wget http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2
|
wget http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2
|
||||||
tar xvjf ffmpeg-${FFMPEG_VERSION}.tar.bz2
|
tar xvjf ffmpeg-${FFMPEG_VERSION}.tar.bz2
|
||||||
chroot ${rootdir} /bin/bash -x <<EOF
|
chroot ${rootdir} /bin/bash -x <<EOF
|
||||||
cd ${INSTALL_DIR}/ffmpeg-${FFMPEG_VERSION}
|
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
|
||||||
make install
|
make install
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue