[FFserver-user] Ubuntu 11.04, ffserver uses 85% CPU

Edwin Glaser edwin at pannenleiter.de
Mon Aug 15 16:11:14 CEST 2011


Hello,

everything worked fine with Ubuntu 10.04.

Unfortunately with Ubuntu 11.04 ffserver eats up all available cpu cycles.
ffmpeg uses about 16% cpu, ffserver uses about 86% cpu (1/4 user 3/4 sys)

In principle the stream works, but delay and crackle are catastrophic.

My command line:

ffserver -f ./ffserver.conf

ffmpeg -s 320x240 -f video4linux2 -i /dev/video0
             http://localhost:8090/webcam.ffm

My ffserver.conf:

Port 8090 
BindAddress 0.0.0.0 
#MaxClients 4
#MaxBandwidth 10000 
NoDaemon 

#<Stream status.html>
#Format status
#</Stream>

<Feed webcam.ffm> 
#File /tmp/webcam.ffm 
#FileMaxSize 5M
</Feed> 

<Stream webcam.flv> 
Feed webcam.ffm 
Format flv 
VideoFrameRate 18
VideoSize 320x240
VideoIntraOnly
Noaudio 
</Stream> 

Does anyone know how to tame this cpu eating monster?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/ffserver-user/attachments/20110815/47d07bad/attachment.html>


More information about the ffserver-user mailing list