ltmmConvertCtrl.EstimateOutputSize Method

Visual Basic Example

Syntax

object.EstimateOutputSize(Duration As Double) As Double

Remarks

Retrieves the estimated conversion output size, in bytes, for the specified duration.

The estimated output size is calculated using the following equation:

Size = (Bitrate * Duration) / 8.

The retrieved size depends on the state of the convert object.

If the object is in the running state, the retrieved size is related to the actual number of bytes that have been written.

If the object is not running, the retrieved size is a theoretical value dependent on the conversion settings and the chosen encoding settings.

See Also

Elements:

ltmmConvertCtrl.EstimateOutputBitRate Method

Topics:

Multimedia Properties, Methods and Events