Re: to slow frame capturing

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



> From the look of that loop you can probably blame that on me! (my
> example code)
>
> Try swapping the order of the SYNC(nFrame) and CAPTURE(1-nFrame) pairs
> of lines - that way there'll always be a "queued" capture, and you
> shouldn't lose any frames assuming your processing isn't taking too
> long.
>
> Ben

Thanks, works - but I don't really know if it is a problem. I move the code 
to the pure c++ and the frame rate was 25 FPS, as it should be. But when I 
use it together with the Qt classes it slow down to 12 FPS. Somehow using Qt 
influnce video capturing performance. I don't why - maybe somebody have any 
idea on this?

Jacek





[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