mdk 0.25.0.1311
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package mdk --version 0.25.0.1311
NuGet\Install-Package mdk -Version 0.25.0.1311
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="mdk" Version="0.25.0.1311" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add mdk --version 0.25.0.1311
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: mdk, 0.25.0.1311"
#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 mdk as a Cake Addin #addin nuget:?package=mdk&version=0.25.0.1311 // Install mdk as a Cake Tool #tool nuget:?package=mdk&version=0.25.0.1311
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MDK: Multimedia Development Kit
Changelog
API
Features
- Simple and powerful API set
- Cross platform: Windows, UWP, Linux, macOS, Android, iOS, Raspberry Pi
- Hardware accelerated decoders
- 0-copy GPU rendering for all platforms and all renderers(Vulkan is WIP.)
- Dynamic OpenGL
- OpenGL, D3D11, D3D12, Vulkan and Metal rendering w/ or w/o user provided context
- Integrated with any platform native ui apps, gui toolkits or other apps via OpenGL, D3D11/12, Vulkan and Metal (OBS, Flutter, Qt, SDL, GLFW, SFML, .NET Avalonia etc.) easily
- HDR display, HDR to SDR and SDR to HDR tone mapping. You can use HDR display in Qt6(6.6+ for macOS, 6.x for windows), OBS Studio and more.
- Seamless/Gapless media and bitrate switch for any media
- Subtitle rendering, including ass, plain text, bitmap, closed caption
- Optimized Continuous seeking. As fast as mpv, but much lower cpu, memory and gpu load. Suitable for timeline preview
- Smart FFmpeg runtime, dynamic load, compatible with 4.x~6.x abi
- Professional codecs: GPU accelerated HAP codec rendering, Blackmagic RAW, R3D
- Subtitle rendering
About SDK for Windows Desktop & UWP
SDK is built by
- latest VS2022 with FFmpeg
SDK can be used by any C or C++11 compiler, e.g. vs2015, vs2022, mingw g++, clang
Use in CMake Projects
include(mdk-sdk-dir/lib/cmake/FindMDK.cmake)
target_link_libraries(your_target PRIVATE mdk)
Qt qmake project
include($$MDK_SDK_DIR/mdk.pri)
Recommended settings
player.setDecoders(MediaType::Video, {"MFT:d3d=11", "hap", "D3D11", "CUDA", "FFmpeg", "dav1d"});
Live streams (RTSP, RTMP etc.) low latency
player.setProperty("avformat.fflags", "+nobuffer");
player.setProperty("avformat.fpsprobesize", "0");
Runtime Requirements
- Vista+
- ucrt, vc140+ runtime
Optional:
- libEGL.dll, libGLESv2.dll, D3DCompiler_47/43.dll. Qt apps can use qt's dlls
- vulkan
Supported Graphics APIs:
- D3D11: recommended
- OpenGL(No UWP): via WGL. The default if EGL runtime is not found.
- OpenGL ES2/3: via ANGLE or others. The default if EGL runtime is found.
- Vulkan(No UWP)
Supported Decoders:
- FFmpeg. options: threads=N. e.g. -c:v FFmpeg. -c:v FFmpeg:threads=4
- MFT. options: d3d=0/9/11/12, pool=0/1. e.g. -c:v MFT(software), -c:v MFT:d3d=11(hardware) or MFT:d3d=12.
- CUDA(No UWP)
- D3D11: via FFmpeg
- DXVA(No UWP): via FFmpeg
- NVDEC(No UWP): via FFmpeg
- CUVID(No UWP): via FFmpeg
- QSV(No UWP): via FFmpeg
- VAAPI
- BRAW: Blackmagic RAW
- R3D: R3D RAW
- hap
Source code:
- some examples using mdk sdk
- OBS Studio plugin
- QtMultimedia plugin
- MFT decoder module
- dav1d decoder module
- Blackmagic RAW
- R3D RAW
Copyright (c) 2016-2024 WangBin(the author of QtAV) <wbsecg1 at gmail.com> Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.
Product | Versions 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 | |
---|---|---|---|
0.30.0.1719 | 169 | 11/10/2024 | |
0.29.1.1640 | 339 | 8/30/2024 | |
0.29.0.1598 | 328 | 7/3/2024 | |
0.28.0.1551 | 463 | 6/1/2024 | |
0.26.0.1387 | 488 | 3/31/2024 | |
0.25.0.1311 | 272 | 1/31/2024 |