#!/bin/sh
apt-get updateapt-get install -y autoconf automake build-essential libass-dev libfreetype6-dev libtheora-dev libtool libvorbis-dev pkg-config texinfo zlib1g-devapt-get install -y yasmapt-get install -y libx264-devapt-get install -y libopus-devapt-get install -y libmp3lame-dev
mkdir ~/ffmpegmkdir ~/ffmpeg/sources
# libfdk-aaccd ~/ffmpeg/sourceswget -O fdk-aac-0.1.4.tar.gz https://github.com/mstorsjo/fdk-aac/archive/v0.1.4.tar.gztar xzvf fdk-aac-0.1.4.tar.gzcd fdk-aac-0.1.4autoreconf -fiv./configure --prefix="$HOME/ffmpeg/build" --disable-sharedmakemake installmake distclean
# libvpxcd ~/ffmpeg/sourcestar xjvf libvpx-1.4.0.tar.bz2cd libvpx-1.4.0PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg/build" --disable-examples --disable-unit-testsPATH="$HOME/bin:$PATH" makemake installmake clean
cd ~/ffmpeg/sourcestar xjvf ffmpeg-2.8.1.tar.bz2cd ffmpeg-2.8.1PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg/build/lib/pkgconfig" ./configure \ --prefix="$HOME/ffmpeg/build" \ --pkg-config-flags="--static" \ --extra-cflags="-I$HOME/ffmpeg/build/include" \ --extra-ldflags="-L$HOME/ffmpeg/build/lib" \ --bindir="$HOME/bin" \ --enable-gpl \ --enable-libass \ --enable-libfdk-aac \ --enable-libfreetype \ --enable-libmp3lame \ --enable-libopus \ --enable-libtheora \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-nonfreePATH="$HOME/bin:$PATH" makemake installmake distcleanhash -r
Well, until now I’ve basically grabbed the binaries from other sources. It would be nice to auto-build these somehow, but I don’t have a lot of time to look into that (and its not really my expertise).
- Almar
--
You received this message because you are subscribed to the Google Groups "imageio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to imageio+u...@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at http://groups.google.com/group/imageio.
For more options, visit https://groups.google.com/d/optout.