What caps are to be set for streaming openGL framebuffer? I used
"video/x-raw","width", G_TYPE_INT, 640, "height", G_TYPE_INT, 480 but I get a negotiation error. Please help. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Try
video/x-raw(memory:GLMemory) On the console, the brackets need to be escaped: gst-launch-1.0.exe videotestsrc ! glupload ! video/x-raw\(memory:GLMemory\) ! gldownload ! videoconvert ! autovideosink Cheers Martin ________________________________________ From: gstreamer-devel <[hidden email]> on behalf of Arvin6 <[hidden email]> Sent: Tuesday, October 3, 2017 9:58 AM To: [hidden email] Subject: Caps to set for streaming openGL framebuffer from appsrc What caps are to be set for streaming openGL framebuffer? I used "video/x-raw","width", G_TYPE_INT, 640, "height", G_TYPE_INT, 480 but I get a negotiation error. Please help. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
$ gst-launch-1.0 videotestsrc ! glupload ! video/x-raw\(memory:GLMemory\) !
gldownload ! videoconvert ! autovideosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ** (gst-launch-1.0:4745): CRITICAL **: gst_gl_window_get_context: assertion 'GST_IS_GL_WINDOW (window)' failed Caught SIGSEGV exec gdb failed: No such file or directory Spinning. Please run 'gdb gst-launch-1.0 4745' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core. I get this error. Also, my real problem is streaming openGL framebuffer on tcp. I get a number of issues like, ERROR from element Our-Source: Internal data stream error. Debugging info: gstbasesrc.c(2939): void gst_base_src_loop(GstPad *) (): /GstPipeline:ppipe/GstAppSrc:Our-Source: streaming stopped, reason not-linked (-1) do you have any idea on that part? Martin Vachovski wrote > Try > > video/x-raw(memory:GLMemory) > > On the console, the brackets need to be escaped: > > gst-launch-1.0.exe videotestsrc ! glupload ! > video/x-raw\(memory:GLMemory\) ! gldownload ! videoconvert ! autovideosink > > Cheers > Martin > > ________________________________________ > From: gstreamer-devel < > gstreamer-devel-bounces@.freedesktop > > on behalf of Arvin6 < > arvindn995@ > > > Sent: Tuesday, October 3, 2017 9:58 AM > To: > gstreamer-devel@.freedesktop > Subject: Caps to set for streaming openGL framebuffer from appsrc > > What caps are to be set for streaming openGL framebuffer? I used > "video/x-raw","width", G_TYPE_INT, 640, "height", G_TYPE_INT, 480 but I > get > a negotiation error. Please help. > > > > -- > Sent from: http://gstreamer-devel.966125.n4.nabble.com/ > _______________________________________________ > gstreamer-devel mailing list > gstreamer-devel@.freedesktop > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > gstreamer-devel@.freedesktop > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Arvin,
As per the first problem: >>> ** (gst-launch-1.0:4745): CRITICAL **: gst_gl_window_get_context: assertion >>> 'GST_IS_GL_WINDOW (window)' failed >>> Caught SIGSEGV >>> exec gdb failed: No such file or directory I think that you might have problems with your gstreamer installation, opengl drivers, or the x-server. The pipeline I suggested before works for me both under Windows 10, gst 12.2 Ubuntu 16.04, gst 1.8.2 Try replacing the autovideosink with fakesink, or with ximagesink (Linux) and see if the pipeline plays. >>>> I get this error. Also, my real problem is streaming openGL framebuffer on >>>> tcp. I get a number of issues like, >>>> ERROR from element Our-Source: Internal data stream error. I might be wrong, but as far as I understand, the video/x-raw(memory:GLMemory) really represents memory which is placed on your video card's memory, so just sending it over tcp won't be easy. You should try to download these buffers with the gldownload element first. Hope that helps Martin ________________________________________ From: gstreamer-devel <[hidden email]> on behalf of Arvin6 <[hidden email]> Sent: Tuesday, October 3, 2017 11:12 AM To: [hidden email] Subject: Re: Caps to set for streaming openGL framebuffer from appsrc $ gst-launch-1.0 videotestsrc ! glupload ! video/x-raw\(memory:GLMemory\) ! gldownload ! videoconvert ! autovideosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ** (gst-launch-1.0:4745): CRITICAL **: gst_gl_window_get_context: assertion 'GST_IS_GL_WINDOW (window)' failed Caught SIGSEGV exec gdb failed: No such file or directory Spinning. Please run 'gdb gst-launch-1.0 4745' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core. I get this error. Also, my real problem is streaming openGL framebuffer on tcp. I get a number of issues like, ERROR from element Our-Source: Internal data stream error. Debugging info: gstbasesrc.c(2939): void gst_base_src_loop(GstPad *) (): /GstPipeline:ppipe/GstAppSrc:Our-Source: streaming stopped, reason not-linked (-1) do you have any idea on that part? Martin Vachovski wrote > Try > > video/x-raw(memory:GLMemory) > > On the console, the brackets need to be escaped: > > gst-launch-1.0.exe videotestsrc ! glupload ! > video/x-raw\(memory:GLMemory\) ! gldownload ! videoconvert ! autovideosink > > Cheers > Martin > > ________________________________________ > From: gstreamer-devel < > gstreamer-devel-bounces@.freedesktop > > on behalf of Arvin6 < > arvindn995@ > > > Sent: Tuesday, October 3, 2017 9:58 AM > To: > gstreamer-devel@.freedesktop > Subject: Caps to set for streaming openGL framebuffer from appsrc > > What caps are to be set for streaming openGL framebuffer? I used > "video/x-raw","width", G_TYPE_INT, 640, "height", G_TYPE_INT, 480 but I > get > a negotiation error. Please help. > > > > -- > Sent from: http://gstreamer-devel.966125.n4.nabble.com/ > _______________________________________________ > gstreamer-devel mailing list > gstreamer-devel@.freedesktop > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > gstreamer-devel@.freedesktop > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
gst-launch-1.0 videotestsrc ! glupload ! video/x-raw\(memory:GLMemory\) !
gldownload ! videoconvert ! osxvideosink Setting pipeline to PAUSED ... 2017-10-03 17:02:27.904 gst-launch-1.0[5433:232813] !!! BUG: The current event queue and the main event queue are not the same. Events will not be handled correctly. This is probably because _TSGetMainThread was called for the first time off the main thread. Pipeline is PREROLLING ... Got context from element 'gldownloadelement0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0"; This displays a window with green screen instead of video test source. I'm on OSX and I have been facing a lot of problems with GStreamer installation. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Arvin,
Sorry, I can't be of much help with OSX Martin ________________________________________ From: gstreamer-devel <[hidden email]> on behalf of Arvin6 <[hidden email]> Sent: Tuesday, October 3, 2017 12:36 PM To: [hidden email] Subject: Re: Caps to set for streaming openGL framebuffer from appsrc gst-launch-1.0 videotestsrc ! glupload ! video/x-raw\(memory:GLMemory\) ! gldownload ! videoconvert ! osxvideosink Setting pipeline to PAUSED ... 2017-10-03 17:02:27.904 gst-launch-1.0[5433:232813] !!! BUG: The current event queue and the main event queue are not the same. Events will not be handled correctly. This is probably because _TSGetMainThread was called for the first time off the main thread. Pipeline is PREROLLING ... Got context from element 'gldownloadelement0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0"; This displays a window with green screen instead of video test source. I'm on OSX and I have been facing a lot of problems with GStreamer installation. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |