Skip to content

Instantly share code, notes, and snippets.

@llopez
Created October 13, 2017 02:20
Show Gist options
  • Save llopez/28bc6ee7a1f0650bda5d812b98c79009 to your computer and use it in GitHub Desktop.
Save llopez/28bc6ee7a1f0650bda5d812b98c79009 to your computer and use it in GitHub Desktop.
ffserver configuration example
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
<Feed cam.ffm>
File /tmp/cam.ffm
FileMaxSize 200K
ACL allow 127.0.0.1
</Feed>
<Stream cam.mpjpeg>
Feed cam.ffm
Format mpjpeg
NoAudio
VideoBitRate 64
VideoBufferSize 40
VideoFrameRate 1
VideoSize 640x480
VideoGopSize 12
</Stream>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment