Vortice.MediaFoundation 3.8.1

dotnet add package Vortice.MediaFoundation --version 3.8.1
                    
NuGet\Install-Package Vortice.MediaFoundation -Version 3.8.1
                    
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="Vortice.MediaFoundation" Version="3.8.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vortice.MediaFoundation" Version="3.8.1" />
                    
Directory.Packages.props
<PackageReference Include="Vortice.MediaFoundation" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vortice.MediaFoundation --version 3.8.1
                    
#r "nuget: Vortice.MediaFoundation, 3.8.1"
                    
#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.
#:package Vortice.MediaFoundation@3.8.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vortice.MediaFoundation&version=3.8.1
                    
Install as a Cake Addin
#tool nuget:?package=Vortice.MediaFoundation&version=3.8.1
                    
Install as a Cake Tool

Vortice.Windows

License: MIT Build status NuGet

Vortice.Windows is a collection of Win32 and UWP libraries with bindings support for DXGI, WIC, DirectWrite, Direct2D, Direct3D9, Direct3D11, Direct3D12, XInput, XAudio2, X3DAudio, DirectInput, DirectStorage, DirectML, UIAnimation and DirectSound.

This library targets .net9.0 and .net10.0 and uses modern C#, see CHANGELOG for list of changes between commits.

If you are looking for high-performance low level bindings, please visit Vortice.Win32

Sponsors

Please consider becoming a SPONSOR to further help development and to allow faster issue triaging and new features to be implemented. NOTE: any feature request would require a sponsor in order to allow faster implementation and allow this project to continue.

There is a collection of samples available Vortice.Windows.Samples

Credits

Library development, contributions and bugfixes by:

  • Amer Koleci
  • Aaron Sun (DirectML)

SharpDX bindings were used for some platforms to understand how mapping works using SharpGenTools.

Build

In order to compile, make sure no spaces are present in the solution path otherwise SharpGen will fail to generate bindings. Also, you need to install Visual Studio 2022 with the following components:

  • Visual C++ Toolset Component
  • Windows 11 SDK (10.0.26100.0)
  • .NET 10 SDK

Projects using Vortice.Windows

Samples

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Vortice.MediaFoundation:

Package Downloads
FlyleafLib

Media Player .NET Library for WinUI 3/WPF/WinForms (based on FFmpeg/DirectX)

SharpAudio

Package Description

Avalonia.Controls.MediaPlayer

Avalonia MediaPlayer enables native video and audio playback across Windows, macOS, and Linux, supporting multiple formats for reliable, high-quality media experiences.

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Vortice.MediaFoundation:

