FFmpeg 9.1 'Gauss' Released with Audio Overhaul

The latest FFmpeg update introduces a revised native AAC encoder, Vulkan-based GPU acceleration, and support for HDR gain map photography.

The FFmpeg team has officially released version 9.1, codenamed 'Gauss,' bringing a significant overhaul to its native audio encoding and expanding its GPU-accelerated processing capabilities. This update focuses on refining existing standards while embracing modern hardware extensions to streamline media workflows.

Refined Audio and Enhanced AAC Encoding

At the heart of the Gauss release is a revised native AAC encoder featuring updated bitrate control and improved bit allocation for stereo channels. To maintain audio quality at lower thresholds, the encoder now suggests reducing the sampling rate to 32 kHz for stereo bitrates falling below 80 kbit/s. For those requiring the latest in high-efficiency audio, FFmpeg 9.1 adds support for xHE-AAC via the external libfdk-xhe-aac library, alongside a new 'dsd_msbf' DSD encoder and a decoder for DVD-Audio LPCM.

Leveraging GPU Power and Vulkan

Hardware acceleration sees a major boost with the introduction of a Vulkan-based GPU encoder for the Advanced Professional Video Codec (APV). Developers have also introduced the 'fruc_vulkan' filter, which utilizes motion-compensated frame interpolation to increase frame rates. This specific filter requires an Nvidia GPU compatible with the VK_NV_optical_flow extension.

Efficiency for Nvidia users is further improved by allowing CUDA-arrays to pass directly from the NVDEC decoder to the NVENC encoder, provided the system is running Video Codec SDK 13.1 or higher. Additionally, the ONNX Runtime backend for DNN filters now features a D3D12/DirectML zero-copy path, and AMD users can take advantage of the 'vqe_amf' filter for image enhancement via the AMD Advanced Media Framework.

Advanced Metadata and Format Support

FFmpeg 9.1 makes strides in HDR photography and specialized video formats. A new 'gainmap' filter and JPEG-MPF muxer allow for the creation of HDR photos by storing a JPEG base image and a JPEG-encoded gain map within a Multi-Picture Format file. For LCEVC material, the software can now process base video and enhancement data from separate tracks, using a new bitstream filter to merge the payload into the base stream.

Connectivity and platform-specific improvements round out the release. A new optional HTTP/HTTPS client based on libcurl introduces support for HTTP/2, HTTP/3, and SOCKS5 proxies. On macOS, AVFoundation input devices can now be selected using unique IDs or USB serial numbers. While the update adds decoders for Panasonic RW2 raw images and ASTC images, it also marks the end of the 'asf_o' demuxer, which has been removed in this version.