ltmmMediaInfo.SourceBitRate Property
object.SourceBitRate As Long |
Remarks
(Read only) This property is updated with the calculated bit rate of the current source media file, in bits per second. This property is updated automatically when the ltmmMediaInfo.SourceFile property is set to the current source media file.
The bit rate with which this property is updated is calculated as follows:
BitRate = (FileSize * 8) / SourceDuration
Where FileSize and SourceDuration are found in the ltmmMediaInfo.SourceFileSize property and the ltmmMediaInfo.SourceDuration property, respectively.
The current source media file is found in the ltmmMediaInfo.SourceFile property. This is the file for which the ltmmMediaInfo object gets information. The ltmmMediaInfo.SourceFile property must be set before retrieving information from any of the other ltmmMediaInfo properties.
Call the ltmmMediaInfo.ResetSource method to release the source file when it is no longer needed.
Win32, x64
See Also