Welcome to LEAD Support Forum Login | Register | Faq  

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

Re: Capture and multi-core
Started by EngrCgd at 06-10-2009 21:18. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  06-10-2009, 21:18
EngrCgd is not online. Last active: 2/25/2009 5:57:39 PM EngrCgd

Not Ranked
Joined on 02-25-2009
Posts 3
Capture and multi-core
Reply Quote
Does the capture object take advantage of multiple core CPUs when compressing and saving video? Will it run faster on muti-core CPUs?



   Report 
  06-11-2009, 10:28
Adam Boulad is not online. Last active: 12/15/2009 10:50:44 AM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 1,127
Re: Capture and multi-core
Reply Quote
Usually, the most processor-intensive part when capturing is video compression. The ability to make use of multiple processors or cores depends on the compressor being used. For example, our LEAD MPEG-2 Encoder can make use of up to 4 processors in 4 processing threads to optimize performance.
Adam Boulad
LEADTOOLS Technical Support

   Report 
  06-11-2009, 13:36
EngrCgd is not online. Last active: 2/25/2009 5:57:39 PM EngrCgd

Not Ranked
Joined on 02-25-2009
Posts 3
Re: Capture and multi-core
Reply Quote
If I am capturing from multiple cameras using multiple capture objects in C++ and using a non-Lead compressor. Is each capture or compressor running in its own thread or should I create a thread for each capture?



   Report 
  06-14-2009, 14:06
Adam Boulad is not online. Last active: 12/15/2009 10:50:44 AM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 1,127
Re: Capture and multi-core
Reply Quote
There are different factors affecting this. When you perform a typical capture operation, many objects are involved internally, not just compressors, and some of them create and terminate their own threads. Normally with multiple cores present, these threads will be divided on the existing cores by the OS. I'm not sure if our capture control itself creates a 'main' thread for itself, but even if it doesn't, when you have 2 controls performing simultaneous capture, you can be sure that the OS will split the work between available CPUs to some degree.

In short, I do not expect performance to gain much if you add specific code to create a separate thread for each capture process.
Adam Boulad
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Enduser » Capture & Conve... » Re: Capture and multi-core

Powered by Community Server, by Telligent Systems