diff --git a/ffserver.conf b/ffserver.conf index 661d90b..91c9448 100644 --- a/ffserver.conf +++ b/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 -#File data/nodecopter.ffm -#FileMaxSize 500K +File data/nodecopter.ffm +FileMaxSize 2M +### Commented out. Latency increases over time. Unusable. Help welcome! +# +#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 +# - +# Old school, but actually works: + 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