Skip to content

Commit

Permalink
wip on ffserver.conf. What a mess.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkw committed Oct 13, 2012
1 parent 2385ccc commit aa8faa9
Showing 1 changed file with 40 additions and 14 deletions.
54 changes: 40 additions & 14 deletions ffserver.conf
@@ -1,30 +1,56 @@
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
#MaxHTTPConnections 2000
#MaxClients 1000
MaxBandwidth 20000
CustomLog -
NoDaemon

<Feed nodecopter.ffm>
#File data/nodecopter.ffm
#FileMaxSize 500K
File data/nodecopter.ffm
FileMaxSize 2M
</Feed>

### Commented out. Latency increases over time. Unusable. Help welcome!
#<Stream nodecopter.webm>
#Feed nodecopter.ffm
#Format webm
##VideoFrameRate 25
#VideoCodec libvpx
#VideoSize 640x368
##VideoBitRate 2500
#VideoQMin 1
#VideoQMax 10
#Preroll 20
#StartSendOnKey
#AVOptionVideo flags +global_header
## trying voodoo: help appreciated!
#AVOptionVideo speed 5
#AVOptionVideo quality realtime
#AVOptionVideo flags2 fast
#AVOptionVideo avioflags direct
#AVOptionVideo crf 18
#AVOptionVideo vp8flags error_resilient
#AVOptionVideo fflags +nobuffer
#AVOptionVideo fflags +genpts
#NoAudio
#</Stream>

<Stream nodecopter.webm>
# Old school, but actually works:
<Stream nodecopter.mjpeg>
Feed nodecopter.ffm
Format webm
#VideoFrameRate 30
VideoCodec libvpx
Format mpjpeg
VideoFrameRate 25
VideoSize 640x368
#VideoBitRate 384k
VideoQMin 1
VideoQMax 31
Preroll 15
StartSendOnKey
AVOptionVideo flags +global_header
VideoQMax 5
VideoIntraOnly
# Seems to avoid rc buffer underruns:
VideoBitrate 4500
NoAudio
Strict -1
Preroll 8
StartSendOnKey
</Stream>

<Stream status.html>
Expand Down

0 comments on commit aa8faa9

Please sign in to comment.