Article View: comp.os.ms-windows.programmer.graphics
Article #22Re: Video for Windows and Capturing Rate
From: Paul Jurczak
Date: Tue, 17 Mar 1998 00:00
Date: Tue, 17 Mar 1998 00:00
31 lines
1995 bytes
1995 bytes
axh96c@cs.nott.ac.uk wrote in message <6en05j$fk6$1@nnrp1.dejanews.com>... >Dear All, > >I have successfully used the vfw32 and Avicap functions to capture frames >using a frame grabber card and a simple camera and perform image processing >tasks on the incoming frames. I have achieved this by using a Callback >function and capSetCallbackOnFrame macro. However, I am experiencing two >problems, namely > >1) I can only capture 6 frames per second with the image processing functions >active or ( 8 fps without any image processing ) I've run into similar problem with frame rate using VideoLab OCX (you can download free demo from their website). The best rate I could get was about 9 fps (callback was incrementing the counter only) grabbing 160x120 images and I know that my PC can easily do 30fps at 320x240 or more. My best explanation so far blames OCX overhead, but it looks less likely after reading about your problems. By the way, I wasn't succesful in using vfw32 directly - I was able to capture to file without preview only. Could you send me your code (only if its Borland C++ Builder)? Paul Jurczak <puplan@acm.org>
Technical Details
Message-ID:
<6enl7q$hnp@nnrp1.farm.idt.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6en05j$fk6$1@nnrp1.dejanews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10e433,b7bbdcd501667a01 X-Google-Attributes: gid10e433,public X-Google-Thread: 1421f1,b7bbdcd501667a01 X-Google-Attributes: gid1421f1,public X-Google-Thread: 113dfb,b7bbdcd501667a01 X-Google-Attributes: gid113dfb,public X-Google-Thread: 101278,b7bbdcd501667a01 X-Google-Attributes: gid101278,public From: "Paul Jurczak" <puplan@acm.org> Subject: Re: Video for Windows and Capturing Rate Date: 1998/03/17 Message-ID: <6enl7q$hnp@nnrp1.farm.idt.net> X-Deja-AN: 335189007 References: <6en05j$fk6$1@nnrp1.dejanews.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: IDT Newsgroups: comp.os.ms-windows.programmer.graphics,comp.os.ms-windows.programmer.win32,borland.public.cppbuilder.graphics,comp.os.ms.ms-windows.programmer.tools.mfc