Recognizes if input is ogg or not.
[xiph/unicode.git] / ffmpeg2theora / get_ffmpeg_svn.sh
blob208707d70ac54529bffcd6baa5db7e4ae64286f8
1 #!/bin/sh
3 #optional, if you have those libs installed:
4 #apt-get install libamrnb-dev libamrwb-dev
5 #extra=" --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-amr_if2"
7 #apt-get install liba52-dev libfaad-dev libgsm1-dev
8 #extra=" --enable-liba52 --enable-libfaad --enable-libgsm"
10 common="--enable-gpl --enable-swscale --enable-postproc --disable-encoders --enable-libvorbis"
12 #linux
13 options="$common --enable-pthreads $extra"
15 #mingw32
16 uname | grep MINGW && options="$common --enable-memalign-hack --enable-mingw32 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib $extra"
18 svn co svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
19 cd ffmpeg && ./configure $options && make