AV1 Rate Control Modes for Video Archiving
When compressing video for long-term archival using the AV1 codec, selecting the correct rate control mode is critical for preserving visual fidelity while maximizing storage efficiency. Unlike streaming or live broadcasting, archival workflows prioritize visual consistency and artifact reduction over strict bandwidth or buffer constraints. This guide examines the primary rate control modes available in AV1—specifically Constant Quality (CRF), Constrained Quality, and 2-Pass Variable Bitrate (VBR)—and identifies the optimal choices for preserving video collections.
Constant Quality (CRF / CQ)
Constant Quality—commonly referred to as Constant Rate Factor (CRF) or Constant Quality (CQ)—is the industry standard for archival encoding. In this mode, the encoder adjusts the bitrate dynamically to maintain a uniform level of perceived visual quality across every frame. Simple scenes with little motion use fewer bits, while complex or high-motion scenes receive significantly higher bitrates.
- Encoder Flags: In SVT-AV1 and libaom, this is
typically set using
--crf [value]alongside--rc 0(or leaving the bitrate unconstrained). - Archival Value: Because archival projects do not have strict file-size or bandwidth limitations, CRF ensures that visual quality never drops during demanding scenes, preventing macroblocking or banding.
- Recommended Values: For archival purposes, CRF values generally range between 18 and 26 for SVT-AV1. Lower numbers retain higher fidelity at the cost of larger file sizes.
Constrained Quality (Capped CRF)
Constrained Quality is a hybrid approach that operates like CRF but enforces an upper limit on the bitrate. The encoder aims for a specific quality level, but if a scene requires more bandwidth than the designated maximum ceiling, it caps the bitrate to prevent massive file-size spikes.
- Encoder Flags: Configured by setting a CRF target
alongside a maximum bitrate limit (e.g.,
--crf 22 --max-bitrate [value]). - Archival Value: This mode is ideal for archival scenarios where destination media has bandwidth limits (such as high-end local network streaming from an archive or hardware-constrained decoders) while still seeking the perceptual benefits of CRF.
- Trade-off: If the cap is set too low, complex or grainy scenes will suffer from compression artifacts, reducing the archival integrity of the master file.
2-Pass Variable Bitrate (2-Pass VBR)
Two-pass Variable Bitrate calculates bit distribution across the entire duration of the file based on a pre-defined average target bitrate. During the first pass, the encoder analyzes scene complexity; in the second pass, it allocates the available bit budget proportionally to scene demands.
- Archival Value: 2-Pass VBR is primarily used in archival contexts when storage space is strictly partitioned, such as targeting exact disc capacities (like LTO tapes or optical media) or adhering to strict storage quotas.
- Trade-off: Unlike CRF, 2-Pass VBR cannot guarantee consistent quality across different videos. A quiet, dialogue-heavy clip will have unnecessarily high quality, whereas an action-heavy clip of the same duration might appear degraded under the same average bitrate target.
Modes to Avoid for Archiving
- Constant Bitrate (CBR): CBR enforces a fixed data rate regardless of scene complexity. It wastes storage space on simple scenes and severely degrades quality during complex scenes, making it completely unsuitable for archival purposes.
- 1-Pass Variable Bitrate (1-Pass VBR): Because the encoder cannot look ahead through the entire file, it cannot allocate bits as intelligently as 2-pass modes, resulting in inconsistent quality throughout the video.
Archival Recommendation
For pure video archiving with AV1, single-pass Constant Quality (CRF) is the best choice. It eliminates quality bottlenecks, guarantees uniform perceptual preservation, and allows the advanced compression tools of AV1 to discard redundant data efficiently without degrading source fidelity.