Skip to content

VideoCompression_WindowSize

property

Delphi
property VideoCompression_WindowSize: LongInt read GetVideoCompression_WindowSize write SetVideoCompression_WindowSize  default DEF_VideoCompression_WindowSize;
C++Builder
__property System::LongInt VideoCompression_WindowSize = {read=GetVideoCompression_WindowSize, write=SetVideoCompression_WindowSize, default=-1};
C#
public int VideoCompression_WindowSize { get; set; }
VB.NET
Public Property VideoCompression_WindowSize As Integer
C++/Qt
int GetVideoCompression_WindowSize ();
void SetVideoCompression_WindowSize (int Value);

Specifies the window size of the current video compressor, i.e. the number of frames over which the compressor must maintain an average data rate.

For example, assuming a data rate of 100K/sec and a frame rate of 10 frames per second, if the window size is 1, every frame is 10K or less. If the window size is 5, every five consecutive frames must average 10K per frame, but individual frames may exceed this size.

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).

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