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



Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, May 28, 2008 4:07:10 AM(UTC)


Groups: Registered
Posts: 1

Can anyone tell me whether it is possible to (using the Capture control), capture a still image when a user presses a hot key whilst already capturing the video stream to an AVI file and previewing at the same time. I have tried this by calling CapturePicture() when the user clicks a button, but this then resets the CaptureTime in my Capture Control. Is there any way of having the call to CapturePicture() run asynchronously and not interfere with the CaptureGraph from the AVI.



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.

#2 Posted : Wednesday, May 28, 2008 6:33:22 AM(UTC)

Yasir Alani  

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

You can use our Video Callback DirectShow filter, which
gives you a buffer that contains the internal pixel RGB data for every video frame that passes through it.


The filter can be added to the ltmmCapture Control,
and while live capturing is running (with preview), the callback function can
be programmed to do nothing most of the time. When the user clicks or presses a
hot key, you can take the pixel data that is passed to the callback (in a memory buffer), and create a bitmap from this data and save it to disk.

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-2023, Yet Another Forum.NET
This page was generated in 0.062 seconds.