Search code examples
c#gstreamergstreamer-sharp

GStreamer-Sharp - msg.type threw exception


I'm trying to get GStreamer-Sharp to work on Windows.

I managed to get the videotestsrc to play through a videoauto sink and thought I'd cracked. So I started to build up some Bus Message handling when all of a sudden....

msg.Type = 'msg.Type' threw an exception of type 'System.TypeInitializationException'

I'm at my wits end here... I've tried different binaries of GStreamer and X64/X32... I really would like to build this in C# rather than C or Python. Has anybody seen this before?

Thanks,

Matt


Solution

  • If anybody is having troubles getting DLL's for Gstreamer on Windows, please find the following github repository.

    This allowed me to finally control Gstreamer through a windows appl