Not able to run c# code with GstSharp Nuget package

0

I want to execute basic code of GStreamer using GstSharp nuget package. The application build successful but at run time it throws error

"Unable to load DLL 'libgstreamer-1.0-0.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"

then try to create Pipeline object. I am using GstSharp Nuget package but first statement throws the error. Is there any extra setting required after installing Nuget package GstSharp?

            // Build the pipeline
            var pipeline = Parse.Launch("playbin uri=https://download.blender.org/durian/trailer/sintel_trailer-1080p.mp4");

            // Start playing
            pipeline.SetState(State.Playing);

            // Wait until error or EOS
            var bus = pipeline.Bus;
            var msg = bus.TimedPopFiltered(Constants.CLOCK_TIME_NONE, MessageType.Eos | MessageType.Error);

            // Free resources
            pipeline.SetState(State.Null);
c#
gstreamer
asked on Stack Overflow Dec 24, 2019 by Vipul_Langalia • edited Dec 24, 2019 by AminGolmahalle

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0