Szerkesztés

Megosztás a következőn keresztül:


KSPROPERTY_VIDEOCOMPRESSION_PFRAMES_PER_KEYFRAME

The KSPROPERTY_VIDEOCOMPRESSION_PFRAMES_PER_KEYFRAME property controls the predicted frame (P-Frame) interval. This property must be implemented.

Usage Summary Table

Get Set Target Property descriptor type Property value type

Yes

Yes

Filter

KSPROPERTY_VIDEOCOMPRESSION_S

LONG

The property value (operation data) is a LONG that specifies the number of predicted frames per key frame.

Remarks

The Value member of the KSPROPERTY_VIDEOCOMPRESSION_S structure specifies the number of P-Frames per key frame. If a set request provides a negative Value, the minidriver should set the P-Frame rate to the default value.

Minidrivers that support this property should set the KS_VideoCompressionCaps_CanBFrame flag in the Capabilities member of the KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S structure that retrieves the minidriver's video compression capabilities.

Requirements

Header

Ksmedia.h (include Ksmedia.h)

See also

KSPROPERTY

KSPROPERTY_VIDEOCOMPRESSION_S

KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S