The quantization parameter (QP) is the codec setting that controls how coarse quantization is - effectively the size of the step by which each DCT coefficient is divided before rounding. A higher QP means a larger step, so more high-frequency coefficients round to zero, fewer bits are spent, and the picture collapses faster toward flat blocks. A lower QP keeps the step small, preserves more detail, and costs more bits. QP is therefore the central dial trading file size against visible quality, and it sits directly upstream of every block-transform artifact: raise it too far and blocking opens on the grid, ringing grows around edges, texture blurs, and smooth regions band. Rate control adjusts QP frame by frame, and even region by region, to hit a target bitrate. The catch is that the same QP behaves very differently on easy versus hard content, so a fixed QP does not guarantee a fixed perceptual quality - which is why metrics and per-content tuning matter rather than trusting one number.


The handbook · 7 volumes
Fora Soft Video Engineering Handbook
The quantization parameter (QP) is the dial most encoder tuning ends up touching, and small changes in QP move file size and artifacts a lot. Our seven-volume handbook covers the whole video stack; begin with Volume 1, which explains QP alongside rate control, CRF, adaptive quantization and quality metrics for H.264, HEVC and AV1. Written by Nikolay Sapunov, CEO at Fora Soft.
Tuning QP or CRF and unsure where quality starts to break?
We will map QP against VMAF on your content and give you encoder settings with clear size and quality trade-offs. 250+ video products shipped since 2005.