How to Set libsvt_hevc Preset in FFmpeg

This article explains how to configure the speed and quality presets for the libsvt_hevc encoder in FFmpeg. You will learn the correct command-line syntax, the range of available preset values, and how to balance encoding speed against compression efficiency for your video processing workflows.

To configure the encoding speed and quality in libsvt_hevc (Intel’s Scalable Video Technology for HEVC), you use the -preset option. This option controls the trade-off between encoding speed and compression efficiency.

The Preset Range

The libsvt_hevc encoder accepts integer values for the -preset option, ranging from 0 to 13:

Command Example

To set a specific preset, insert the -preset flag after specifying the libsvt_hevc encoder.

Here is a standard FFmpeg command using preset 7 (a balanced choice for speed and quality):

ffmpeg -i input.mp4 -c:v libsvt_hevc -preset 7 -crf 25 output.mp4

Choosing the Right Preset