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, but kills frame rate)
103 # If non intra only, an intra frame is transmitted every VideoGopSize
104 # frames Video synchronization can only begin at an I frames.
107 # Choose your codecs:
110 #VideoCodec mpeg1video
120 # second mpeg stream with high frame rate
132 ##################################################################
133 # A stream coming from a file : you only need to set the input
134 # filename and optionnally a new format. Supported conversions:
138 # another file streaming
141 File "/usr/local/httpd/htdocs/tlive.rm"
148 File "/usr/local/httpd/htdocs/test.asf"
153 ##################################################################
154 # Another stream : Real with audio only at 32 kbits
166 ##################################################################
167 # Another stream : Real with audio and video at 64 kbits
195 ##################################################################
196 # 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.
226 ##################################################################
227 # Another stream : Flash
241 ##################################################################
242 # Another stream : ASF compatible
257 ##################################################################
258 # Special stream : server status