Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.27
LEADTOOLS Media Foundation Help

IltmfCapture::EstimateOutputBitRate Example for C++

Show in webframe
void BitRateEstimation(IltmfCapture *pCapture)
{
   long PossibleBitRate, ActualBitRate;
   // get the estimate bit rate before capturing starts (theoretical)
   pCapture->EstimateOutputBitRate(&PossibleBitRate);
   // start the capture
   pCapture->StartCapture(ltmfCapture_Mode_VideoAndAudio);
   // After starting capture, get the estimate output bit rate (estimate from actually written bytes)
   pCapture->EstimateOutputBitRate(&ActualBitRate);
   // do something with the returned values.
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.