IltmmCapture::EstimateOutputBitRate Example for C++

void BitRateEstimation(IltmmCapture *pCapture) 
{ 
   long PossibleBitRate, ActualBitRate; 
   // get the estimate bit rate before capturing starts (theoretical) 
   pCapture->EstimateOutputBitRate(&PossibleBitRate); 
 
   // start the capture 
   pCapture->StartCapture(ltmmCapture_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. 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.