gstreamer-d3d11-overlay
1.0.3
See the version list below for details.
Install-Package gstreamer-d3d11-overlay -Version 1.0.3
dotnet add package gstreamer-d3d11-overlay --version 1.0.3
<PackageReference Include="gstreamer-d3d11-overlay" Version="1.0.3" />
paket add gstreamer-d3d11-overlay --version 1.0.3
#r "nuget: gstreamer-d3d11-overlay, 1.0.3"
// Install gstreamer-d3d11-overlay as a Cake Addin
#addin nuget:?package=gstreamer-d3d11-overlay&version=1.0.3
// Install gstreamer-d3d11-overlay as a Cake Tool
#tool nuget:?package=gstreamer-d3d11-overlay&version=1.0.3
gstreamer-d3d11-overlay
Using GStreamer with Direct3D11/Direct3D9 interop layer in .Net
There is no direct support in WPF to display UI elements over a D3D component due to the airspace issue. This project will tackle this issue by implementing a Direct3D11/Direct3D9 interop layer and by using the D3DImageEx class.
The D3DImageEx class will create a D3D11Texture which is created with the D3D11_RESOURCE_MISC_SHARED
. This texture will be used for the SetBackBuffer method and later used for the d3d11videosink element in the gstreamer code.
Sample project
Sample project
GStreamer is a framework used for creating streaming media applications. In the sample project included in this repository we are creating a player which can play RTSP streams in WPF with a textbox overlay.
Using the NuGet package
Download the NuGet package from https://www.nuget.org/packages/gstreamer-d3d11-overlay/
Using the native C++ projects
What You Need
Credits
The Direct3D11/Direct3D9 interop layer is based on the project http://jmorrill.hjtcentral.com/Home/tabid/428/EntryId/437/Direct3D-10-11-Direct2D-in-WPF.aspx by Jeremiah Morrill.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
.NETStandard 2.0
- 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.