How to Set SVT-AV1 Preset in FFmpeg

This article provides a quick guide on how to configure the speed and quality presets for the SVT-AV1 (libsvtav1) encoder in FFmpeg. You will learn the correct command-line syntax, understand the available preset ranges, and see how different preset values impact your encoding speed and output file size.

Using the -preset Option

To configure the encoding speed in SVT-AV1, use the -preset option in your FFmpeg command. The syntax is straightforward:

ffmpeg -i input.mp4 -c:v libsvtav1 -preset 6 -crf 30 output.mkv

In this command: * -c:v libsvtav1 selects the SVT-AV1 encoder. * -preset 6 sets the speed/quality trade-off level. * -crf 30 sets the Constant Rate Factor for quality control.

Understanding SVT-AV1 Preset Values

SVT-AV1 uses numerical values for its presets, typically ranging from 0 to 13.

Preset Comparison Table

Preset Range Use Case Encoding Speed Compression Efficiency
0 – 3 Archival / Placebo Extremely Slow Maximum
4 – 6 Standard Encoding (Recommended) Slow to Medium Very High
7 – 10 Live Streaming / Quick Drafts Fast to Very Fast Medium
11 – 13 Ultra-fast / Low-latency Maximum Speed Low

To achieve the best results, it is recommended to start with -preset 6 and adjust downward if you want better compression (at the cost of time), or upward if the encoding process is taking too long.