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 # Access Log file (uses standard Apache log file format)
19 # '-' is the standard output
23 ##################################################################
24 # Definition of the live feeds. Each live feed contains one video
25 # and/or audio sequence coming from an ffmpeg encoder or another
26 # ffserver. This sequence may be encoded simultaneously with several
27 # codecs at several resolutions.
31 # You must use 'ffmpeg' to send a live feed to ffserver. In this
32 # example, you can type:
34 # ffmpeg http://localhost:8090/feed1.ffm
36 # ffserver can also do time shifting. It means that it can stream any
37 # previously recorded live stream. The request should contain:
38 # "http://xxxx?date=[YYYY-MM-DDT][[HH:]MM:]SS[.m...]".You must specify
39 # a path where the feed is stored on disk. You also specify the
40 # maximum size of the feed (100M bytes here). Default:
41 # File=/tmp/feed_name.ffm FileMaxSize=5M
48 ##################################################################
49 # Now you can define each stream which will be generated from the
50 # original audio and video stream. Each format has a filename (here
51 # 'test128.mpg'). FFServer will send this stream when answering a
52 # request containing this filename.
56 # coming from live feed 'feed1'
59 # Format of the stream : you can choose among:
60 # mpeg : MPEG1 multiplexed video and audio
61 # mpegvideo : only MPEG1 video
62 # mp2 : MPEG audio layer 2
63 # mp3 : MPEG audio layer 3 (currently sent as layer 2)
64 # rm : Real Networks compatible stream. Multiplexed audio and video.
65 # ra : Real Networks compatible stream. Audio only.
66 # mpjpeg : Multipart JPEG (works with Netscape without any plugin)
67 # jpeg : Generate a single JPEG image.
68 # asf : ASF compatible stream (Windows Media Player format). Not finished yet.
69 # swf : Macromedia flash(tm) compatible stream
70 # avi : AVI format (open divx video, mpeg audio sound)
71 # master : special ffmpeg stream used to duplicate a server
75 # Bitrate for the audio stream. Codecs usually support only a few different bitrates.
79 # Number of audio channels : 1 = mono, 2 = stereo
83 # Sampling frequency for audio. When using low bitrates, you should
84 # lower this frequency to 22050 or 11025. The supported frequencies
85 # depend on the selected audio codec.
89 # Bitrate for the video stream.
92 # Number of frames per second
95 # Size of the video frame : WxH (default: 160x128)
96 # W : width, H : height
97 # The following abbreviation are defined : sqcif, qcif, cif, 4cif
100 # transmit only intra frames (useful for low bitrates)
103 # If non intra only, an intra frame is transmitted every VideoGopSize
104 # frames Video synchronization can only begin at an I frames.
115 # second mpeg stream with high frame rate
126 ##################################################################
127 # A stream coming from a file : you only need to set the input
128 # filename and optionnally a new format. Supported conversions:
134 #File "/tmp/file.avi"
136 # avi must be converted to asf to be streamed
141 # another file streaming
148 ##################################################################
149 # Another stream : Real with audio only at 32 kbits
160 ##################################################################
161 # Another stream : Real with audio and video at 64 kbits
175 ##################################################################
176 # Another stream : Mpeg audio layer 2 at 64 kbits.
183 AudioSampleRate 44100
192 AudioSampleRate 16000
196 ##################################################################
197 # Another stream : Multipart JPEG
209 ##################################################################
210 # Another stream : Multipart JPEG
217 # the parameters are choose here to take the same output as the
218 # Multipart JPEG one.
225 ##################################################################
226 # Another stream : Flash
239 ##################################################################
240 # Another stream : ASF compatible
248 AudioSampleRate 44100
254 ##################################################################
255 # Special stream : server status