One helpful feature of (the tool for low-bitrate, highly compressed H.264 encoding) is its Scene-Adaptive Quantization Matrix tuning .
To enable this in practice: Use --qmatrix-file with a set of matrices (e.g., “detail”, “smooth”, “grain”) and --qmatrix-scene-threshold to auto-switch based on motion estimation from the lookahead. Pair it with --no-deblock on high-motion scenes to retain sharp edges instead of blurring them.
Unlike standard x264, Heretic allows you to automatically switch between different custom quantization matrices per scene—using a (preserving texture) and a flatter, smoother matrix for high-motion scenes (masking blocking artifacts). This gives you much better perceived quality at extremely low bitrates (e.g., 100–300 kbps for 480p) than x264’s global matrix or CQ mode alone.