Welcome to LEAD Support Forum Login | Register | Faq  

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

Regarding NetServer to Support Saving file on disk
Started by preeteesh at 07-30-2008 8:34. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  07-30-2008, 8:34
preeteesh is not online. Last active: 7/30/2008 1:20:42 PM preeteesh

Not Ranked
Joined on 07-30-2008
Posts 2
Regarding NetServer to Support Saving file on disk
Reply Quote

Hi i am using Leadtools SDK example of NetServer. My requirement is that when i start NetServer it should write the captured frames to disk till i don't stop it.

I studied NetServer code and came to concolusion that i may be required to make another object and use put_TargetFile as different for both. One m_capture object would stream and another would write but i want that because we have one m_capture object we should be able to use it to stream as well as write. Please let me know if its possible or any other ideas/solutions you can present me..?

Thanks,
Preetish

   Report 
  07-30-2008, 10:42
Adam Boulad is not online. Last active: 1/8/2009 3:31:15 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 541
Re: Regarding NetServer to Support Saving file on disk
Reply Quote
Preetish,
I'm afraid that the only way I know is to keep the capture control streaming and add another convert control (for example) that will take the stream from the capture control and save it to the disk,
You might find the following post helpful:
http://support.leadtools.com/SupportPortal/cs/forums/11948/ShowPost.aspx
Adam Boulad
LEADTOOLS Technical Support

   Report 
  07-31-2008, 4:11
preeteesh is not online. Last active: 7/30/2008 1:20:42 PM preeteesh

Not Ranked
Joined on 07-30-2008
Posts 2
Re: Regarding NetServer to Support Saving file on disk
Reply Quote
Hi,

 Thanks for reply. So does that means i can't hook more than one target file?. Is is possible to somehow hook one more target ..?, may be some callback.. etc..

Can you tell me why lead tools decided to go with not providing multiple targets. Is it due to some performance issues that might come into picture...?
 
Awaiting your reply..

Thanks,
Preetish

   Report 
  07-31-2008, 9:55
Adam Boulad is not online. Last active: 1/8/2009 3:31:15 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 541
Re: Regarding NetServer to Support Saving file on disk
Reply Quote
Preetish,
Yes, you can only use one target file directly with our toolkit. We do have a video callback filter that you can use to retrieve the video data of every frame. For more information, see the 'LEAD Video Callback Filter (2.0)' in the Multimedia 'Filters' help file.
You will need a way to store the video buffers if you use the callback. If you want to use LEADTOOLS for that, you will also need a second control.

Limiting the output to one file per controls was probably meant by our engineers to simplify the design.
Adam Boulad
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Multimedia » Regarding NetServer to Support Saving file on disk

Powered by Community Server, by Telligent Systems