Skip to content

Instantly share code, notes, and snippets.

@sosukeinu
Forked from peterhellberg/ffserver.conf
Created May 1, 2019 20:09
Show Gist options
  • Save sosukeinu/ac2280d78e8d1544899486c1a58235de to your computer and use it in GitHub Desktop.
Save sosukeinu/ac2280d78e8d1544899486c1a58235de 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