Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, July 3, 2007 6:42:09 AM(UTC)

roadman  
roadman

Groups: Registered
Posts: 29


Hi ALL,

Anyone know how can i capture a frame/still image from a video played by the LTMMPlay Control (when i pause the video at certain frame) ? The captured image will then be added some annotation and save it to file.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, July 3, 2007 11:11:37 PM(UTC)

roadman  
roadman

Groups: Registered
Posts: 29


 I am using LeadTool 15 + Multimedia SDK. I am planning to use the LeadTool to capture clip from capture card/webcam. Then we can then have play control to pause the clip and capture the best still image/instance.

What is the best way to capture a still image/ frame from LEADTOOL Play Control?
Is possible to add annotation on the captured image?

 

 
#3 Posted : Sunday, July 8, 2007 4:12:23 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)


You can use one of the following methods (all members of ltmmPlay):


GetStillDIB


GetStillPicture


SaveStillBitmap


SaveStillDIB


 


About adding annotations, if
you mean drawing on the bitmap itself (modifying its pixel data), you can do that using our LEADTOOLS imaging toolkits or using Windows GDI functions.


If you mean you want to draw annotation objects and store
them independent of the image's pixel data, you can do that using LEADTOOLS Document Imaging toolkits.
 
#4 Posted : Monday, July 9, 2007 1:23:21 AM(UTC)

roadman  
roadman

Groups: Registered
Posts: 29


Thank for your reply.

Actually i have tried the following methods, but "LTMM Error: Not Implemented" is return:
GetStillPicture
SaveStillBitmap

I am using Visual Studio 2005.Net and LEADTOOL Multimedia SDK 15. Grateful if you can provide any solution.
I am trying the Video CallBack Filter now.

For the annotation part, i want to add some text object on the still image and i am trying the AnnTextObject.
Howerver, I don't how to control the location/position of the annotation object.

 
#5 Posted : Tuesday, July 10, 2007 6:59:23 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)


Our multimedia Player demo uses
the GetStillPicture method in the Edit => Copy menu. Please try this demo and see if it works at your side.


 


About controlling the annotation location, Depends on
type of object. For example, objects that have 4 points (rectangles, Text,
ellipses, etc.) have the Bounds property that determines their location. Other types of objects have other properties for that.
 
#6 Posted : Wednesday, July 11, 2007 1:54:53 AM(UTC)

roadman  
roadman

Groups: Registered
Posts: 29


How to save the image with annotation to file?
 
#7 Posted : Thursday, July 12, 2007 1:01:15 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)


With the TIFF file format, you can save the annotations in a tag in the TIFF file itself.


With other formats, you can't
embed the annotations in the file itself, but you can save them in a separate file usually named similar to the image itself but with a .ANN extension.


Please read the help topics about the AnnCodecs.Save Method and AnnCodecs.SaveToTag Method.
 
#8 Posted : Friday, July 13, 2007 2:00:35 AM(UTC)
gadedata

Groups: Registered
Posts: 3


Hi. I think my example attached as LeadMultimedia_Play_SnapAndSaveFrame.zip can help you. I use Multimedia 14.5 and RasterImagePro 14.5. Poul Gade

File Attachment(s):
LeadMultimedia_Play_SnapAndSaveFrame.zip (453kb) downloaded 48 time(s).
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.779 seconds.