Gstreamer Sharp Net Core. DllNotFound

Hi,
I’m trying to use Gstreamer with C# Net8 application and it doesn’t works. I have followed the instrucions and I have installed mingw version of Gstreamer and added also the system path environments variables.

Following this steps seems to be not working.
I’m using this nugget package: GitHub - vladkol/gstreamer-netcore: GStreamer-Sharp for .NET Core - GStreamer C# bindings

DllNotFoundException: GObject: libgobject-2.0-0.dll, libgobject-2.0.so.0, libgobject-2.0.0.dylib, gobject-2.dll

Thanks for your help.

1 Like

Hi.

Did you setup PATH environment variable so it can found gst binaries, smth like

d:\gstreamer\1.0\mingw_x86_64\bin\

need to be added PATH environment variable.

I have the same problem. I have set all environment variables. I spend a lot of time and I don’t have any result :confused: . Pls help

I founded soluton. In my situation I instaled x86 gstremer but I set x64 in my C# app. After changin to app to x86, .dll was found!

In my case my C# app is running on x64 and I have installed Gstreamer x64.
I recommend you to set Environment variables of Gstreamer at startup of you c# app. By this way you don’t have to remember that you have to add Gstreamer environment vars when running your app in different computers :slight_smile: