Microsoft.Direct3D.VideoAccelerationCompatibilityPack 1.0.2

Prefix Reserved
dotnet add package Microsoft.Direct3D.VideoAccelerationCompatibilityPack --version 1.0.2                
NuGet\Install-Package Microsoft.Direct3D.VideoAccelerationCompatibilityPack -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Direct3D.VideoAccelerationCompatibilityPack" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Direct3D.VideoAccelerationCompatibilityPack --version 1.0.2                
#r "nuget: Microsoft.Direct3D.VideoAccelerationCompatibilityPack, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Direct3D.VideoAccelerationCompatibilityPack as a Cake Addin
#addin nuget:?package=Microsoft.Direct3D.VideoAccelerationCompatibilityPack&version=1.0.2

// Install Microsoft.Direct3D.VideoAccelerationCompatibilityPack as a Cake Tool
#tool nuget:?package=Microsoft.Direct3D.VideoAccelerationCompatibilityPack&version=1.0.2                

VIDEO ACCELERATION COMPATIBILITY PACK NuGet Package

This package contains a copy of libva and its associated development headers for Windows, the vainfo utility and a D3D12-based VAAPI driver named vaon12.

Setup instructions

Visual Studio Project

  1. Install this nuget package to your VS project
  2. Follow the steps in the "Environment variables" subsection
  3. Run your VS application

Manual install

  1. Copy all files under build\native\<arch>\bin\> into your preferred folder.
  2. Add the folder containing the files from the step above to your PATH environment variable.
  3. Follow the steps in the "Environment variables" subsection
  4. You should now be able to open a new powershell terminal and run vainfo to enumerate the supported entrypoints/profiles in your system.

Environment variables

Please set the following environment variables for your current user and save the changes. Please note you have to reopen any powershell or command prompt terminals for the changes to take effect.

LIBVA_DRIVER_NAME=vaon12
LIBVA_DRIVERS_PATH=<Path to directory containing vaon12_drv_video.dll>

Changelog

Version 1.0.2

Update libva to v2.19.0 and libva-utils to v2.19.0. Update vaon12 driver with the following fixes: - Add support for QVBR rate control mode - Performance optimizations

Version 1.0.1

Update libva to v2.18.0 and libva-utils to v2.18.1. Update vaon12 driver with the following fixes: - Fix video decode for interlaced streams with reference only textures required - H264/HEVC Encode - Fix PPS frequency and rate control issues - Fix VP9 decode corruption on some GPUs - Video Encode - Fix ID3D12CommandAllocator leak

Version 1.0.0

Initial release. The following entrypoints/profiles are exposed via vaon12 when supported by the underlying GPU/driver. Depending on your vendor hardware and driver, some of them may not be available.

VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main               : VAEntrypointVLD
VAProfileH264Main               : VAEntrypointEncSlice
VAProfileH264High               : VAEntrypointVLD
VAProfileH264High               : VAEntrypointEncSlice
VAProfileHEVCMain               : VAEntrypointVLD
VAProfileHEVCMain               : VAEntrypointEncSlice
VAProfileHEVCMain10             : VAEntrypointVLD
VAProfileHEVCMain10             : VAEntrypointEncSlice
VAProfileVP9Profile0            : VAEntrypointVLD
VAProfileVP9Profile2            : VAEntrypointVLD
VAProfileAV1Profile0            : VAEntrypointVLD
VAProfileNone                   : VAEntrypointVideoProc
Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 3,723 7/13/2023
1.0.1 1,120 3/31/2023
1.0.0 15,838 1/30/2023