Move/add COSTABLE/SINTABLE macros to dsputil to add extern definitions
[FFMpeg-mirror/lagarith.git] / tests / ffserver.conf
blob1e6994aa1cfd4decb36292f2e09cdd3cfc44de53
2 # This is a test configuration file. You can invoke it with
3 # ../ffserver -f ffserver.conf
4 # when in the tests directory and once the vsynth1 subdirectory
5 # has been populated. Then point your browser at http://whatever:9999/teststat.html
6 # and you can look at the streams
10 # Port on which the server is listening. You must select a different
11 # port from your standard http web server if it is running on the same
12 # computer.
14 Port 9999
15 RTSPPort 9990
17 # Address on which the server is bound. Only useful if you have
18 # several network interfaces.
20 BindAddress 0.0.0.0
22 # Number of simultaneous requests that can be handled. Since FFServer
23 # is very fast, this limit is determined mainly by your Internet
24 # connection speed.
26 MaxClients 1000
28 MaxBandwidth 100000
30 # Access Log file (uses standard Apache log file format)
31 # '-' is the standard output
33 CustomLog -
35 ##################################################################
36 # Definition of the live feeds. Each live feed contains one video
37 # and/or audio sequence coming from an ffmpeg encoder or another
38 # ffserver. This sequence may be encoded simultaneously with several
39 # codecs at several resolutions.
41 <Feed feed1.ffm>
43 # You must use 'ffmpeg' to send a live feed to ffserver. In this
44 # example, you can type:
46 # ffmpeg http://localhost:8090/feed1.ffm
48 # ffserver can also do time shifting. It means that it can stream any
49 # previously recorded live stream. The request should contain:
50 # "http://xxxx?date=[YYYY-MM-DDT][[HH:]MM:]SS[.m...]".You must specify
51 # a path where the feed is stored on disk. You also specify the
52 # maximum size of the feed (100M bytes here). Default:
53 # File=/tmp/feed_name.ffm FileMaxSize=5M
55 File tests/feed1.ffm
56 FileMaxSize 100M
58 # Fire up ffmpeg pointing at this stream
60 Launch ./ffmpeg -v 0 -y -f pgmyuv -i tests/vsynth1/%02d.pgm
62 ACL allow localhost
63 </Feed>
65 ##################################################################
66 # Now you can define each stream which will be generated from the
67 # original audio and video stream. Each format has a filename (here
68 # 'test128.mpg'). FFServer will send this stream when answering a
69 # request containing this filename.
71 <Stream test_h.avi>
72 Feed feed1.ffm
73 Format avi
75 BitExact
76 DctFastint
77 IdctSimple
78 VideoFrameRate 10
79 VideoSize 352x288
80 VideoBitRate 100
81 VideoGopSize 30
82 NoAudio
84 PreRoll 10
85 StartSendOnKey
86 MaxTime 100
88 </Stream>
90 <Stream test_l.avi>
91 Feed feed1.ffm
92 Format avi
94 BitExact
95 DctFastint
96 IdctSimple
97 VideoFrameRate 2
98 VideoSize 320x240
99 VideoBitRate 40
100 VideoGopSize 20
101 NoAudio
103 PreRoll 20
104 StartSendOnKey
105 MaxTime 100
107 </Stream>
109 #<Stream test_h.mpg>
110 #Feed feed1.ffm
112 #VideoFrameRate 10
113 #VideoSize 352x288
114 #VideoBitRate 100
115 #VideoGopSize 30
116 #NoAudio
118 #PreRoll 10
119 #StartSendOnKey
120 #MaxTime 100
122 #</Stream>
124 #<Stream test_l.mpg>
125 #Feed feed1.ffm
127 #VideoFrameRate 2
128 #VideoSize 320x240
129 #VideoBitRate 40
130 #VideoGopSize 20
131 #NoAudio
133 #PreRoll 20
134 #StartSendOnKey
135 #MaxTime 100
137 #</Stream>
139 <Stream test.swf>
140 Feed feed1.ffm
142 BitExact
143 DctFastint
144 IdctSimple
145 Qscale 10
146 VideoFrameRate 10
147 VideoSize 352x288
148 VideoBitRate 100
149 VideoGopSize 30
150 NoAudio
152 PreRoll 10
153 StartSendOnKey
154 MaxTime 100
156 </Stream>
158 <Stream test_h.asf>
159 Feed feed1.ffm
160 Format asf
162 BitExact
163 DctFastint
164 IdctSimple
165 Qscale 10
166 VideoFrameRate 10
167 VideoSize 320x240
168 VideoBitRate 100
169 VideoGopSize 30
170 NoAudio
172 PreRoll 10
173 StartSendOnKey
174 MaxTime 100
176 Title "Test data stream"
178 </Stream>
180 <Stream test_l.asf>
181 Feed feed1.ffm
182 Format asf
184 BitExact
185 DctFastint
186 IdctSimple
187 Qscale 10
188 VideoFrameRate 2
189 VideoSize 320x240
190 VideoBitRate 40
191 VideoGopSize 20
192 NoAudio
194 PreRoll 20
195 StartSendOnKey
196 MaxTime 100
198 Title "Test data stream"
200 </Stream>
202 <Stream test_h.rm>
204 Feed feed1.ffm
205 Format rm
207 BitExact
208 DctFastint
209 IdctSimple
210 Qscale 10
211 VideoBitRate 100
212 VideoFrameRate 10
213 VideoGopSize 30
214 VideoSize    320x240
215 NoAudio
217 PreRoll 10
218 StartSendOnKey
219 MaxTime 100
221 </Stream>
223 <Stream test_l.rm>
225 Feed feed1.ffm
226 Format rm
228 BitExact
229 DctFastint
230 IdctSimple
231 Qscale 10
232 VideoBitRate 40
233 VideoFrameRate 2
234 VideoGopSize 20
235 VideoSize    320x240
236 NoAudio
238 PreRoll 20
239 StartSendOnKey
240 MaxTime 100
242 </Stream>
245 <Stream test.jpg>
247 Feed feed1.ffm
248 Format jpeg
249 Strict -1
251 BitExact
252 DctFastint
253 IdctSimple
254 VideoFrameRate 1
255 VideoSize 352x288
256 NoAudio
258 PreRoll 2
260 </Stream>
262 <Stream test_small.jpg>
264 Feed feed1.ffm
265 Format jpeg
266 Strict -1
268 BitExact
269 DctFastint
270 IdctSimple
271 VideoFrameRate 1
272 VideoSize 160x128
273 NoAudio
275 PreRoll 2
277 </Stream>
279 <Stream test.mjpg>
281 Feed feed1.ffm
282 Format mpjpeg
283 Strict -1
285 BitExact
286 DctFastint
287 IdctSimple
288 VideoFrameRate 1
289 VideoSize    320x240
290 NoAudio
291 StartSendOnKey
293 PreRoll 1
294 MaxTime 100
296 </Stream>
299 ##################################################################
300 # Special stream : server status
302 <Stream teststat.html>
304 Format status
306 </Stream>