blob: 2abc9dc358b40d3de2c2d08ac6906d8081b6eff9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#!/bin/bash
if [ ! -d bin_Win32/lib ]
then
mkdir -p bin_Win32/lib
fi
if [ ! -d bin_Win32d/lib ]
then
mkdir -p bin_Win32d/lib
fi
cd ffmpeg
make distclean
OPTIONS="
--enable-shared \
--enable-gpl \
--enable-w32threads \
--enable-runtime-cpudetect \
--enable-asm \
--enable-zlib \
--enable-swscale \
--enable-avfilter \
--disable-filters \
--enable-filter=yadif \
--enable-filter=buffer \
--enable-filter=buffersink \
--disable-protocols \
--enable-protocol=file \
--disable-muxers \
--enable-muxer=spdif \
--disable-swresample \
--disable-postproc \
--disable-static \
--disable-altivec \
--disable-encoders \
--disable-debug \
--disable-ffplay \
--disable-ffserver \
--disable-ffmpeg \
--disable-avconv \
--disable-ffprobe \
--disable-devices \
--disable-avdevice \
--disable-hwaccels \
--disable-bsfs \
--disable-network \
--arch=x86 --cpu=i686 --target-os=mingw32 \
--build-suffix=-lav"
./configure --extra-cflags="-mmmx -msse" ${OPTIONS} &&
make -j8 &&
cp lib*/*-lav-*.dll ../bin_Win32 &&
cp lib*/*.lib ../bin_Win32/lib &&
cp lib*/*-lav-*.dll ../bin_Win32d &&
cp lib*/*.lib ../bin_Win32d/lib &&
cd ..
|