1 # Port on which the server is listening. You must select a different
2 # port from your standard http web server if it is running on the same
7 # Address on which the server is bound. Only useful if you have
8 # several network interfaces.
12 # Number of simultaneous requests that can be handled. Since FFServer
13 # is very fast, this limit is determined mainly by your Internet
18 # This the maximum amount of kbit/sec that you are prepared to
19 # consume when streaming to clients
23 # Access Log file (uses standard Apache log file format)
24 # '-' is the standard output
28 # Suppress that if you want to launch ffserver as a daemon
31 ##################################################################
32 # Definition of the live feeds. Each live feed contains one video
33 # and/or audio sequence coming from an ffmpeg encoder or another
34 # ffserver. This sequence may be encoded simultaneously with several
35 # codecs at several resolutions.
39 # You must use 'ffmpeg' to send a live feed to ffserver. In this
40 # example, you can type:
42 # ffmpeg http://localhost:8090/feed1.ffm
44 # ffserver can also do time shifting. It means that it can stream any
45 # previously recorded live stream. The request should contain:
46 # "http://xxxx?date=[YYYY-MM-DDT][[HH:]MM:]SS[.m...]".You must specify
47 # a path where the feed is stored on disk. You also specify the
48 # maximum size of the feed (100M bytes here). Default:
49 # File=/tmp/feed_name.ffm FileMaxSize=5M
54 # Specify launch in order to start ffmpeg automatically
57 # Only allow connections from localhost to the feed
62 ##################################################################
63 # Now you can define each stream which will be generated from the
64 # original audio and video stream. Each format has a filename (here
65 # 'test128.mpg'). FFServer will send this stream when answering a
66 # request containing this filename.
70 # coming from live feed 'feed1'
73 # Format of the stream : you can choose among:
74 # mpeg : MPEG1 multiplexed video and audio
75 # mpegvideo : only MPEG1 video
76 # mp2 : MPEG audio layer 2
77 # mp3 : MPEG audio layer 3 (currently sent as layer 2)
78 # rm : Real Networks compatible stream. Multiplexed audio and video.
79 # ra : Real Networks compatible stream. Audio only.
80 # mpjpeg : Multipart JPEG (works with Netscape without any plugin)
81 # jpeg : Generate a single JPEG image.
82 # asf : ASF compatible stream (Windows Media Player format). Not finished yet.
83 # swf : Macromedia flash(tm) compatible stream
84 # avi : AVI format (open divx video, mpeg audio sound)
85 # master : special ffmpeg stream used to duplicate a server
89 # Bitrate for the audio stream. Codecs usually support only a few different bitrates.
93 # Number of audio channels : 1 = mono, 2 = stereo
97 # Sampling frequency for audio. When using low bitrates, you should
98 # lower this frequency to 22050 or 11025. The supported frequencies
99 # depend on the selected audio codec.
101 AudioSampleRate 44100
103 # Bitrate for the video stream.
106 # Number of frames per second
109 # Size of the video frame : WxH (default: 160x128)
110 # W : width, H : height
111 # The following abbreviation are defined : sqcif, qcif, cif, 4cif
114 # transmit only intra frames (useful for low bitrates, but kills frame rate)
117 # If non intra only, an intra frame is transmitted every VideoGopSize
118 # frames Video synchronization can only begin at an I frames.
121 # Choose your codecs:
124 #VideoCodec mpeg1video
135 # Set this to the number of seconds backwards in time to start. Note that
136 # most players will buffer 5-10 seconds of video, and also you need to allow
137 # for a key frame to appear in the data stream.
142 # You can allow ranges of addresses (or single addresses)
143 # ACL ALLOW <first address> <last address>
145 # You can deny ranges of addresses (or single addresses)
146 # ACL DENY <first address> <last address>
148 # You can repeat the ACL allow/deny as often as you like. It is on a per stream basis. The first
149 # match defines the action. If there are no matches, then the default is the inverse of the last
150 # ACL statement. Thus 'ACL allow localhost' only allows access from localhost.
151 # 'ACL deny 1.0.0.0 1.255.255.255' would deny the whole of network 1 and allow everybody else.
155 # second mpeg stream with high frame rate
167 ##################################################################
168 # A stream coming from a file : you only need to set the input
169 # filename and optionnally a new format. Supported conversions:
173 # another file streaming
176 File "/usr/local/httpd/htdocs/tlive.rm"
183 File "/usr/local/httpd/htdocs/test.asf"
186 Copyright "Super MegaCorp"
187 Title "Test stream from disk"
188 Comment "Test comment"
192 ##################################################################
193 # Another stream : Real with audio only at 32 kbits
205 ##################################################################
206 # Another stream : Real with audio and video at 64 kbits
234 ##################################################################
235 # Another stream : Multipart JPEG
248 ##################################################################
249 # Another stream : Multipart JPEG
256 ## the parameters are choose here to take the same output as the
257 ## Multipart JPEG one.
265 ##################################################################
266 # Another stream : Flash
280 ##################################################################
281 # Another stream : ASF compatible
325 ##################################################################
328 # You can access to this stream with the RTSP URL:
330 # rtsp://localhost:5454/test1-rtsp.mpg
332 # A non standard redirector is also created. Its URL is:
334 # http://localhost:8090/test1-rtsp.rtsp
336 #<Stream test1-rtsp.mpg>
339 #File "/usr/local/httpd/htdocs/test1.mpg"
343 ##################################################################
344 # Special stream : server status
350 # Only allow local people to get to the status
353 ACL allow 192.168.0.0 192.168.255.255
355 FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
360 <Redirect index.html>
361 # maps index.html to the appropriate site
362 URL http://ffmpeg.sourceforge.net/