gstreamer-sharp

GStreamer-sharp failed to create pipeline

喜夏-厌秋 提交于 2020-01-25 06:53:15
问题 I try to display RTSP stream using Gstreamer in my WPF application. So I did so far: installed GStreamer into loal folder F:/gstreamer Created new WPF application Added glib-sharp and gstreamer-sharp as dependencies. The code below I use to init the library: Gst.Application.Init(); // (1) mainLoop = new GLib.MainLoop(); mainGLibThread = new System.Threading.Thread(mainLoop.Run); mainGLibThread.Start(); Element uriDecodeBin = ElementFactory.Make("playbin", "uriDecodeBin0"); // (2) Unable to

Display gstreamer-sharp video stream in WinForms

这一生的挚爱 提交于 2019-12-06 11:56:58
问题 I am looking for an example/help for displaying a gstreamer-sharp feed in a WinForms application. I am using VS 2012 and have the "glue" project built for this version of VS. I also have glib-sharp, gstreamer-sharp installed and referenced by my project. I have the gstreamer bin directory set as my project's working directory. If have the following code in a button click handler I get the GStreamer D3D video sink test Window which pops-up on top of my Form. Gst.Application.Init(); var

Display gstreamer-sharp video stream in WinForms

坚强是说给别人听的谎言 提交于 2019-12-04 15:53:45
I am looking for an example/help for displaying a gstreamer-sharp feed in a WinForms application. I am using VS 2012 and have the "glue" project built for this version of VS. I also have glib-sharp, gstreamer-sharp installed and referenced by my project. I have the gstreamer bin directory set as my project's working directory. If have the following code in a button click handler I get the GStreamer D3D video sink test Window which pops-up on top of my Form. Gst.Application.Init(); var pipeline = Parse.Launch(@"videotestsrc ! videoconvert ! autovideosink"); pipeline.SetState(State.Playing); I