AVBlocks for .NET  3.0
Audio and Video Software Development Kit
Param.Encoder.Video.MPEG2 Class Reference

Parameters specific to MPEG-1 and MPEG-2 video encoders. More...

Static Public Attributes

static string GOPSize = "ENCODER_MPEG2VIDEO_GOPSIZE"
 MPEG-1 and MPEG-2 Video: Size of the Group of Pictures (GOP, N).
 
static string IPDistance = "ENCODER_MPEG2VIDEO_IPDISTANCE"
 MPEG-1 and MPEG-2 Video: Distance between successive reference pictures (GOP, M).
 
static string VBVBufferSize = "ENCODER_MPEG2VIDEO_VBV_BUFFER_SIZE"
 MPEG-1 and MPEG-2 Video: Size of the internal VBV buffer in units of 16384 bits.
 

Detailed Description

Parameters specific to MPEG-1 and MPEG-2 video encoders.

Member Data Documentation

◆ GOPSize

string GOPSize = "ENCODER_MPEG2VIDEO_GOPSIZE"
static

MPEG-1 and MPEG-2 Video: Size of the Group of Pictures (GOP, N).

This parameter is an integer.

The integer value is the distance between two I-pictures (full images). The minimum value is 1 which means the stream will contain only I-pictures. The maximum value for MPEG-1 is 132.

The default value is 15.

See also
MPEG2.IPDistance

◆ IPDistance

string IPDistance = "ENCODER_MPEG2VIDEO_IPDISTANCE"
static

MPEG-1 and MPEG-2 Video: Distance between successive reference pictures (GOP, M).

This parameter is an integer.

The integer value is the distance between 2 successive reference pictures: I-I, I-P, P-I or P-P. The minimum value is 1 which means that the stream will contain I and P pictures but no B-pictures.

If IPDistance is equal to GOPSize and is greater than 1 then the stream will contain only I and B picutres, but no P-pictures.

The default value is 3.

See also
MPEG2.GOPSize

◆ VBVBufferSize

string VBVBufferSize = "ENCODER_MPEG2VIDEO_VBV_BUFFER_SIZE"
static

MPEG-1 and MPEG-2 Video: Size of the internal VBV buffer in units of 16384 bits.

This parameter is an integer.

The default value is 20 for MPEG-1 and 112 for MPEG-2.

A value of 0 means to use the encoder default setting.