-
Notifications
You must be signed in to change notification settings - Fork 5
/
ffmpeg.cfg
149 lines (127 loc) · 4.41 KB
/
ffmpeg.cfg
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[buildout]
parts =
yasm-build
pcre-source
x264-build
ogg-build
vorbis-build
theora-build
faac-build
faad-build
vpx-build
lame-build
ffmpeg-build
ffmpeg
qt-faststart
[downloads]
yasm = http://www.tortall.net/projects/yasm/releases/yasm-1.0.1.tar.gz
ffmpeg = http://www.ffmpeg.org/releases/ffmpeg-0.10.3.tar.gz
x264 = http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120513-2245-stable.tar.bz2
libogg = http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz
libvorbis = http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.gz
libtheora = http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2
libfaac = http://downloads.sourceforge.net/faac/faac-1.28.tar.bz2
libfaad = http://downloads.sourceforge.net/faac/faad2-2.7.tar.bz2
liblame = http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz?use_mirror=ohv
mp4v2 = http://mp4v2.googlecode.com/files/mp4v2-1.9.1.tar.bz2
libvpx = http://webm.googlecode.com/files/libvpx-v1.1.0.tar.bz2
[build]
cpu = i686
target = linux26
extra-cflags="-I${buildout:directory}/parts/x264-build/include
-I${buildout:directory}/parts/ogg-build/include
-I${buildout:directory}/parts/theora-build/include
-I${buildout:directory}/parts/lame-build/include
-I${buildout:directory}/parts/faac-build/include
-I${buildout:directory}/parts/faad-build/include
-I${buildout:directory}/parts/vpx-build/include
-I${buildout:directory}/parts/vorbis-build/include"
extra-ldflags="-L${buildout:directory}/parts/x264-build/lib
-L${buildout:directory}/parts/ogg-build/lib
-L${buildout:directory}/parts/theora-build/lib
-L${buildout:directory}/parts/lame-build/lib
-L${buildout:directory}/parts/faac-build/lib
-L${buildout:directory}/parts/faad-build/lib
-L${buildout:directory}/parts/vpx-build/lib
-L${buildout:directory}/parts/vorbis-build/lib"
[yasm-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:yasm}
[asmenv]
PATH = ${buildout:directory}/parts/yasm-build/bin:%(PATH)s
[x264-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:x264}
configure-options =
--enable-shared
environment-section =
asmenv
[ogg-build]
recipe = hexagonit.recipe.cmmi
keep-compile-dir = true
url = ${downloads:libogg}
[vorbis-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:libvorbis}
keep-compile-dir = true
configure-options =
LD_LIBRARY_PATH=${buildout:directory}/parts/ogg-build/lib
--with-ogg=${buildout:directory}/parts/ogg-build/
[theora-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:libtheora}
keep-compile-dir = true
configure-options =
LD_LIBRARY_PATH=${buildout:directory}/parts/ogg-build/lib
--with-ogg=${buildout:directory}/parts/ogg-build/
[mp4v2-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:mp4v2}
[faac-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:libfaac}
configure-options =
--without-mp4v2
[faad-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:libfaad}
[vpx-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:libvpx}
configure-options =
--enable-pic
environment-section =
asmenv
[lame-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:liblame}
[ffmpeg-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:ffmpeg}
keep-compile-dir = true
make-targets =
tools/qt-faststart
install
configure-options =
--extra-cflags=${build:extra-cflags}
--extra-ldflags=${build:extra-ldflags}
--enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libx264
--enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-filters --enable-avfilter
--enable-libvpx
# --enable-libxvid --enable-x11grab --enable-libopencore-amrwb --enable-libopencore-amrnb
environment-section =
asmenv
[ffmpeg]
recipe = collective.recipe.cmd
cmds = ln -s ${buildout:directory}/parts/ffmpeg-build/bin/ffmpeg ${buildout:directory}/bin/ffmpeg
on_install = true
on_update = true
[qt-faststart]
recipe = collective.recipe.cmd
cmds = cp ${ffmpeg-build:compile-directory}/ffmpeg*/tools/qt-faststart ${buildout:directory}/bin/qt-faststart
on_install = true
on_update = true
[pcre-source]
recipe = hexagonit.recipe.download
url = http://ftp.exim.llorien.org/pcre/pcre-8.00.tar.gz
strip-top-level-dir = true