Skip to content

Instantly share code, notes, and snippets.

@antonva
Created May 15, 2015 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonva/10b5a997fcca2f9cc38b to your computer and use it in GitHub Desktop.
Save antonva/10b5a997fcca2f9cc38b to your computer and use it in GitHub Desktop.
HttpPort 8090
HttpBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 100000
CustomLog -
<Feed feed1.ffm>
File /tmp/feed1.ffm
#FileMaxSize 100M
ACL allow 127.0.0.1
</Feed>
<Stream feed.webm>
Format webm
Feed feed1.ffm
AudioCodec vorbis
AudioBitRate 64
AudioSampleRate 44100
AudioChannels 1
AVOptionAudio flags +global_header
VideoCodec libvpx
VideoFrameRate 25
VideoBitRate 1500
VideoBitRateTolerance 1500 #Defaults 375000
VideoBitRateRange 1000-2000
VideoBufferSize 100000
VideoQMin 10
VideoQMax 52
VideoGopSize 48
VideoSize hd720 #Must be set here, all input files will be scaled to fit.
#VideoSize 960x720
AVOptionVideo flags +global_header
Preroll 15
StartSendOnKey
</Stream>
<Stream stat.html>
Format status
ACL allow localhost
</Stream>
# Redirect index.html to the appropriate site
<Redirect index.html>
URL http://domain.goes.here/
</Redirect>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment