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