Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2010-08-03 14:04:41 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2010-08-03 14:04:41 +0400
commit9502145c967be8da12f876ec8c064f89ec51d0fd (patch)
tree07585bce44bd5c78f3cc2aa76613429c5674588d /build_ff_win32.sh
parent3e3f4e544bf9bbb1aa1c369f83c68d1416e57904 (diff)
Added ffmpeg build script
Diffstat (limited to 'build_ff_win32.sh')
-rw-r--r--build_ff_win32.sh49
1 files changed, 49 insertions, 0 deletions
diff --git a/build_ff_win32.sh b/build_ff_win32.sh
new file mode 100644
index 00000000..4001cfb2
--- /dev/null
+++ b/build_ff_win32.sh
@@ -0,0 +1,49 @@
+#!/bin/bash
+
+cd ffmpeg
+
+if [ -d .libs ]
+then
+rm -r .libs
+fi
+
+make distclean
+
+OPTIONS="
+--enable-shared \
+--enable-memalign-hack \
+--enable-gpl \
+--enable-w32threads \
+--enable-runtime-cpudetect \
+--disable-postproc \
+--enable-zlib \
+--disable-static \
+--disable-altivec \
+--disable-muxers \
+--disable-encoders \
+--disable-debug \
+--enable-ffplay \
+--disable-ffserver \
+--disable-ffmpeg \
+--enable-ffprobe \
+--disable-devices \
+--disable-filters \
+--disable-avfilter \
+--disable-swscale \
+--disable-avdevice \
+--disable-hwaccels \
+--disable-bsfs"
+
+./configure --extra-cflags="-U__STRICT_ANSI__ -fno-strict-aliasing -fno-common" ${OPTIONS} &&
+
+make -j3 &&
+mkdir .libs &&
+cp lib*/*-*.dll .libs/ &&
+cp lib*/*.def .libs/ &&
+cp lib*/*.lib .libs/ &&
+cp lib*/*.exp .libs/ &&
+cp .libs/* ../lib
+cp .libs/*.dll ../bin
+cp libavutil/avconfig.h include/libavutil/
+
+cd ..