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

nandan amar nandan.amar at gmail.com
Tue Aug 16 09:03:19 CEST 2011


Dear Edwin Glaser,
please try with a video file also instead of /dev/video0
However I have not tested on Ubuntu 11.04

On Mon, Aug 15, 2011 at 7:41 PM, Edwin Glaser <edwin at pannenleiter.de> wrote:
> 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?
>
> _______________________________________________
> ffserver-user mailing list
> ffserver-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffserver-user
>
>



-- 
`·.,,  ><(((º>   `·.,,  ><(((º>   `·.,,  ><(((º>
Amar Kumar Nandan
Karnataka, India, 560100
☎:+91-9019054471
✉:nandan.amar at gmail.com
http://aknandan.co.nr


More information about the ffserver-user mailing list