LEADTOOLS Support
Multimedia
Multimedia SDK Examples
How to control the LEAD Video Text Overlay Filter properties programmatically
#1
Posted
:
Tuesday, September 12, 2017 2:31:46 PM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
The attached Visual Studio 2017 project is an updated project from
this earlier post. The project now uses LEADTOOLS 19. This project usses the LEADTOOLS CaptureCtrl along with the text overlay filter to time stamp captured video. There is also an option in the demo to set custom text with the text overlay filter. The idea was to show how to programmatically control the filter.
This project differs slightly from the original. I have made the following changes:
- The text overlay filter is now added by default. By doing this, it made it possible to enable/disable the filter without modifying the underlying graph. In other words, I removed the flicker that occurred when showing/hiding text.
- Added an event handler to clean up when the form closed
- Freed the video device when the application closes
- Releases the text overlay (COM object) when the application closes
To run the project, please extract it into the following directory:
C:\LEADTOOLS 19\Examples\posts\t12299
Edited by moderator Tuesday, October 22, 2019 3:35:54 PM(UTC)
| Reason: Not specified
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
#2
Posted
:
Tuesday, October 22, 2019 3:45:55 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 work with version 20. You should be able to run this from any folder, however it references the version 20 DLLs from the default "C:\LEADTOOLS 20" installation folder.
Josh Clark
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Multimedia
Multimedia SDK Examples
How to control the LEAD Video Text Overlay Filter properties programmatically
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.