Microsoft announced the addition of the Video Encode API to DirectX 12 for Windows 11. This innovation will provide developers with the ability to encode and decode video using GPU-accelerated video engines in accordance with the standards set by DirectX 12.
The Video Encode API will be included with Windows 11 and the DirectX 12 Agility SDK (version 1.700.10 or later).
Microsoft has published a list of hardware platforms and the required minimum version of drivers for them, which already support video encoding for H264 and HEVC codecs (H265)… Support is provided on NVIDIA graphics cards and on-board graphics for Tiger Lake, Ice Lake and Alder Lake processors. Support for AMD hardware platforms will be added in Q2 2022.
Currently, only H264 and HEVC codecs are available, so the responsibility for handling the rest of the bitstream codec headers such as SEI / VUI / VPS / SPS / PPS is delegated to the users themselves. The API can be used in conjunction with the SetPredication and Timestamp D3D12 functions.
Thanks to the innovations, users will be able to fine-tune certain aspects of the video encoding process, such as changing the speed control configuration modes, using custom codec encoding tools, customizing codec and transform block sizes, limiting the accuracy of the motion vector, and more.
For more information on the video encoding function using DirectX 12, see in the company blog…