AVBlocks for C++  2.1
Audio and Video Software Development Kit
primo::codecs::H264RateControlMethod Namespace Reference

Defines methods for bitrate contorl when encoding H.264/AVC. More...

Enumerations

enum  Enum {
  ABR = 2,
  ConstantQuant = 3
}
 H264RateControlMethod. More...
 

Detailed Description

Defines methods for bitrate contorl when encoding H.264/AVC.

Enumeration Type Documentation

enum Enum

H264RateControlMethod.

Enumerator
ABR 

Average Bitrate.

Ensures that the output stream achieves a predictable long-term average bitrate.

ConstantQuant 

Constant Quantization.

Encodes the video to a constant quantizer. The encoder uses the specified target quantizer, not a target bitrate. The quantizer is a measure for the amount of data loss: a higher quantizer means that more data will be lost, which results in a better compression, but also delivers worse visual quality. This method could be used when a certain level of quality is required and the final bitrate is not a concern. The bitrate is unpredictable in this mode.