Repository Stars
TASEmulators/BizHawk
BizHawk is a multi-system emulator written in C#. BizHawk provides nice features for casual gamers such as full screen, and joypad support in addition to full rerecording and debugging tools for all system cores.
umlx5h/LLPlayer
The media player for language learning, with dual subtitles, AI-generated subtitles, real-time translation, and more!
b-editor/beutl
Cross-platform video editing (compositing) software.
SuRGeoNix/Flyleaf
Media Player .NET Library for WinUI 3/ WPF/WinForms (based on FFmpeg/DirectX)
feliwir/SharpAudio
Audio playback/capturing engine for C#
Version Downloads Last Updated
3.8.1 643 12/2/2025
3.8.0-beta 620 12/2/2025
3.7.6-beta 565 9/29/2025
3.7.5-beta 537 7/21/2025
3.7.4-beta 260 4/9/2025
3.7.3-beta 187 3/31/2025
3.7.2-beta 154 3/14/2025
3.7.1-beta 162 2/13/2025
3.7.0-beta 7,964 12/3/2024
3.6.2 13,692 10/9/2024
3.6.1-beta 136 9/30/2024
3.6.0-beta 152 9/23/2024
3.5.13-beta 155 9/5/2024
3.5.12-beta 177 9/2/2024
3.5.11-beta 108 7/30/2024
3.5.10-beta 145 7/8/2024
3.5.9-beta 172 7/1/2024
3.5.8-beta 235 6/27/2024
3.5.7-beta 162 6/25/2024
3.5.6-beta 140 6/25/2024
3.5.5-beta 120 6/20/2024
3.5.4-beta 168 6/14/2024
3.5.3-beta 171 6/10/2024
3.5.2-beta 158 5/29/2024
3.5.1-beta 157 5/27/2024
3.5.0 931 3/13/2024
3.4.4-beta 195 2/13/2024
3.4.3-beta 222 2/2/2024
3.4.2-beta 245 12/29/2023
3.4.1-beta 224 11/17/2023
3.4.0-beta 160 11/9/2023
3.3.4 457 10/13/2023
3.3.3-beta 230 10/9/2023
3.3.2-beta 151 10/6/2023
3.3.1-beta 141 9/18/2023
3.3.0-beta 113 9/18/2023
3.2.1-beta 253 6/23/2023
3.2.0 3,177 5/14/2023
3.1.1-beta 216 4/20/2023
3.1.0-beta 172 4/17/2023
3.0.5-beta 202 4/13/2023
3.0.4-beta 209 4/5/2023
3.0.3-beta 202 4/5/2023
3.0.2-beta 213 4/5/2023
3.0.1-beta 209 3/29/2023
3.0.0-beta 200 3/6/2023
2.4.2 45,200 3/3/2023
2.4.1-beta 220 2/9/2023
2.4.0-beta 218 1/25/2023
2.3.0 341 1/19/2023
2.2.0 2,011 12/22/2022
2.1.42-beta 212 11/8/2022
2.1.41 280 11/8/2022
2.1.40 215 11/8/2022
2.1.34-beta 243 9/28/2022
2.1.33-beta 223 9/26/2022
2.1.32 10,219 9/22/2022
2.1.31-beta 216 9/6/2022
2.1.30-beta 287 8/30/2022
2.1.29-beta 197 8/30/2022
2.1.28-beta 385 8/29/2022
2.1.27-beta 197 8/29/2022
2.1.26-beta 222 8/8/2022
2.1.25-beta 256 7/21/2022
2.1.24-beta 238 7/15/2022
2.1.23-beta 213 7/11/2022
2.1.22-beta 281 7/5/2022
2.1.21-beta 246 6/18/2022
2.1.20-beta 261 6/7/2022
2.1.19 857 6/7/2022
2.1.18 266 6/7/2022
2.1.17 269 6/7/2022
2.1.16-beta 228 6/6/2022
2.1.15-beta 236 5/31/2022
2.1.14-beta 240 5/19/2022
2.1.13-beta 231 5/19/2022
2.1.12-beta 270 5/9/2022
2.1.11-beta 246 5/2/2022
2.1.10-beta 839 4/25/2022
2.1.9-beta 309 4/21/2022
2.1.8-beta 266 4/11/2022
2.1.7-beta 276 4/8/2022
2.1.6-beta 225 4/5/2022
2.1.5-beta 232 3/31/2022
2.1.4-beta 369 3/21/2022
2.1.3-beta 283 3/15/2022
2.1.2 329 3/10/2022
2.1.2-beta 272 3/11/2022
2.1.1-beta9 272 1/24/2022
2.1.1-beta8 253 1/21/2022
2.1.1-beta7 267 1/20/2022
2.1.1-beta6 251 1/20/2022
2.1.1-beta5 256 1/19/2022
2.1.1-beta4 1,642 1/11/2022
2.1.1-beta3 262 1/10/2022
2.1.1-beta2 272 1/7/2022
2.1.1-beta12 239 3/2/2022
2.1.1-beta11 267 2/14/2022
2.1.1-beta10 268 2/8/2022
2.1.1-beta1 271 1/3/2022
2.1.0 494 12/31/2021
2.1.0-beta9 1,399 12/27/2021
2.1.0-beta8 307 12/9/2021
2.1.0-beta7 337 12/9/2021
2.1.0-beta6 281 12/6/2021
2.1.0-beta5 296 11/29/2021
2.1.0-beta4 303 11/10/2021
2.1.0-beta3 306 11/10/2021
2.1.0-beta2 282 11/2/2021
2.1.0-beta10 292 12/30/2021
2.0.20-beta 329 9/25/2021
2.0.19-beta 295 9/24/2021
1.9.143 2,602 9/8/2021