Search found 5 matches

by Piper984
Tuesday 23rd August 2022 12:35pm
Forum: Component
Topic: Simple GStreamer display example
Replies: 9
Views: 10521

Re: Simple GStreamer display example

Capuring: Replacing ximagesink with xvimagesink and I now think I am getting what I need: ... oSNK = New MediaControl(oPipeline, "xvimagesink") ... http://www.pitchpipetuner.com/gambas/screen_gui_working.jpg I will post back to this thread with any additional learnings. I am hoping to use ...
by Piper984
Tuesday 23rd August 2022 12:28pm
Forum: Component
Topic: Simple GStreamer display example
Replies: 9
Views: 10521

Re: Simple GStreamer display example

Hello Vuott and forum, I made some progress on my own, and I am closer with my test on what I am looking to do with Gambas, but now quite there yet. The following code works to display the output of the videotesrc plugin from GStreamer: Public Sub Button1_Click() Dim oPipeline As MediaPipeline Dim o...
by Piper984
Tuesday 23rd August 2022 10:59am
Forum: Component
Topic: Simple GStreamer display example
Replies: 9
Views: 10521

Re: Simple GStreamer display example

Hi Vuott, Unfortunately when I cut/paste the playbin example into a new form, I am getting an error "Cannot set status in FMain:28" at this line: oPipeline.Play. I made sure to add the gb.media component to the project. Any idea what is going wrong for me? I did a quick google search of th...
by Piper984
Monday 22nd August 2022 9:16pm
Forum: Component
Topic: Simple GStreamer display example
Replies: 9
Views: 10521

Re: Simple GStreamer display example

Thanks. For right now I'd like to see if I can just use the gb.media system. I've done some more testing. Here is a snip of code that will open the videotestsrc video content in a popup window: Dim oPipeline As MediaPipeline Dim oMC As MediaControl Dim oSNK As MediaControl oPipeline = New MediaPipel...
by Piper984
Monday 22nd August 2022 1:38pm
Forum: Component
Topic: Simple GStreamer display example
Replies: 9
Views: 10521

Simple GStreamer display example

I have a need to have the video output of a GStreamer pipeline rendered to a DrawingBox or similar control on a Gambas form. I've taken a look at some of the media examples, but I'm not sure I'm understanding the paradigm yet. The simple example pipeline I'm testing with: gst-launch-1.0 videotestsrc...