Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, October 10, 2007 9:23:47 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


Some customers have experienced speed problems with ltmmCaptureCtrl.CaptureDIB in Vista.  The exact same code will execute almost instantaneously on XP machines but on Vista it will take 1-2 seconds.  This is because Vista takes longer to build the DirectShow graphs and there's not much we can do about that.

Internally, CaptureDIB builds a capture graph, runs it, waits for a still image, stops the graph, rebuilds the preview graph, and runs it.  Therefore each time you call CaptureDIB you must stop and reconstruct two graphs.

As an alternative, you can call StartCapture(ltmmcapture_Mode_Still) which will bulid the capture graph.  Then, each time you want to capture a DIB, call GetStillDIB which will allow the graph to continue running unlike the behavior of CaptureDIB.

Whenever you close the application or change any settings (capture device, filters on the main graph, etc.) you should call StopCapture and then StartCapture again if necessary.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.030 seconds.