AVBlocks for C++  2.1
Audio and Video Software Development Kit
primo::avblocks::Param::Encoder::Video::MPEG2 Namespace Reference

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

Variables

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

Detailed Description

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

Variable Documentation

const char 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
const char 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
const char 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.