IWMEncAudienceObj Object

Windows Media Encoder SDK banner art

The IWMEncAudienceObj object manages the audiences in a profile. The audience defines such settings as the bit rate, the codec, the audio format, and various video settings. Profiles that use a constant bit rate (CBR) mode can contain multiple audiences corresponding to different bit rates. An IWMEncAudienceObj object can be retrieved from the WMEncProfile2 object, which is used to create and modify profiles.

The IWMEncAudienceObj object exposes the following properties and methods.

Property Description
AudioBitrate Retrieves the bit rate of the audio stream in the current audience.
AudioBufferMax Specifies and retrieves the maximum size of the audio buffer in the current audience.
AudioCodec Specifies and retrieves the index of the audio codec that is used by the current audience.
AudioFormat Specifies and retrieves the index of the audio format that is used by the current audience.
AudioPeakBitrate Specifies and retrieves the peak audio bit rate in the current audience when using peak VBR mode.
Property Specifies and retrieves the value of a named property for a particular stream in the current audience.
ScriptBitrate Specifies and retrieves the bit rate of the script stream in the current audience.
Selected Specifies and retrieves a Boolean value indicating whether the current audience will be saved with the profile.
StreamBitrate Specifies and retrieves the bit rate for each stream in the current audience.
TotalBitrate Retrieves the total bit rate of the stream in the current audience.
TotalPeakBitrate Retrieves the total peak bit rate of the stream in the current audience.
VideoBitrate Specifies and retrieves the bit rate of the video stream in the current audience.
VideoBufferMax Specifies and retrieves the maximum size of the video buffer when using peak VBR mode.
VideoBufferSize Specifies and retrieves the size of the video buffer when using CBR mode.
VideoCodec Specifies and retrieves the index of the video codec that is used by the current audience.
VideoCompressionQuality Specifies and retrieves the video codec quality.
VideoFPS Specifies and retrieves the video frame rate.
VideoHeight Specifies and retrieves the output height of the video image.
VideoImageSharpness Specifies and retrieves a value indicating the video image quality.
VideoKeyFrameDistance Specifies and retrieves the video key frame interval.
VideoPeakBitrate Specifies and retrieves the peak video bit rate in the current audience when using peak VBR mode.
VideoWidth Specifies and retrieves the output width of the video image.
Method Description
SetAudioConfig Specifies the audio format settings in the current audience. 

See Also