Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: how to add rectangles on a video
Started by millerf at 06-19-2008 0:54. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  06-19-2008, 0:54
millerf is not online. Last active: 6/19/2008 5:01:34 AM millerf

Not Ranked
Joined on 06-19-2008
Posts 1
how to add rectangles on a video
Reply Quote
Hi,

I am using C++Builder and Leadtools 14.5 Multimedia.
I would like to draw rectangles on top of a video (Object  'ltmmPlayCtrl').
If it is possible, please help me....

thanks

   Report 
  06-19-2008, 11:14
Adam Boulad is not online. Last active: 7/23/2008 4:14:05 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 406
Re: how to add rectangles on a video
Reply Quote
Normal 0 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

Hello,

You might be able to do that by using the Video Callback Filter and drawing the rectangle on the image data.

Unfortunately we do not have sample code to do this in C++ Builder, but we have Visual C++ demos for the Callback filter shipped with LEADTOOLS Multimedia 14.5.

The demo uses our LEADTOOLS imaging toolkit, so if you only have the multimedia toolkit, you will not be able to compile it even with Visual C++. However, the code should show you how to use the filter with the C++ language. The source code is in:

<LEADTOOLS Multimedia 14.5 folder>\Examples\ltmm\cpp\Callback


Adam Boulad
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » General » Example Request... » Re: how to add rectangles on a video

Powered by Community Server, by Telligent Systems