IESFCompression::SetVideoQuality
HRESULT SetVideoQuality(
long lValue
);
lValue |
[in] New video quality. |
Sets the video quality of the compressed media stream.
The video quality setting is available only if the following conditions are met:
- when the filter uses a Picolo Diligent:
- the media type is MEDIASUBTYPE_DX50 or WMMEDIASUBTYPE_MP4S
- bit rate control is variable bit rate (VBR)
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 |
Video quality cannot be changed while the filter is running. |
E_INVALIDARG |
The value is out of range. |
E_FAIL |
Video quality setting is not applicable. See notes above. |
Requirements
Header |
ESFilter.h |
Library |
ESFilter.dll |
MultiCam |
5.0 or later |