After six months of development, the FFmpeg 6.0 multimedia package is now available, which includes a set of applications and a collection of libraries for working with various multimedia formats (recording, converting, and decoding audio and video formats). The package is distributed under LGPL and GPL licenses, and FFmpeg development is conducted alongside the MPlayer project.
Key changes in FFmpeg 6.0 include:
- The ffmpeg build has been made mandatory to run in multithreaded mode. Each media container muxer now operates in its own thread.
- Support for VAAPI and QSV (Quick Sync Video) has been implemented for encoding and decoding VP9 and HEVC with color subsampling of 4:2:2 and 4:4:4, along with 10- and 12-bit color depth encoding.
- Support for the oneVPL (oneAPI Video Processing Library) has been added for utilizing Intel QSV (Quick Sync Video) hardware acceleration technology.
- An AV1 encoder with QSV-based hardware acceleration has been added.
- The ffmpeg utility has been enhanced with the following options:
- «-shortest_buf_duration» to set the maximum duration of buffered frames (the larger the value, the higher the accuracy in «-shortest» mode, but increased memory consumption and latency).
- «-stats_enc_pre[_fmt]», «-stats_enc_post[_fmt]» and «-stats_mux_pre[_fmt]» for logging frame-by-frame information about selected streams at different encoding stages to a specified file.
- «-fix_sub_duration_heartbeat» for identifying the synchronizing (heartbeat) video stream used for separating subtitles.
- The filtergraph syntax has been expanded to allow passing option values from a specified file. The filename is set by prefacing the value with ‘\/’, for example, «ffmpeg -vf drawtext=\/text=\/tmp\/some_text» will load the text parameter from the file \/tmp\/some_text.
- Support for image formats has been added: WBMP (Wireless Application Protocol Bitmap), Radiance HDR (RGBE).
- New decoders have been added: APAC, bonk, Micronas SC-4, Media 100i, ViewQuest VQC, MediaCodec (NDKMediaCodec), WADY DPCM, CBD2 DPCM, XMD ADPCM, WavArc, RKA.
- New encoders have been added: nvenc AV1, MediaCodec.
- New demuxers have been added: SDNS, APAC, bonk, LAF, WADY DPCM, XMD ADPCM, WavArc, RKA.
- CrystalHD decoders have been deprecated.
- New video filters:
- ddagrab — capture desktop video on Windows via the Desktop Duplication API.
- corr — determines the correlation between two videos.
- ssim360 — measures the similarity of video captured in 360° mode.
- hstack_vaapi, vstack_vaapi and xstack_vaapi - combining multiple videos (each video displayed in its own screen area) using VAAPI for acceleration.
- backgroundkey - turns a static background into transparent.
- The cropdetect filter now includes a mode for detecting the cropping area based on motion vectors and edges.
- New audio filters:
- showcwt - converts sound to video with frequency spectrum visualization using continuous wavelet transform and Morlet.
- adrc - applies a filter to the incoming audio stream to modify the spectral dynamic range.
- a3dscope - transforms input audio into spatial 3D sound.
- afdelaysrc - generates coefficients for the finite impulse response (FIR).
- New bitstream filters:
- Conversion from media100 to mjpegb.
- Conversion from DTS to PTS.
Source: opennet.ru
