IltmfConvert::EstimateOutputBitRate Example for C++

void BitRateEstimation(IltmfConvert *pConvert) 
{ 
   long PossibleBitRate, ActualBitRate; 
   // get the estimate bit rate before conversion starts (theoretical) 
   pConvert->EstimateOutputBitRate(&PossibleBitRate); 
   // start the conversion 
   pConvert->StartConvert(); 
   // After starting conversion, get the estimate output bit rate (estimate from actually written bytes) 
   pConvert->EstimateOutputBitRate(&ActualBitRate); 
   // do something with the returned values. 
} 
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Foundation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.