LEADTOOLS Media Foundation Help > Programming with LEADTOOLS Media Foundation > C++ Code > IltmfConvert::EstimateOutputSize Example for C++ |
void OutputSizeEstimation(IltmfConvert *pConvert) { double Size; // start conversion pConvert->StartConvert(); // After starting capture, get the expected output size for a capture of 5 seconds pConvert->EstimateOutputSize(5.0, &Size); // do something with the returned value. }