primo::avblocks::Param::Encoder::Video::MPEG2

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

static const char primo::avblocks::Param::Encoder::Video::MPEG2::GOPSize[] = "ENCODER_MPEG2VIDEO_GOPSIZE"

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.

static const char primo::avblocks::Param::Encoder::Video::MPEG2::IPDistance[] = "ENCODER_MPEG2VIDEO_IPDISTANCE"

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

static const char primo::avblocks::Param::Encoder::Video::MPEG2::VBVBufferSize[] = "ENCODER_MPEG2VIDEO_VBV_BUFFER_SIZE"

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.