VirtualBox

source: vbox/trunk/src/libs/ffmpeg-20060710/tests/test.conf@ 8459

最後變更 在這個檔案從8459是 5776,由 vboxsync 提交於 17 年 前

ffmpeg: exported to OSE

檔案大小: 4.6 KB
 
1#
2# This is a test configuration file. You can invoke it with
3# ../ffserver -f test.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
7#
8
9#
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.
13
14Port 9999
15RTSPPort 9990
16
17# Address on which the server is bound. Only useful if you have
18# several network interfaces.
19
20BindAddress 0.0.0.0
21
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.
25
26MaxClients 1000
27
28MaxBandwidth 100000
29
30# Access Log file (uses standard Apache log file format)
31# '-' is the standard output
32
33CustomLog -
34
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.
40
41<Feed feed1.ffm>
42
43# You must use 'ffmpeg' to send a live feed to ffserver. In this
44# example, you can type:
45#
46# ffmpeg http://localhost:8090/feed1.ffm
47
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
54
55File /tmp/feed.ffm
56FileMaxSize 100M
57
58# Fire up ffmpeg pointing at this stream
59
60Launch ../ffmpeg -loop_input -flags +bitexact -dct fastint -idct simple -y -f pgmyuv -i vsynth1/%02d.pgm
61acl allow localhost
62</Feed>
63
64##################################################################
65# Now you can define each stream which will be generated from the
66# original audio and video stream. Each format has a filename (here
67# 'test128.mpg'). FFServer will send this stream when answering a
68# request containing this filename.
69
70<Stream test_h.avi>
71Feed feed1.ffm
72Format avi
73#
74BitExact
75DctFastint
76IdctSimple
77VideoFrameRate 10
78VideoSize 352x288
79VideoBitRate 100
80VideoGopSize 30
81NoAudio
82
83PreRoll 10
84StartSendOnKey
85MaxTime 100
86
87</Stream>
88
89<Stream test_l.avi>
90Feed feed1.ffm
91Format avi
92#
93BitExact
94DctFastint
95IdctSimple
96VideoFrameRate 2
97VideoSize 320x240
98VideoBitRate 40
99VideoGopSize 20
100NoAudio
101
102PreRoll 20
103StartSendOnKey
104MaxTime 100
105
106</Stream>
107
108#<Stream test_h.mpg>
109#Feed feed1.ffm
110#
111#VideoFrameRate 10
112#VideoSize 352x288
113#VideoBitRate 100
114#VideoGopSize 30
115#NoAudio
116
117#PreRoll 10
118#StartSendOnKey
119#MaxTime 100
120#
121#</Stream>
122#
123#<Stream test_l.mpg>
124#Feed feed1.ffm
125##
126#VideoFrameRate 2
127#VideoSize 320x240
128#VideoBitRate 40
129#VideoGopSize 20
130#NoAudio
131#
132#PreRoll 20
133#StartSendOnKey
134#MaxTime 100
135#
136#</Stream>
137#
138<Stream test.swf>
139Feed feed1.ffm
140#
141BitExact
142DctFastint
143IdctSimple
144Qscale 10
145VideoFrameRate 10
146VideoSize 352x288
147VideoBitRate 100
148VideoGopSize 30
149NoAudio
150
151PreRoll 10
152StartSendOnKey
153MaxTime 100
154
155</Stream>
156
157<Stream test_h.asf>
158Feed feed1.ffm
159Format asf
160#
161BitExact
162DctFastint
163IdctSimple
164Qscale 10
165VideoFrameRate 10
166VideoSize 320x240
167VideoBitRate 100
168VideoGopSize 30
169NoAudio
170
171PreRoll 10
172StartSendOnKey
173MaxTime 100
174
175Title "Test data stream"
176
177</Stream>
178
179<Stream test_l.asf>
180Feed feed1.ffm
181Format asf
182#
183BitExact
184DctFastint
185IdctSimple
186Qscale 10
187VideoFrameRate 2
188VideoSize 320x240
189VideoBitRate 40
190VideoGopSize 20
191NoAudio
192
193PreRoll 20
194StartSendOnKey
195MaxTime 100
196
197Title "Test data stream"
198
199</Stream>
200
201<Stream test_h.rm>
202
203Feed feed1.ffm
204Format rm
205
206BitExact
207DctFastint
208IdctSimple
209Qscale 10
210VideoBitRate 100
211VideoFrameRate 10
212VideoGopSize 30
213VideoSize 320x240
214NoAudio
215
216PreRoll 10
217StartSendOnKey
218MaxTime 100
219
220</Stream>
221
222<Stream test_l.rm>
223
224Feed feed1.ffm
225Format rm
226
227BitExact
228DctFastint
229IdctSimple
230Qscale 10
231VideoBitRate 40
232VideoFrameRate 2
233VideoGopSize 20
234VideoSize 320x240
235NoAudio
236
237PreRoll 20
238StartSendOnKey
239MaxTime 100
240
241</Stream>
242
243
244<Stream test.jpg>
245
246Feed feed1.ffm
247Format jpeg
248Strict -1
249
250BitExact
251DctFastint
252IdctSimple
253VideoFrameRate 1
254VideoSize 352x288
255NoAudio
256
257PreRoll 2
258
259</Stream>
260
261<Stream test_small.jpg>
262
263Feed feed1.ffm
264Format jpeg
265Strict -1
266
267BitExact
268DctFastint
269IdctSimple
270VideoFrameRate 1
271VideoSize 160x128
272NoAudio
273
274PreRoll 2
275
276</Stream>
277
278<Stream test.mjpg>
279
280Feed feed1.ffm
281Format mpjpeg
282Strict -1
283
284BitExact
285DctFastint
286IdctSimple
287VideoFrameRate 1
288VideoSize 320x240
289NoAudio
290StartSendOnKey
291
292PreRoll 1
293MaxTime 100
294
295</Stream>
296
297
298##################################################################
299# Special stream : server status
300
301<Stream teststat.html>
302
303Format status
304
305</Stream>
306
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette