is there a current build of gstreamer-sharp that is compatible with the latest version of gstreamer 1.24 and works with .NET 8 and higher? There are some NuGet packages out there, but they are several years old and most of them are no longer maintained. Some of them are not compatible with current .NET versions, some are not compatible with gstreamer MSVC builds and others are no longer compatible with gstreamer 1.24.
I have been trying to create a build myself for several days now. However, I am getting desperate because when building with meson and ninja under windows, one error message after another appears and the Visual Studio Project included in gstreamer-sharp is still geared towards the very old .NET Framework.
Is there any guide on how to create a current build of gstreamer-sharp for .NET 8 and newer under Windows and what requirements are needed for this?
Or is there any source where a finished, current build is available?
Hi there!
I’m in the same situation as you.
I’m trying to use Gstreamer on net8 application and the only working nugget seems to be gstreamer-sharp-netcore, but as you said it is not beeing maintained.
And also seems to be not compatible with MSVC versions.
It’s very confusing to make Gstreamer to work. For example. If you want to use it with C# and EmguCv built with Gstreamer backend you can get it working with MSVC version, but with gstreamer-sharp-netcore only MinGw version is compatible …
The NuGet Package contains a GstSharpBundle.dll which seems to work with current MSVC versions of GStreamer. But it’s still very frustrating that it is so complicated to get current C# bindings or build them without numerous issues. Is the userbase of C# developers so small?
I haven’t seen it. Seems that it’s maintained and supports net8! But … I’m not sure if it’s ok to use un production environment. Is in preview version…
I don’t think that C# is so small but mybe it’s not the usual language to use for streaming and image processing. In my particular cas I have more experience on it and is the most used language in my work so I decided to use it. Also this software part have to be used by other C# apps so I decided to go on that way …
Please tell me, did you stop at using of GstSharpBundle 1.24.3 nuget package or did you build gstreamer-sharp by yourself?
I have same problem with building gstreamer-sharp on Windows 11 as you - the last fail relate to missing GTK dependencies (gdk-3.0, gtk±3.0) and unhandled Python OSError
I have tryed GstSharpBundle 1.24.3 like @joru1407 mentioned and it’s working well. I have only installed the GstSharpBundle nugget, not the GstSharpBundle.Windows.X64 because I have already Gstreamer installer on my computer.
You can also use gstreamer-sharp-netcore but seems to be unmaintained and only it’s compatible with MinGw version for .Netcore
Hi!,
Sorry if maybe I have explained it bad.
I’m using GstSharpBundle 1.24.3 installer via nugget packages, but not installed GstSharpBundle.Windows.X64 which contains gstreamer native dll because I have already installed Gstreamer using official installer and I have the environment variables configured well on my computer.
If you finally succeed to build the dlls please let me know. I’m not an expert on that and I have tried in the past but I have never used meson and seems to be little confusing.
I tried asking a question on stack overflow, but I keep getting a message that my answer doesn’t describe the problem well enough (I honestly don’t know what else to add)