WPFMediaKit 3.0.1

dotnet add package WPFMediaKit --version 3.0.1                
NuGet\Install-Package WPFMediaKit -Version 3.0.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="WPFMediaKit" Version="3.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WPFMediaKit --version 3.0.1                
#r "nuget: WPFMediaKit, 3.0.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.
// Install WPFMediaKit as a Cake Addin
#addin nuget:?package=WPFMediaKit&version=3.0.1

// Install WPFMediaKit as a Cake Tool
#tool nuget:?package=WPFMediaKit&version=3.0.1                

WPF MediaKit

This is the official new home of WPF MediaKit (the former was https://wpfmediakit.codeplex.com/). A library to quickly build DirectShow media player controls in WPF. The kit comes with a video player MediaUriElement (a WPF MediaElement replacement), a VideoCaptureElement for web cams and a DVDPlayerElement that plays DVDs and supports interactive menus.

For questions and answers follow the tag wpf-mediakit on StackOverflow: StackExchange

NuGet Package: NuGet

Build status

Many thanks to Jeremiah Morrill who originally created and developed this awesome control!

Contribute

There is still a lot to do! So, please feel free to help, if you are an advanced developer! 😃 Answer issues, open PR, or become a maintainer. Open an issue, if you are willing to help maintaning this project.

Changelog

Version 3.0:

  • Added .NET 8 & .NET 9 compatibility, removed .NET Framework compatibility. If you are still using .NET Framework, please use Version 2.3.0 of WPF MediaKit!

Version 2.3:

  • Bugfixes
  • Upgraded to .NET Framework 4.8
  • Test Application with x64 support

Version 2.2:

  • Video snapshots by D3DRenderer.CloneSingleFrameImage()
  • D3DRenderer optimizations.
  • NuGet package.

Version 2.1:

  • Bugfixes (Memory Leak)
  • fallback mechanism to auto generate graph if manually generated graph doesn't work
  • fix video playback if no audio device is available
  • LAV Splitter Source is not hardcorded anymore
  • EVR is default Video Renderer

Version 2.0:

  • EVR Presenter uses DXVA2 hardware acceleration (thanks to Siegfried Krüger!).
  • EVR Presenter doesn't require the DirectX March 2009 Runtimes anymore (thanks to Siegfried Krüger!).
  • DirectShow graph will be built manually to have full control.
  • Options to set the desired Video, Audio and Splitter Codecs.
Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net9.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on WPFMediaKit:

Package Downloads
Kang.WPF.Frame

自己用的WPF轮子,封装好ORM + UI框架

LLYYT.CameraWpfOwer

WPF调用摄像头拍照

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.1 101 1/23/2025
3.0.0 100 1/17/2025
2.3.0 2,076 3/5/2024
2.2.0 104,758 1/19/2017

Added .NET 8 & .NET 9 compatibility, removed .NET Framework compatibility. Fixed DirectShowLib. If you are still using .NET Framework, please use Version 2.3.0 of WPF MediaKit!