IWMEncAudienceObj Interface

Windows Media Encoder SDK banner art

The IWMEncAudienceObj interface 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 interface can be retrieved from the IWMEncProfile2 interface, which is used to create and modify profiles.

In addition to the methods inherited from IDispatch, the IWMEncAudienceObj interface exposes the following methods.

Method Description
get_AudioBitrate Retrieves the bit rate of the audio stream for the current audience.
get_AudioBufferMax Retrieves the maximum size of the audio buffer for the current audience.
get_AudioCodec Retrieves the index of the audio codec used by the current audience.
get_AudioFormat Retrieves the index of the audio format used by the current audience.
get_AudioPeakBitrate Retrieves the peak audio bit rate in the current audience when using peak VBR mode.
get_Property Retrieves the value of a named property for a particular stream in the current audience.
get_ScriptBitrate Retrieves the bit rate of the script stream in the current audience.
get_Selected Retrieves a Boolean value indicating whether the current audience will be saved with the profile.
get_StreamBitrate Retrieves the bit rate for each content type in the stream in the current audience.
get_TotalBitrate Retrieves the total bit rate of the stream for the current audience.
get_TotalPeakBitrate Retrieves the total peak bit rate of the stream for the current audience.
get_VideoBitrate Retrieves the bit rate of the video stream in the current audience.
get_VideoBufferMax Retrieves the maximum size of the video buffer when using peak VBR mode.
get_VideoBufferSize Retrieves the size of the video buffer when using CBR mode.
get_VideoCodec Retrieves the index of the video codec used by the current audience.
get_VideoCompressionQuality Retrieves the video codec quality.
get_VideoFPS Retrieves the video frame rate.
get_VideoHeight Retrieves the output height of the video image.
get_VideoImageSharpness Retrieves a value indicating the video image quality.
get_VideoKeyFrameDistance Retrieves the video key frame interval.
get_VideoPeakBitrate Retrieves the peak video bit rate in the current audience when using peak VBR mode.
get_VideoWidth Retrieves the output width of the video image.
put_AudioBufferMax Specifies the maximum size of the audio buffer for the current audience.
put_AudioCodec Specifies the index of the audio codec that is used by the current audience.
put_AudioFormat Specifies the index of the audio format used by the current audience.
put_AudioPeakBitrate Specifies the peak audio bit rate in the current audience when using peak VBR mode.
put_Property Specifies the value of a named property for a particular stream in the current audience.
put_ScriptBitrate Specifies the bit rate of the script stream in the current audience.
put_Selected Specifies a Boolean value indicating whether the current audience will be saved with the profile.
put_StreamBitrate Specifies the bit rate for streams in the current audience.
put_VideoBitrate Specifies the bit rate of the video stream in the current audience.
put_VideoBufferMax Specifies the maximum size of the video buffer when using peak VBR mode.
put_VideoBufferSize Specifies the size of the video buffer when using CBR mode.
put_VideoCodec Specifies the index of the video codec that is used by the current audience.
put_VideoCompressionQuality Specifies the video codec quality.
put_VideoFPS Specifies the video frame rate.
put_VideoHeight Specifies the output height of the video image.
put_VideoImageSharpness Specifies a value indicating the video image quality.
put_VideoKeyFrameDistance Specifies the video key frame interval.
put_VideoPeakBitrate Specifies the peak video bit rate in the current audience when using peak VBR mode.
put_VideoWidth Specifies the output width of the video image.
SetAudioConfig Specifies the audio format settings for the current audience.

See Also