Re: delay in capture !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

On Monday 25 March 2002 16:50, V wrote:
> hello,
>
> I use a philips toucam pro, and in 320*200, with 30 fps, I have a delay
> in the capture of about a quater second I would say...
> Is it normal ? 

Well, it is if your machine is too slow; the ToUCam driver has an internal 
buffer of 5 frames.

> The images are printed on the screen with svgalib. Does it
> come from this lib ?
> I will use this camera in a robot. Thus this delay could send the robot
> to the wall !!

You either lower the number of frames (see the documentation of the 
driver), or make your program always read the newest frame, not the oldest 
one (I don't know how your program acquires images; if you're using read() 
you're toast and should switch to mmap()).

 - Nemosoft





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux