IWMEncAudienceObj::get_VideoImageSharpness

Windows Media Encoder SDK banner art

The get_VideoImageSharpness method retrieves a value indicating the video image quality.

Syntax

HRESULT get_VideoImageSharpness(
  short  iRenderSiteIndex,
  long*  plIQuality
);

Parameters

iRenderSiteIndex

[in]  short containing the audience stream index. Because an audience can only contain one stream of each type, iRenderSiteIndex must be zero.

plIQuality

[out]  Pointer to a long between 0 to 100 indicating the quality of the video image.

Return Values

If the method succeeds, it returns S_OK. If it fails, it supports the IErrorInfo interface and returns an HRESULT error code.

Return code Number Description
E_POINTER 0x80004003 The pointer to the video image quality is NULL.

Remarks

The get_VideoImageSharpness method is used for constant bit rate (CBR) mode. A lower value results in smoother image movement and a higher frame rate, while a higher value results in a clearer image and a decrease in frame rate.

Requirements

Header: wmencode.h

Library: wmenc.exe

See Also