共用方式為


AVEncVideoEncodeDimension Property

 
Microsoft DirectShow 9.0

AVEncVideoEncodeDimension Property

Specifies the width and height of the encoded video, if the video is cropped.

Property GUID

CODECAPI_AVEncVideoEncodeDimension

Data Type

UINT32 (VT_UI4)

Remarks

This property is read/write.

The upper 16 bits of the value contain the width in pixels, and the lower 16 bits contain the height in pixels.

Applications can set this property to crop the input video. The specified size must be less than the size of the input video frames. Use the AVEncVideoEncodeOffsetOrigin property to specify the left and top corners of the clipping rectangle.

Encoders can return this property as a capability.

Requirements

Header: Include codecapi.h.

See Also