HW accelerated decoding is a crucial feature in the Stanag Player SDK, providing efficient and high-performance video playback and frame extraction capabilities. The SDK leverages multiple technologies such as DXVA, CUDA, QuickSync, and D3D11VA to enhance the decoding process.
- DXVA (DirectX Video Acceleration): DXVA is a Microsoft technology that allows video decoding to be offloaded to compatible hardware, such as dedicated video decoding circuits on GPUs. By leveraging DXVA, the Stanag Player SDK can reduce the CPU load and improve the overall efficiency of video decoding. This results in smoother playback, lower power consumption, and improved performance on systems with DXVA-enabled hardware.
- CUDA (Compute Unified Device Architecture): CUDA is a parallel computing platform and programming model developed by NVIDIA. It enables developers to harness the power of NVIDIA GPUs for general-purpose computing tasks, including video decoding. By utilizing CUDA, the Stanag Player SDK can take advantage of the immense computational capabilities of modern GPUs, accelerating the decoding process and delivering faster and more efficient video playback.
- QuickSync: QuickSync is an Intel technology that provides hardware-accelerated video encoding and decoding capabilities. It utilizes dedicated video processing units integrated into Intel CPUs to perform video decoding tasks, offloading the workload from the CPU. The Stanag Player SDK leverages QuickSync to enhance the decoding performance on systems with Intel CPUs, resulting in improved playback quality and reduced system resource usage.
- D3D11VA (Direct3D 11 Video Acceleration): D3D11VA is a component of Microsoft's Direct3D graphics API that enables hardware acceleration for video decoding. By integrating D3D11VA, the Stanag Player SDK benefits from the close collaboration between the video decoding pipeline and the graphics subsystem. This collaboration leads to improved performance, optimized resource utilization, and enhanced visual quality during video playback.
By combining these technologies in the Stanag Player SDK, users can experience the advantages of HW accelerated decoding, such as smoother playback, reduced CPU load, faster decoding times, and overall enhanced video playback performance.
You can use a property SelectedHardwareAcceleratedDecoding to configure the acceleration type.
Value | Description |
None | Decoding video in software only, without hardware acceleration |
Dxva2_Copyback | Using DXVA2 Video Acceleration engine for decoding h264 or h265 video |
Dxva2_New | Should not use |
Cuvid | Using CUDA Video Acceleration engine for decoding h264 or h265 video. This is available for Nvidia graphic cards only |
Qsv | Using QuickSync Video Acceleration engine for decoding h264 or h265 video. This is available with a proper license only |
D3d11va | Using DirectX 11 Video Acceleration engine for decoding h264 or h265 video |