Options struct
Encoding parameters.
Public variables
-
std::
int32_t Width - Luma size in pixels, both even - it is padded internally to whole macroblocks.
-
std::
int32_t Height -
std::
int32_t FrameRateNum - Frame rate as a fraction, one of the eight rates MPEG-1 defines (23.976, 24, 25, 29.97, 30, 50, 59.94, 60).
-
std::
int32_t FrameRateDen -
std::
int32_t BitrateKbps - Target average bitrate in kbit/s over the whole sequence.
-
std::
int32_t GopLength - Pictures in a group,
0for two seconds' worth - at most 132, as MPEG-1 recommends regular intra refreshes. -
std::
int32_t SearchRange - Longest motion vector in pixels (1 to 64).
-
std::
int32_t FixedQuantizer - Quantizer (1 to 31) of every P-picture instead of following BitrateKbps,
0for rate control. -
std::
int32_t PeakBitrateKbps - Bitrate in kbit/s the decoder keeps up with,
0for no limit - never below BitrateKbps. -
std::
int32_t PeakBufferKbits - How many kbit the decoder may fall behind PeakBitrateKbps before it drops a picture,
0for half a second of it.