LEADTOOLS Support
Multimedia
Multimedia SDK Examples
HOW TO: Capture to MPEG2 with Video Callback Filter for Stills
While some posts in this topic are more current, this topic was posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, May 12, 2009 9:21:17 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
This C# 2005 project uses the v16 Multimedia SDK's ltmmCaptureCtrl to capture video to an MPEG2 file. Additionally, it uses the Video Callback filter to capture stills whenever the user clicks a button.
To save the still images, I used the v16 Imaging Pro SDK. If you only have the LTMM SDK, you can download an evaluation of our Raster SDK from here:
![](file:///C:/DOCUME%7E1/gregr/LOCALS%7E1/Temp/moz-screenshot.jpg)
![](file:///C:/DOCUME%7E1/gregr/LOCALS%7E1/Temp/moz-screenshot-1.jpg)
http://www.leadtools.com/SDK/Raster/Raster-ImagingPro.htm .
If you do not want to use our Raster SDK for saving the images, you will need to use Microsoft functions to create an image from the raw image data and then save it to disk. If you need assistance with that process, you will need to contact Microsoft's support.
#2
Posted
:
Friday, August 20, 2010 4:51:47 AM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
I have updated this demo to use the LEADTOOLS Multimedia 17 and LEADTOOLS Imaging Pro 17 SDKs. This sample illustrates how to use the newer Leadtools.Multimedia assembly. Since the code is short, I have left in the older code (but commented out) to illustrate the differences between them.
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
#3
Posted
:
Friday, April 12, 2013 4:56:53 AM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
I have updated this project for Visual Studio 2012, and it uses the LEADTOOLS Multimedia 18 and LEADTOOLS Imaging Pro 18 SDKs.
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
#4
Posted
:
Friday, August 14, 2015 6:20:28 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
I have updated this project to use version 19 and relative paths for the capture and still image saving. Uses application startup.path
The biggest difference is in version 19 you have to set your license even as eval.
#5
Posted
:
Monday, September 10, 2018 4:46:51 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 54
Thanks: 2 times
Was thanked: 10 time(s) in 10 post(s)
I have updated this project to use version 20 of our SDK in Visual Studio 2017. You will need to unzip this project to the .NET examples folder in your Leadtools 20 installation directory (ie C:\LEADTOOLS 20\Examples\DotNet\CS\)
Josh Clark
Developer Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
#6
Posted
:
Tuesday, April 20, 2021 4:14:07 PM(UTC)
Groups: Registered, Manager, Tech Support, Administrators
Posts: 107
Was thanked: 9 time(s) in 9 post(s)
An updated project for v21 can be found attached. Please unzip the project to the .NET examples folder of your LEADTOOLS21 installation directory (C:\LEADTOOLS21\Examples\DotNet\CS)
Marcus Andra
Developer Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
LEADTOOLS Support
Multimedia
Multimedia SDK Examples
HOW TO: Capture to MPEG2 with Video Callback Filter for Stills
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.