MultiCam Boards Documentation > MultiCam Documentation > MultiCam DirectShow Reference > Reference Guide > Interfaces > IESFCompression > IESFCompression::SetBitrateControl

IESFCompression::SetBitrateControl

HRESULT SetBitrateControl(
  ESF_BITRATECONTROL BitrateControl
);

BitrateControl

[in] Enum specifying the new bit rate control method.

Selects the bit rate control method.

Bit rate control is available on Picolo Diligent, only if the selected or negotiated output format is MEDIASUBTYPE_DX50 or WMMEDIASUBTYPE_MP4S.

Be aware that, when the output format is set to AUTO, the media type is decided only when the filter is connected. The media type can be selected through the output format setting.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code

Description

S_OK

No error.

VFW_E_FILTER_ACTIVE

Bit rate control cannot be changed while the filter is running.

E_FAIL

Bit rate control setting is not applicable. See notes above.

E_INVALIDARG

An invalid argument was passed to the function.

Requirements

Header

ESFilter.h

Library

ESFilter.dll

MultiCam

5.0 or later

See also

Compression

DX50 with PICOLO Diligent

MP4S with PICOLO Diligent

IESFCompression::GetBitrateControl

IESFCompression::GetAverageBitrate

IESFCompression::GetAverageBitrateRange

IESFCompression::SetAverageBitrate

IESFCompression::GetVideoQuality

IESFCompression::GetVideoQualityRange

IESFCompression::SetVideoQuality