Skip to content

VideoCompression_PFramesPerKeyFrame

property

Delphi
property VideoCompression_PFramesPerKeyFrame: LongInt read GetVideoCompression_PFramesPerKeyFrame write SetVideoCompression_PFramesPerKeyFrame  default DEF_VideoCompression_PFramesPerKeyFrame;
C++Builder
__property System::LongInt VideoCompression_PFramesPerKeyFrame = {read=GetVideoCompression_PFramesPerKeyFrame, write=SetVideoCompression_PFramesPerKeyFrame, default=0};
C#
public int VideoCompression_PFramesPerKeyFrame { get; set; }
VB.NET
Public Property VideoCompression_PFramesPerKeyFrame As Integer
C++/Qt
int GetVideoCompression_PFramesPerKeyFrame ();
void SetVideoCompression_PFramesPerKeyFrame (int Value);

Specifies the rate of predicted (P) frames per key frame for the current video compressor.

If the value is negative (-1), the filter uses its default rate.

Not used by the Media Foundation encoders of the VideoCompressors list, nor by the MP4 recording without video compression (H.264 encoded by the built-in MP4 writer, without B frames).

Use the OnVideoCompressionSettings event to get the default value for the current codec (see the Software compression by using codecs chapter for more details).