Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane

From: Howard Chu <hyc <at> highlandsun.com>
Subject: ffserver live stream bug
Newsgroups: gmane.comp.video.ffmpeg.devel
Date: Wednesday 19th May 2010 12:46:46 UTC (over 8 years ago)
Howard Chu wrote:
> How is it that things got to be this way? This rtsp stuff surely hasn't
worked
> at all, in ages...

When receiving a live stream, ffserver hits 100% CPU usage because it 
busyloops while reading the non-blocking input socket. It should simply
return 
from the read loop, to allow the poll loop to continue. With this patch 
ffserver's CPU usage drops from 100% to only 1% while receiving and 
broadcasting a stream.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/
 
CD: 19ms