🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.graphics
Article #21

Video for Windows and Capturing Rate

#21
From: axh96c
Date: Tue, 17 Mar 1998 00:00
33 lines
2120 bytes
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 )

2) Every capture of a frame, makes the overlay (live) window fliker.
Therefore, with 6 fps there is alot of flikering!!

Question
--------

Is there a way to either moderately or significantly increase the fps of the
captures???? Is capSetCallbackOnVideoStream the route to take???? If so the
video buffer size cannot be constant and the capture time must be set???? Am I
right to think along those lines????

Also, is there a way to stop the flikering of the overlay window?

Any sort of help would be eagerly received.

Thankyou in advance.

axh96c@cs.nott.ac.uk

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading
Technical Details
Message-ID: <6en05j$fk6$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10e433,b7bbdcd501667a01,start
X-Google-Attributes: gid10e433,public
X-Google-Thread: 113dfb,b7bbdcd501667a01,start
X-Google-Attributes: gid113dfb,public
X-Google-Thread: 101278,b7bbdcd501667a01,start
X-Google-Attributes: gid101278,public
X-Google-Thread: 1421f1,b7bbdcd501667a01,start
X-Google-Attributes: gid1421f1,public
From: axh96c@cs.nott.ac.uk
Subject: Video for Windows and Capturing Rate
Date: 1998/03/17
Message-ID: <6en05j$fk6$1@nnrp1.dejanews.com>
X-Deja-AN: 335048344
Reply-To: axh96c@cs.nott.ac.uk
X-Http-User-Agent: Mozilla/3.01 (X11; I; SunOS 5.6 sun4m)
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Tue Mar 17 23:16:57 1998 GMT
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