SVT-AV1 2.0 Encoder and dav1d 1.4 Decoder Now Available for AV1 Video Format

Published library release SVT-AV1 2.0 (Scalable Video Technology AV1) with implementations of the encoder and decoder of the AV1 video encoding format, for the acceleration of which the means of hardware parallel computing present in modern Intel CPUs are used. The project was created by Intel in partnership with Netflix with the goal of achieving a level of performance suitable for on-the-fly video transcoding and use in video-on-demand (VOD) services. Currently, development is being carried out under the auspices of the Open Media Alliance (AOMedia), which oversees the development of the AV1 video encoding format. Previously, the project developed within the framework of the OpenVisualCloud project, which also develops encoders SVT-HEVC And SVT-VP9. Code distributed by under BSD license.

To use SVT-AV1 necessary x86_64 processor with support for AVX2 instructions. To encode 10-bit AV1 streams with 4K quality, 48 GB of RAM is required, 1080p – 16 GB, 720p – 8 GB, 480p – 4 GB, while memory consumption directly depends on the number of processor cores involved in encoding, regulated by the “–lp” option “. Due to the complexity of the algorithms used in AV1, encoding this format requires significantly more resources than other formats, which does not allow the use of the standard AV1 encoder for real-time transcoding. For example, the stock encoder from the AV1 project requires 5721, 5869 and 658 times more calculations compared to the x264 (“main” profile), x264 (“high” profile) and libvpx-vp9 encoders.

Among the changes in the new release of SVT-AV1:

  • A transition has been made to a new version numbering, according to which the first digit in the version will change with each API/ABI change.
  • Changes have been made to the API related to the transition to the end of stream indication (EOS – End Of Stream) in the last frame instead of using an empty frame, which eliminated the delay in waiting for an extra frame. API change already reflected in the FFmpeg codebase.
  • The three-pass variable bitrate mode (3-pass VBR) has been removed, and is now replaced by a multi-pass VBR mechanism. VBR multi-pass mode has been reduced to two passes to ensure integration with FFmpeg.
  • Optimizations have been added to the encoder, as a result of which the compression efficiency of the M9-M13 presets has increased by 1-4%, and the memory consumption of the M5 preset has decreased by 20-35% in LP 8 mode and by 1-5% in other modes. Memory consumption in other presets decreased by 1-5%.
  • Optimization of quality/speed compromises has been carried out for presets that set a high level of quality. The reference quality MR preset has been accelerated by 100%.
  • ARM-specific optimizations have been added to C-only functions.

Additionally, you can note release project dav1d 1.4.1, within which the VideoLAN and FFmpeg communities are developing a library with the implementation of an alternative free decoder for the AV1 video encoding format. The dav1d library supports all AV1 features, including advanced views subsampling and all color depth control parameters stated in the specification (8, 10 and 12 bits). The key feature of dav1d is its focus on achieving the highest possible decoding performance and ensuring high-quality work in multi-threaded mode. The project code is written in C (C99) with assembly inserts (NASM/GAS) and distributed by under BSD license. Support for x86, x86_64, ARMv7 and ARMv8 architectures, and operating systems FreeBSD, Linux, Windows, macOS, Android and iOS has been implemented.

Version dav1d 1.4 remarkable support for new Loongarch and RISC-V architectures, as well as enabling additional optimizations based on AVX-512 instructions, accelerating 6tap filters on ARM systems, increasing multi-threading efficiency and reducing binary data size on ARM64, ARM32 and RISC-V systems. Vulnerability fixed CVE-2024-1580which resulted in writing to an area outside the buffer boundaries due to an integer overflow when processing very large frame sizes.

Thanks for reading: