BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog  /var/www/html/ffserverconfig/ffserver.log
Port 9000

<Feed ram1.ffm>

# You must use 'ffmpeg' to send a live feed to ffserver. In this
# example, you can type:
#
# ffmpeg http://localhost:8090/feed1.ffm

# ffserver can also do time shifting. It means that it can stream any
# previously recorded live stream. The request should contain:
# "http://xxxx?date=[YYYY-MM-DDT][[HH:]MM:]SS[.m...]".You must specify
# a path where the feed is stored on disk. You also specify the
# maximum size of the feed, where zero means unlimited. Default:
# File=/tmp/feed_name.ffm FileMaxSize=5M
File /var/www/html/songs/ram1.ffm
FileMaxSize  10M

# You could specify
# ReadOnlyFile /saved/specialvideo.ffm
# This marks the file as readonly and it will not be deleted or updated.

# Specify launch in order to start ffmpeg automatically.
# First ffmpeg must be defined with an appropriate path if needed,
# after that options can follow, but avoid adding the http:// field
#Launch ffmpeg

# Only allow connections from localhost to the feed.
ACL allow 127.0.0.1

</Feed>

# MP3 audio
<Stream 1.mp3>
Feed ram1.ffm
Format mp2
AudioCodec "libmp3lame"
AudioBitRate 64
AudioChannels 2
AudioSampleRate 44100
#NoVideo
</Stream>

<Stream 2.mp3>
Feed ram1.ffm
Format mp2
AudioCodec "libmp3lame"
AudioBitRate 64
AudioChannels 2
AudioSampleRate 44100
#NoVideo
</Stream>

<Stream 3.mp3>
Feed ram1.ffm
Format mp2
AudioCodec "libmp3lame"
AudioBitRate 64
AudioChannels 2
AudioSampleRate 44100
#NoVideo
</Stream>


##################################################################
# Special streams

# Server status

<Stream stat.html>
Format status

# Only allow local people to get the status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255

#FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
</Stream>


# Redirect index.html to the appropriate site

<Redirect index.html>
URL http://www.ffmpeg.org/
</Redirect>


