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
6 # Address on which the server is bound. Only useful if you have
7 # several network interfaces.
10 # Number of simultaneous requests that can be handled. Since FFServer
11 # is very fast, it is more likely that you will want to leave this high
12 # and use MaxBandwidth, below.
15 # This the maximum amount of kbit/sec that you are prepared to
16 # consume when streaming to clients
19 # Access Log file (uses standard Apache log file format)
20 # '-' is the standard output
23 # Suppress that if you want to launch ffserver as a daemon
27 ##################################################################
28 # Definition of the live feeds. Each live feed contains one video
29 # and/or audio sequence coming from an ffmpeg encoder or another
30 # ffserver. This sequence may be encoded simultaneously with several
31 # codecs at several resolutions.
35 # You must use 'ffmpeg' to send a live feed to ffserver. In this
36 # example, you can type:
38 # ffmpeg http://localhost:8090/feed1.ffm
40 # ffserver can also do time shifting. It means that it can stream any
41 # previously recorded live stream. The request should contain:
42 # "http://xxxx?date=[YYYY-MM-DDT][[HH:]MM:]SS[.m...]".You must specify
43 # a path where the feed is stored on disk. You also specify the
44 # maximum size of the feed (100M bytes here). Default:
45 # File=/tmp/feed_name.ffm FileMaxSize=5M
50 # ReadOnlyFile /saved/specialvideo.ffm
51 # This marks the file as readonly and it will not be deleted or updated
53 # Specify launch in order to start ffmpeg automatically
56 # 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 # 'test1.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 : MPEG2 audio (use AudioCodec to select layer 2 and 3 codec)
77 # ogg : Ogg format (Vorbis audio codec)
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 streaming (Windows Media Player format).
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
88 # Bitrate for the audio stream. Codecs usually support only a few
92 # Number of audio channels : 1 = mono, 2 = stereo
95 # Sampling frequency for audio. When using low bitrates, you should
96 # lower this frequency to 22050 or 11025. The supported frequencies
97 # depend on the selected audio codec.
100 # Bitrate for the video stream.
103 # Number of frames per second
106 # Size of the video frame : WxH (default: 160x128)
107 # The following abbreviation are defined : sqcif, qcif, cif, 4cif
110 # transmit only intra frames (useful for low bitrates, but kills frame rate)
113 # If non intra only, an intra frame is transmitted every VideoGopSize
114 # frames Video synchronization can only begin at an I frames.
117 # More MPEG4 parameters
121 # Choose your codecs:
123 #VideoCodec mpeg1video
134 # Set this to the number of seconds backwards in time to start. Note that
135 # most players will buffer 5-10 seconds of video, and also you need to allow
136 # for a key frame to appear in the data stream.
141 # You can allow ranges of addresses (or single addresses)
142 #ACL ALLOW <first address> <last address>
144 # You can deny ranges of addresses (or single addresses)
145 #ACL DENY <first address> <last address>
147 # You can repeat the ACL allow/deny as often as you like. It is on a per
148 # stream basis. The first match defines the action. If there are no matches,
149 # then the default is the inverse of the last ACL statement.
151 # Thus 'ACL allow localhost' only allows access from localhost.
152 # 'ACL deny 1.0.0.0 1.255.255.255' would deny the whole of network 1 and
153 # allow everybody else.
158 ##################################################################
218 #AudioSampleRate 44100
227 #Title "Stream title"
230 #AudioSampleRate 44100
235 # Real with audio only at 32 kbits
246 # Real with audio and video at 64 kbits
259 ##################################################################
260 # A stream coming from a file : you only need to set the input
261 # filename and optionnally a new format. Supported conversions:
265 #File "/usr/local/httpd/htdocs/tlive.rm"
270 #File "/usr/local/httpd/htdocs/test.asf"
273 #Copyright "Super MegaCorp"
274 #Title "Test stream from disk"
275 #Comment "Test comment"
279 ##################################################################
282 # You can access to this stream with the RTSP URL:
283 # rtsp://localhost:5454/test1-rtsp.mpg
285 # A non standard RTSP redirector is also created. Its URL is:
286 # http://localhost:8090/test1-rtsp.rtsp
288 #<Stream test1-rtsp.mpg>
290 #File "/usr/local/httpd/htdocs/test1.mpg"
294 ##################################################################
295 # SDP/multicast examples
297 # If you want to send your stream in multicast, you must set the
298 # multicast address with MulticastAddress. The port and the TTL can
301 # An SDP file is automatically generated by ffserver by adding the
302 # 'sdp' extension to the stream name (here
303 # http://localhost:8090/test1-sdp.sdp). You should usually give this
304 # file to your player to play the stream.
306 # The 'NoLoop' option can be used to avoid looping when the stream is
309 #<Stream test1-sdp.mpg>
311 #File "/usr/local/httpd/htdocs/test1.mpg"
312 #MulticastAddress 224.124.0.1
319 ##################################################################
327 # Only allow local people to get to the status
329 ACL allow 192.168.0.0 192.168.255.255
331 #FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
335 # Redirect index.html to the appropriate site
337 <Redirect index.html>
338 URL http://ffmpeg.sourceforge.net/