#1
Posted
:
Friday, March 23, 2012 10:06:02 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Overlaying Animated Logo onto video
The attached example project demonstrates how to use the LEAD Video Callback Filter in combination with Leadtools Image processing to overlay an animated logo on any video. This example only demonstrates playback (using the PlayCtrl) however the same methods can be used with the CaptureCtrl (to place the logo over live video from device) or with the ConvertCtrl ( to save or stream the video with the animated logo overlayed).
To use:
Run the application and open a video file. To see the video without the background removed, uncheck "Remove Background". If you find that the logo is somewhat transparent you can increase the "Subtraction Iterations" slider (more iterations = more image processing per frame). The "Logo With Black BG" and "Logo With Green BG" will play back 2 different versions of the logo video file. One with a black background and one with a green background. Using the Logo With Green BG will trigger some extra image processing that removes the range of green colors in the background of the animated logo video (you can see this range of colors by unchecking "Remove Background").
This project was created with:
.NET 4 (x86)
Visual Studio 2010
Leadtools Multimedia SDK
Leadtools Image Processing SDK
#2
Posted
:
Tuesday, October 10, 2017 10:32:43 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Updated to LEADTOOLS v19 with Visual Studio 2017. Also changed project to automatically select dll's for running in 32-bit and 64-bit.
Extract folder to "C:\LEADTOOLS 19\Examples\DotNet\CS\" to use the example.
Sample overlay MP4s included, copy/move sub-folder "CS_VideoOverlayCallback_input" to the "LEADTOOLS Images" folder ("C:\Users\Public\Documents\LEADTOOLS Images\") before running.
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Monday, March 30, 2020 11:10:02 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 34
Updated Project to LEADTOOLS Version 20 using Visual Studio 2019. This project is using the x86 Architect.
Luke Duvall
Developer Support Engineer
LEAD Technologies, Inc.
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.