What is your PC's status during this test? CPU % usage? Is this a limitation of the encoding machine?
Bill ----- Original Message ----- From: "Péter Gábor" <[EMAIL PROTECTED]> To: [email protected] Sent: Saturday, May 19, 2007 10:44:40 AM (GMT-0500) America/New_York Subject: Re: [Red5] red5 upstream big big problem I used 1.6rc2 but now updated to Red5 v0.6 final 04.23.2007. The problem still exists. Test1: stardard webcam, fps set to 25, currentfps is about 20, quality 100%, stream fps about 15, res 320x240... kinda good... Test2: desktop simulator driver (vhscrcap) ch screen caputre Cam fps set to 20 Cam currentfps is between 15-20 Stream currentfps is only 4 (800x600 100% quality, and eats max 1.5-1.7 mbit bandwith If I set quality 80% (smaller bitrate) cam currentfps remains at 15-20 stream fps goes up to 14-16 ! At quality 50 % cam curerntfps is about 20, stream fps reaches cameraa currentfps.. Thats what I want at 100% to have stream currentfps to work at cameras currentfps. I would happyly update to the latest 1029 svn but usewin32 and dont really know hot to do that. I found red5 latest trunk at: http://svn1.cvsdude.com/osflash/red5/java/server/trunk/ I installed svn Tried svn checkout http://svn1.cvsdude.com/osflash/red5/java/server/trunk/ It does some checking with A A A A :) But I think does nothing, I should use sg like update, but is sais skipping http://svn1.cvsdude.com/osflash/red5/java/server/trunk/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thijs Triemstra | Collab Sent: 2007. május 19. 14:47 To: [email protected] Subject: Re: [Red5] red5 upstream big big problem Ps. Which version of red5 are you using? I think FlowControlService has been replaced a few months ago so make sure to try it with the newest version (v0.6) or svn trunk. Thijs On May 19, 2007, at 2:18 PM, Péter Gábor wrote: > Hi! > > Sure I tried, no prob about that. But I dont want to LIMIT it but > give more > bandwidth, since this APP will be wired when recording (1gbit) and > after we > have recorded FLVs, goes online for downloading. > > The thing is I want to record my 800x600 desktop at about 25fps in > 80-100% > quality. In eats a lot of cpu (no prob for my c2duo) and eatn a lot of > bandwith (no prob for my Gigabit etehrnets crosslinked) > > But it is problem somehow for my NetConnection object, which is > limited. But > I dont know how to uncap/delete/remove this 1.5mbit ~ 200Kbye / > sec limit, > either in flash on clientside, or in red5 application server side. > > I was dealing with red5 common xml > <bean id="FlowControlService" > class="org.red5.server.stream.BalancedFlowControlService" > init-method="init"> > <property name="interval" value="10"/> > <property name="defaultCapacity" value="102400"/> > </bean> --> > And tried to set defaultCapacity up to the max, even in red5 0.6 > and in 0.5 > -> I got still 1.5mbit limit. > > Tried to se on the app side: > if (conn instanceof IStreamCapableConnection) { > IStreamCapableConnection streamConn = > (IStreamCapableConnection) conn; > SimpleBandwidthConfigure sbc = new > SimpleBandwidthConfigure(); > sbc.setMaxBurst(8 * 1024 * 1024); > sbc.setBurst(8 * 1024 * 1024); > sbc.setOverallBandwidth(2 * 1024 * 1024); > streamConn.setBandwidthConfigure(sbc); > } > And set maxburst etc up up up, still 1.5 mbit > > Of cours I restarted red5 etc... > > :/ > > Thx, > GaB > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf > Of Thijs Triemstra | Collab > Sent: 2007. május 18. 17:38 > To: [email protected] > Subject: Re: [Red5] red5 upstream big big problem > > Have you tried using setQuality on the clientside? It allows you to > limit the max available bandwidth for streaming. > > Thijs > > > On May 18, 2007, at 12:53 PM, lysander19 wrote: > >> >> HI guys! >> >> I'm pretty new in using red5, but i have a pretty big problem :) >> >> I have two computers connected with 100Mbit LAN. (no problem with its >> bandwidth, copying is ok) >> pc1: red5 server >> pc2: connecting to pc1's red5 rtmp and publishes the camera video. >> >> camera video, setMode [EMAIL PROTECTED] fps with the quality 90% >> >> if I trace Camera -> fps its stable 25 as i set it >> Camera -> currentFps is ok as well, around 22-25 fps >> but NetStream -> currentFps is pretty low, around 5-6 fps.. >> >> with a bandwidth meter, it eats ~ 200KByte ~ 1.5 mbit >> >> if i set cam quality to 10% i get better fps around 10-12, worse >> quality, >> but the bandwith is still around this 1.5mbit, and still not 25 >> neither 15 >> fps. >> >> seems to me to have some limit either in flash NetStream structure >> or red5. >> >> of course i played a lot in flash with setquality, and tried to >> change in >> red5 the red5 common xml bandwith limiter params, >> i user the oflaDemo, and tried to change its Application.java ' s >> appStart >> bandwith limiting paraeters >> >> NOTHING worked, it still if reaches 1.5mbit starts to kill my fps. >> >> tried this with a lot of comps, core2duo laptops, and pcs, >> 1-2-3gigs of ram, >> no change, >> tried with other applications not oflaDemo but fitchDemo etc... >> mmm lan is ok... >> tried with other webcams and capture drivers... various fps Z but the >> bandwith stops at 1.5mbit at each solution. >> webcams: noname desktop webcam, Microsoft Logitech VX-6000 Lifecam, >> VHscreen >> capture driver, webcammax etc >> >> thx 4 ur help >> -- >> View this message in context: http://www.nabble.com/red5-upstream- >> big-big-problem-tf3776852.html#a10679685 >> Sent from the Red5 - English mailing list archive at Nabble.com. >> >> >> _______________________________________________ >> Red5 mailing list >> [email protected] >> http://osflash.org/mailman/listinfo/red5_osflash.org > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
