LEADTOOLS Support
General
General Questions
How to save a video after a built-in special effect has been applied to it in your code?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, May 10, 2012 9:19:51 AM(UTC)
Groups: Registered
Posts: 2
Hi,
There is a sample program at:
LEADTOOLS 17.5\Examples\Ltmm Multimedia\Dotnet\CS\Callback
It shows how to add special effects to an existing video. Once an effect, such as average effect, is selected, you can run the resulting video which has average effect applied to it. But there is no save button, which means this demo does not show you have to save a new video, such as an avi file, with the special effect applied to it.
My question is: where can I find information on how to save a video with special effect applied to it.
Any help or suggestion will be greatly appreciated!
Jiming
#2
Posted
:
Friday, May 11, 2012 12:51:52 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Hello Jiming,
That particular demo is only using our PlayCtrl with the Video Callback filter to modify the image data. In order to save the output of the modified video frames, you would need to use the Callback Filter with a ConvertCtrl.
http://www.leadtools.com/help/leadtools/v175/dh/multimedia/mm/leadtools.multimedia~leadtools.multimedia.convertctrl_members.html
Your application would be setup similarly to the demo, but instead of using a PlayCtrl, you would replace that object with a ConvertCtrl. When you're ready to save the output, you would use the ConvertCtrl method StartConvert(). You would first need to set the TargetFile property of the ConvertCtrl to the output file you wish to save.
StartConvert:
http://www.leadtools.com/help/leadtools/v175/dh/multimedia/mm/leadtools.multimedia~leadtools.multimedia.convertctrl~startconvert.html
TargetFile:
http://www.leadtools.com/help/leadtools/v175/dh/multimedia/mm/leadtools.multimedia~leadtools.multimedia.convertctrl~targetfile.html
LEADTOOLS Support
General
General Questions
How to save a video after a built-in special effect has been applied to it in your code?
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.