ffserver

ffserver receives its setting from a configuration file placed at /etc/ffserver.config.

This is a main step and it determines the type of output serve will render.

Also it determines in which format streams will be available to read for clients.

Port 8090

BindAddress 0.0.0.0

MaxHTTPConnections 2000

MaxClients 1000

MaxBandwidth 10000

CustomLog -

NoDaemon

<Feed input.ffm>

File /tmp/input.ffm

FileMaxSize 5M

</Feed>

<Stream test.mpeg>

Feed input.ffm

Format mpeg

AudioBitRate 32

AudioChannels 2

AudioSampleRate 44100

#VideoCodec

VideoBitRate 366

VideoBufferSize 40

VideoFrameRate 24

VideoSize 320x240

VideoGopSize 12

</Stream>

Port 8090

BindAddress 0.0.0.0

MaxHTTPConnections 2000

MaxClients 1000

MaxBandwidth 10000

CustomLog -

NoDaemon

<Feed input.ffm>

File /tmp/ input.ffm

FileMaxSize 5M

ACL allow 127.0.0.1

</Feed>

Feed input.ffm

Format webm

AudioCodec vorbis

AudioBitRate 32

VideoCodec libvpx

VideoBitRate 400

VideoFrameRate 25

VideoSize 256x144

AVOptionVideo flags +global_header

AVOptionAudio flags +global_header

PreRoll 15

StartSendOnKey