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
17 # Address on which the server is bound. Only useful if you have
18 # several network interfaces.
20 HTTPBindAddress 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
30 # Access Log file (uses standard Apache log file format)
31 # '-' is the standard output
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.
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
58 # Fire up ffmpeg pointing at this stream
60 Launch ./ffmpeg -v 0 -y -f image2 -i tests/vsynth1/%02d.pgm
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.
176 AVOptionVideo flags +global_header
178 Metadata title "Test data stream"
200 AVOptionVideo flags +global_header
202 Metadata title "Test data stream"
266 <Stream test_small.jpg>
303 ##################################################################
304 # Special stream : server status
306 <Stream teststat.html>