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



Last Go to last post Unread Go to first unread post
#1 Posted : Monday, May 20, 2013 11:09:24 AM(UTC)


Groups: Registered
Posts: 1

How to change the CaptureCtrl.TargetFile during capture? Need to prevent the device from resetting and ideally not drop any frames when switching to new file. Calling ResetTarget and StartCapture on a new target file resets the source device.

Locking Windows causes the sample capture app stop capturing! Wondering what is the cause of this and if a workaround is available.

CaptureCtrl does not know when a device is in use and no errors are seemingly raised by the control. As far as the calling code is concerned everything is working but no image data is actually coming through. Seems that it doesn’t bubble up IMediaControl.Run() failures??

LeadTools.Multimedia.dll has what could be a superficial dependency on System.Design.dll, which is part of the full DotNet framework but not part of the Client Profile. One of our apps is a Client Profile app and this prevents us from using your library.

Please let me know if these are actual issues or if I'm doing something wrong. All four concerns are show stoppers for us, and prevent us from proceeding with LEAD Multimedia SDK and potentially the Imaging SDK. We're using latest v18 SDK.


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 : Monday, May 20, 2013 11:15:07 PM(UTC)


Groups: Registered
Posts: 256

I will try to assist you with the first issue here. For the others, please keep each one separate either by opening a dedicated forum thread for it or by sending a separate email to support@leadtools.com with the full details about each issue.

You can't change the Target file during capture because by then the Graph is already constructed and you will need to reconstruct it in order to change the TargetFile.
However, you can try to use one capture and 2 convert controls to do this as follows:
1- CaptureCtrl will be capturing and streaming to the local machine (target file will be URL with IP of local host).
2. ConvertCtrl1 will connect to the stream and save to disk file number 1.
3. ConvertCtrl2 will connect to the same stream and prepare to save to disk file 2, but it will be paused immediately after starting using the PauseConvert() method.
4.  When you want to save to file-2, ConvertCtrl11 is stopped and ConvertCtrl12 is started using the RunConvert() method.

You can also try an approach based on our DVR features, which allow you to capture to circular buffers that can be copied to multiple files with the ability for specifying selection range.

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.092 seconds.