Up to date Build of gstreamer-sharp .NET C# Bindings

Hello guys,

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?

Thank you very much for your support!
Joshua

3 Likes

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 …

With regards,

I found this NuGet Package / Repository:

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?

Hi there!

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 …

With regards,