

Both of these AQ modes are enabled by default, and -qp-mode is set to relative-load when -lookahead_depth >= 1. The Xilinx video encoders support two types of AQ: Spatial Adaptive Quantization and Temporal Adaptive Quantization. It exploits the fact that the human eye is more sensitive to certain regions of a frame and redistributes more bits to those regions.

The QP for each frame is determined by the rate control, and adaptive quantization (AQ) adjusts QP on top of that for different regions within a frame. This tool improves the video qualitity by changing the quantization parameter (QP) within a frame. Considerations for Decoding and Encoding 4K Streams.Using FFmpeg for Video Encoding and Decoding.
