11 Oct 2010 22:59
Re: dropping frames. possible bug in libdc1394 ?
First of all sorry for the late response.
On the day you wrote the first response my first son was born and I took some days off.
Thank you Damien for interest.
1) I either set the shutter to about 30ms or use one-shot auto shutter. ( I am using Stingray F046C)
1) I either set the shutter to about 30ms or use one-shot auto shutter. ( I am using Stingray F046C)
This is a good advice - I have to set it permanently to less than 66ms. But I don't think this is my problem. If the shutter time would be expanded I would get less frames per second. I don't see any reason why the latency would grow up to 1000ms? But maybe there is a reason?
2) I checked many different scenarios and it seems my code is ok. I tried POLL and WAIT policy. I run only image acquisition with writing without preview. Even one camera grabbing caused high latency after some time (this is weird).
I wrote a simple console application to avoid event loop processing and still the problem persists.
3) I think this is not the case since I measured times per frame and they were up to 40ms.
3) I think this is not the case since I measured times per frame and they were up to 40ms.
I have checked the coriander today and the latency was not growing. That's good. I can take a look at the source and write a libdc1394 based code.
Thank you for help.
2010/10/5 Damien Dusha <d.dusha-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hello,It is reproducible using Coriander?
On Wed, Sep 22, 2010 at 6:10 PM, Michael Joachimiak
<mjoachimiak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I am grabbing from 1394 IIDC cameras.
>
> From time to time I get very high latency - a bit more than 1s. The frames
> are dropped of course after that.
> How I can debug it more?
> My acquisition loop is not a problem - in the worst case it takes only 40ms
> per frame in 15Hz capturing.
> I am using DC1394_VIDEO1394_WAIT policy.
> The machine is Linux 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24
> UTC 2010 x86_64 GNU/Linux
> I am using OpenCV for grabbing frames.
-- Damien
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb_______________________________________________
Mailing list for libdc1394-devel
libdc1394-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdc1394-devel
--
Your Sincerely
Michael Joachimiak
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb
_______________________________________________ Mailing list for libdc1394-devel libdc1394-devel@... https://lists.sourceforge.net/lists/listinfo/libdc1394-devel
RSS Feed