Created
October 19, 2011 16:55
-
-
Save iabaldwin/1298928 to your computer and use it in GitHub Desktop.
ffserver configuration file, take 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Port 8090 | |
# bind to all IPs aliased or not | |
BindAddress 0.0.0.0 | |
# max number of simultaneous clients | |
MaxClients 1000 | |
# max bandwidth per-client (kb/s) | |
MaxBandwidth 100000 | |
# Suppress that if you want to launch ffserver as a daemon. | |
NoDaemon | |
<Feed test_feed.ffm> | |
File /tmp/test_feed.ffm | |
FileMaxSize 125M | |
</Feed> | |
# FLV output - good for streaming | |
<Stream test.flv> | |
# the source feed | |
Feed test_feed.ffm | |
# the output stream format - FLV = FLash Video | |
Format flv | |
VideoCodec flv | |
# this must match the ffmpeg -r argument | |
VideoFrameRate 20 | |
# generally leave this is a large number | |
VideoBufferSize 800 | |
# another quality tweak | |
VideoBitRate 200 | |
# quality ranges - 1-31 (1 = best, 31 = worst) | |
VideoQMin 1 | |
VideoQMax 15 | |
VideoSize 320x240 | |
# this sets how many seconds in past to start | |
PreRoll 0 | |
# wecams don't have audio | |
Noaudio | |
</Stream> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment