Caps to set for streaming openGL framebuffer from appsrc
Arvin6
arvindn995 at gmail.com
Tue Oct 3 10:12:30 UTC 2017
$ 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 at .freedesktop
> > on behalf of Arvin6 <
> arvindn995@
> >
> Sent: Tuesday, October 3, 2017 9:58 AM
> To:
> gstreamer-devel at .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 at .freedesktop
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at .freedesktop
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list