get_ffmpeg_svn.sh 655 Bytes
Newer Older
1
#!/bin/sh
2

3
#optional, if you have those libs installed:
Jan Gerber's avatar
Jan Gerber committed
4
#extra=" --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-amr_if2"
5

Jan Gerber's avatar
Jan Gerber committed
6
7
8
9
#apt-get install liba52-dev libfaad-dev libgsm1-dev
#extra=" --enable-liba52 --enable-libfaad --enable-libgsm"

common="--enable-gpl --enable-swscale --enable-postproc --disable-encoders --enable-libvorbis"
10
11
12
13
14
15
16

#linux
options="$common --enable-pthreads $extra"

#mingw32
uname | grep MINGW && options="$common --enable-memalign-hack --enable-mingw32 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib $extra"

Jan Gerber's avatar
Jan Gerber committed
17
svn co svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
18
cd ffmpeg && ./configure $options && make