Skip to content

Instantly share code, notes, and snippets.

@fcenobi
Forked from peterhellberg/ffserver.conf
Created December 17, 2021 08:29
Show Gist options
  • Save fcenobi/4b361b346a1b6e062b6a41244a6945cc to your computer and use it in GitHub Desktop.
Save fcenobi/4b361b346a1b6e062b6a41244a6945cc 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