You're missing a parameter for setMode. From the docs:

public function setMode(width:int, height:int, fps:Number, favorArea:Boolean = true):void

so you're using cam.setMode(720,576,false) and that should be cam.setMode(720,576,15,false)

hth,

Thijs


On Apr 15, 2007, at 9:50 PM, barnaby menage wrote:

Hi

I'm designing a video recording kiosk and am using red5 to record video streams on to computer locally (standalone).
The client recording app is based on message Recorder example.
Red5 and the client app run on the same machine.

I have 2 usb devices:

- an maudio breakout box with a usb2 connection connected to a condenser mic - a security camera connected to a usb2 analog video capture device (dazzle)

the pc:

core 2 6400 (2.13 Ghz)
1 gb of ram
Windows XP

I'm capturing at:

PAL (720 x 576)
15 fps
audio rate 22 Khz
camera quality 75

code below:

var client_cam = Camera.get();
client_cam.setMode(720,576, false);
client_cam.setQuality(0, 75);
var client_mic = Microphone.get();
client_mic.setRate(22);

I only getting about 2 fps on average.

Any suggestions on improving this? hardware, pc or red5 tweaks etc..

Be very grateful as have very tight deadline.





From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mondain
Sent: 15 April 2007 17:38
To: [email protected]
Subject: Re: [Red5] Just installed 0.6 RC2 but ... (Mondain) ...

If the problems continue, I suggest that you uninstall the older versions and install RC3.

Paul

On 4/14/07, David Schulberg < [EMAIL PROTECTED]> wrote:
Hi,


Probably was caused by reinstalling Red5 over the top of my previous RC1 version. Had done uninstall but that seems to have not been enough to clean away RC1.


---------------------------------------------------------

When I start Red5 service it fails as shown below in red5.log.

I have just uninstalled previous version of Red5 and installed v0.6 RC2.


INFO | jvm 1 | 2007/04/06 20:06:05 | WrapperSimpleApp: Encountered an error running main: java.lang.NoSuchMethodError: org.apache.mina.common.ByteBuffer.release()V

INFO | jvm 1 | 2007/04/06 20:06:05 | java.lang.NoSuchMethodError: org.apache.mina.common.ByteBuffer.release()V

….

STATUS | wrapper  | 2007/04/06 20:06:07 | <-- Wrapper Stopped


Mondain pointed out that It looks as though I am using new Red5 code with Mina 2. As far as he could recall .release() is not supported in version 2.

What puzzles me is that I have installed Red5 0.6 RC2 on another computer and Red5 runs fine there.



Regards,


David Schulberg




_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org




--
The early bird may get the worm, but the second mouse gets the cheese.
_______________________________________________
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

Reply via email to