LEADTOOLS Support
General
General Questions
CaptureCtl in .NET still image capture problem
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, December 20, 2011 9:42:22 AM(UTC)
Groups: Registered
Posts: 2
I am having a couple issues when using any method to get a still image from the capture control in .NET.
The first is that the preview of the video will always freeze for a few seconds.
The second is that sometimes when the video unfreezes I get a blank screen for a second. This happens mostly when using an USB capture device and rarely when using a PCIe capture device. When this does happen the still image is of the blank screen and not the video.
I have tried all the different methods provided by the CaptureCtl and the result is always the same. It does not matter if I am only previewing the video or actually in the process of recording it.
I am using the CaptureCtrl in Visual Studio 2010 utilizing .NET 4. I have made sure I am referencing the correct assembly for .NET 4.
#2
Posted
:
Wednesday, December 21, 2011 4:54:20 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
If you want to perform 'seamless' capture without interrupting the preview or live capture, you can use our LEAD Video Callback filter. This filter calls a function you provide for every video frame, and passes the image data to that function. You can write your function to copy the data or save it to disk. If the processing time of your function is fast enough (which is usually the case on modern PCs), the video capture is not affected in any way.
Please check the C# Video CallBack demo. You can find the source code here:
[LEADTOOLS Multimedia 17.5]\Examples\Ltmm\Dotnet\CS\Callback
Also, for more information about LEAD Video Callback filter, please see this page:
http://www.leadtools.com/help/leadtools/v175/multimedia/filters/filters/leadvideocallbackfilter%282.0%29.htm
Thanks,
Maen Badwan
LEADTOOLS Technical Support
#3
Posted
:
Wednesday, December 21, 2011 6:50:33 AM(UTC)
Groups: Registered
Posts: 2
After doing some research yesterday I did end up using the Video Callback Filter. Works like a charm.
LEADTOOLS Support
General
General Questions
CaptureCtl in .NET still image capture problem
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.