Skip to content

Instantly share code, notes, and snippets.

@masterchop
Forked from peterhellberg/ffserver.conf
Created April 19, 2019 22:47
Show Gist options
  • Save masterchop/4b6c96466ec1dab56a6bf358c0d8d649 to your computer and use it in GitHub Desktop.
Save masterchop/4b6c96466ec1dab56a6bf358c0d8d649 to your computer and use it in GitHub Desktop.
MJPEG stream from Webcam using FFServer and FFMpeg
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 200
MaxClients 100
MaxBandWidth 500000
CustomLog -
<Feed camera.ffm>
File /tmp/camera.ffm
FileMaxSize 200M
</Feed>
<Stream camera.mjpeg>
Feed camera.ffm
Format mpjpeg
VideoFrameRate 15
VideoIntraOnly
VideoBitRate 4096
VideoBufferSize 4096
VideoSize 640x480
VideoQMin 5
VideoQMax 51
NoAudio
Strict -1
</Stream>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment