IWMEncAudienceObj.TotalBitrate
The TotalBitrate property retrieves the total bit rate of the stream for the current audience.
Syntax
Long = IWMEncAudienceObj.TotalBitrate
Parameters
This property takes no parameters.
Property Value
A Long that indicates the total stream bit rate, in bits per second (bps).
Remarks
This property is read-only.
Example Code
' Create a WMEncProfile2 object.
Dim Pro As WMEncProfile2
Set Pro = New WMEncProfile2
' Load a custom profile. REPLACE THE FILE NAME.
Pro.LoadFromFile "C:\Profiles\CustomProfile.prx"
' Create an IWMEncAudienceObj object, selecting the first audience (0)
' in the profile.
Dim Audnc As IWMEncAudienceObj
Set Audnc = Pro.Audience(0)
' Retrieve a value indicating the overall bit rate of the stream.
Dim lTotalBRate As Long
lTotalBRate = Audnc.TotalBitrate
Requirements
Reference: Windows Media Encoder
Library: wmenc.exe
See Also