LEADTOOLS Support
Multimedia
Multimedia SDK Questions
Capture to video, grab snapshots and preview simultaneously?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, May 28, 2008 4:07:10 AM(UTC)
Groups: Registered
Posts: 1
Hi,
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.
Cheers
#2
Posted
:
Wednesday, May 28, 2008 6:33:22 AM(UTC)
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.
LEADTOOLS Support
Multimedia
Multimedia SDK Questions
Capture to video, grab snapshots and preview simultaneously?
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.