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 : Wednesday, January 10, 2007 4:06:15 AM(UTC)

Chris T  
Chris T

Groups: Registered
Posts: 15


is it possible to freeze the preview while capturing?
 

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 : Thursday, January 11, 2007 3:49:07 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

Hello,

Do you mean that you want the capture to continue, but the preview pause?
If yes, there's no direct function to do it, but you might be able do it indirectly.
If not, please explain what you want to do exactly.
Also tell me whether you have a LEADTOOLS imaging toolkit or not.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Friday, January 12, 2007 2:32:18 AM(UTC)

Chris T  
Chris T

Groups: Registered
Posts: 15


I want to use the preview capabilities of the Capture control, somtetimes freeze the image and eventualy capture a still frame to a file:
i have the multimedia kit and the document annotation toolkit
 
#4 Posted : Saturday, January 13, 2007 11:12:12 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

Hello,

Please refer to the following from:
http://support.leadtools.com/SupportPortal/cs/forums/7572/ShowPost.aspx

Please let me know if this helps.

Regards,
Maen Badwan
LEADTOOLS Technical Support
 
#5 Posted : Sunday, January 14, 2007 8:38:15 PM(UTC)

Chris T  
Chris T

Groups: Registered
Posts: 15


this is not exactly what i want...

i just want to freeze the preview of the capture control (like a pause button on a VCR)... giving then the chance to the user to eventually take a stll image
 
#6 Posted : Sunday, January 14, 2007 10:44:30 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

Chris,

I'm still not certain about one point.
In your first message you wrote "freeze the preview while capturing".
By "capturing", do you mean video is being recorded to a file (such as AVI), or do you simply mean video is being displayed (previewed)?
This makes a lot of difference, because working with a capturing control is different from working with a previewing control.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#7 Posted : Thursday, January 18, 2007 2:18:14 AM(UTC)

Chris T  
Chris T

Groups: Registered
Posts: 15


i mean with the capture control, while viewing a live video stream coming from a video source (SVideo or composite)
 
#8 Posted : Thursday, January 18, 2007 6:25:08 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

Hello,

This means you are NOT recording to disk, is this right?

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#9 Posted : Monday, January 22, 2007 8:59:12 AM(UTC)

Chris T  
Chris T

Groups: Registered
Posts: 15


correct...
 
#10 Posted : Tuesday, January 23, 2007 2:08:16 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

Hello,

To Freeze the preview please do the following:
- Add LtmmCapture control on your form (visible = True).
- Add PictureBox control on your form (visible = False).
- Add a button and use the following code:
+---------------------+
Private Sub Command1_Click()
If Capture1.VideoDevices.Selection = 0 Then
   Capture1.StartCapture ltmmCapture_Mode.ltmmCapture_Mode_Still
   Picture1.Picture = Capture1.GetStillPicture(500)
   Picture1.Visible = True
   Capture1.Visible = False
   Picture1.Move _
      Capture1.Left + Capture1.Width / 2 - Capture1.VideoWidth * Screen.TwipsPerPixelX / 2, _
      Capture1.Top + Capture1.Height / 2 - Capture1.VideoHeight * Screen.TwipsPerPixelY / 2, _
      Capture1.VideoWidth * Screen.TwipsPerPixelX, _
      Capture1.VideoHeight * Screen.TwipsPerPixelY
   Capture1.StopCapture
   Capture1.VideoDevices.Selection = -1
Else
   Picture1.BorderStyle = vbBSNone
   Capture1.BorderStyle = ltmmNone
   Capture1.BackColor = Me.BackColor
   Capture1.VideoDevices.Selection = 0
   Capture1.Preview = True
   Capture1.VideoWindowSizeMode = ltmmNormal
   Capture1.Visible = True
   Picture1.Visible = False
End If
End Sub
+---------------------+

Please let me know if this helps.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
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-2020, Yet Another Forum.NET
This page was generated in 0.190 seconds.