# Port on which the server is listening. You must select a different
# port from your standard http web server if it is running on the same
# computer.
Port 8090
# Address on which the server is bound. Only useful if you have
# several network interfaces.
BindAddress 0.0.0.0
# Number of simultaneous requests that can be handled. Since FFServer
# is very fast, it is more likely that you will want to leave this high
# and use MaxBandwidth, below.
MaxClients 10
# This the maximum amount of kbit/sec that you are prepared to
# consume when streaming to clients
MaxBandwidth 1000
# Access Log file (uses standard Apache log file format)
# '-' is the standard output
CustomLog -
# Suppress that if you want to launch ffserver as a daemon
NoDaemon
##################################################################
# Definition of the live feeds. Each live feed contains one video
# and/or audio sequence coming from an ffmpeg encoder or another
# ffserver. This sequence may be encoded simultaneously with several
# codecs at several resolutions.
File /tmp/feed2.ffm
FileMaxSize 5M
File /tmp/feed3.ffm
FileMaxSize 5M
Feed feed3.ffm
Format mpeg
AudioBitRate 16
AudioChannels 1
AudioSampleRate 22050
VideoBitRate 24
VideoFrameRate 5
VideoSize 160x128
VideoGopSize 12
AudioCodec mp2
VideoCodec mpeg1video
PreRoll 10
Feed feed2.ffm
Format mpeg
AudioBitRate 16
AudioChannels 1
AudioSampleRate 22050
VideoBitRate 24
VideoFrameRate 5
VideoSize 160x128
#VideoIntraOnly
VideoGopSize 12
AudioCodec mp2
VideoCodec mpeg1video
#VideoQMin 3
#VideoQMax 31
PreRoll 10
#
# Format avi
# Feed feed2.ffm
# VideoFrameRate 5
# VideoCodec mpeg4
# VideoBitRate 32
# VideoGopSize 12
# AudioCodec mp3
# AudioBitRate 32
# AudioSampleRate 22050
# VideoSize 160x128
# VideoQMax 30
# AudioChannels 1
# VideoQMin 3
#
# Flash
#
#Feed feed2.ffm
#Format swf
#AudioBitRate 32
#VideoBitRate 32
#VideoFrameRate 5
#VideoSize 160x128
#AudioSampleRate 22050
#AudioChannels 1
##VideoIntraOnly
#NoAudio
#
# ASF compatible
#
#Feed feed2.ffm
#Format asf
#VideoFrameRate 5
#VideoSize 160x128
#VideoBitRate 24
#VideoGopSize 12
#AudioBitRate 16
#AudioChannels 1
#AudioSampleRate 22050
#StartSendOnKey
#VideoCodec msmpeg4
#AudioCodec mp2
#NoAudio
#
# MP3 audio
#
#Feed feed2.ffm
#Format mp2
#AudioCodec mp3
#AudioBitRate 32
#AudioChannels 1
#AudioSampleRate 22050
#NoVideo
#
# Ogg Vorbis audio
#
#Feed feed2.ffm
#Format ogg
#AudioCodec vorbis
#Title "test_ogg"
#AudioBitRate 32
#AudioChannels 2
#AudioSampleRate 22050
#NoVideo
#
# Real with audio and video at 64 kbits
#
#Feed feed2.ffm
#Format rm
#AudioBitRate 16
#VideoBitRate 24
#VideoFrameRate 5
#VideoSize 160x128
#AudioChannels 1
#AudioSampleRate 22050
#VideoGopSize 12
#NoAudio
#
##################################################################
# A stream coming from a file : you only need to set the input
# filename and optionnally a new format. Supported conversions:
# avi -> asf
#
#File "/usr/local/httpd/htdocs/tlive.rm"
#NoAudio
#
#
#File "/usr/local/httpd/htdocs/test.asf"
#NoAudio
#Author "Me"
#Copyright "Super MegaCorp"
#Title "Test stream from disk"
#Comment "Test comment"
#
##################################################################
# RTSP examples
#
# You can access to this stream with the RTSP URL:
# rtsp://localhost:5454/test1-rtsp.mpg
#
# A non standard RTSP redirector is also created. Its URL is:
# http://localhost:8090/test1-rtsp.rtsp
#
#Format rtp
#File "/usr/local/httpd/htdocs/test1.mpg"
#
##################################################################
# SDP/multicast examples
#
# If you want to send your stream in multicast, you must set the
# multicast address with MulticastAddress. The port and the TTL can
# also be set.
#
# An SDP file is automatically generated by ffserver by adding the
# 'sdp' extension to the stream name (here
# http://localhost:8090/test1-sdp.sdp). You should usually give this
# file to your player to play the stream.
#
# The 'NoLoop' option can be used to avoid looping when the stream is
# terminated.
#
#Format rtp
#File "/usr/local/httpd/htdocs/test1.mpg"
#MulticastAddress 224.124.0.1
#MulticastPort 5000
#MulticastTTL 16
#NoLoop
#
##################################################################
# Special streams
# Server status
Format status
# Only allow local people to get to the status
#ACL allow localhost
#ACL allow 192.168.0.0 192.168.255.255
#FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
# Redirect index.html to the appropriate site
URL http://ffmpeg.sourceforge.net/