run opengl in non-X11 linux server
xmufzy
xmufzy at foxmail.com
Tue Oct 27 07:07:16 UTC 2020
Help
I run a ges program in a linux server( no Desktop), the pipeline is like
this: "glupload ! gleffects_fisheye ! gldownload", the the video will be
encoded by x264 then save to local disk. But it failed, and report create
opengl context failed.
the same code I can run in mac.
GST_EVENT gstevent.c:1610:gst_event_new_reconfigure: creating
reconfigure event
0:00:00.663905983 153128 0x7fdd580048f0 INFO GST_ELEMENT_PADS
gstelement.c:1010:gst_element_get_static_pad: found pad queue3:sink
0:00:00.663915247 153128 0x7fdd580048f0 INFO GST_PADS
gstpad.c:2378:gst_pad_link_prepare: trying to link uridecodebin4:src_1 and
queue3:sink
0:00:00.664073705 153128 0x7fdd1c034cf0 INFO glcontext
gstglcontext.c:1253:gst_gl_context_create_thread:<glcontextegl0> Attempting
to create opengl context. user chosen api(s) (any), compiled api support
(opengl opengl3) display api (opengl opengl3 gles2)
0:00:00.664143321 153128 0x7fdd1c034cf0 WARN glcontext
gstglcontext.c:1257:gst_gl_context_create_thread:<glcontextegl0> Failed to
create context
0:00:00.664156811 153128 0x7fdd0c00d4f0 INFO glcontext
gstglcontext.c:1060:gst_gl_context_create:<glcontextegl0> gl thread created
0:00:00.664180722 153128 0x7fdd0c00d4f0 WARN glbasefilter
gstglbasefilter.c:605:gst_gl_base_filter_find_gl_context_unlocked:
<gluploadelement5> error: Failed to initialize egl: EGL_NOT_INITIALIZED
0:00:00.664199490 153128 0x7fdd0c00d4f0 INFO GST_ERROR_SYSTEM
gstelement.c:2235:gst_element_message_full_with_details:<gluploadelement5>
posting message: Failed to initialize egl: EGL_NOT_INITIALIZED
0:00:00.664225280 153128 0x7fdd0c00d4f0 INFO GST_ERROR_SYSTEM
gstelement.c:2262:gst_element_message_full_with_details:<gluploadelement5>
posted error message: Failed to initialize egl: EGL_NOT_INITIALIZED
(poc-ges:153128): GStreamer-CRITICAL **: 10:25:17.531:
gst_mini_object_unref: assertion 'mini_object != NULL' failed
(poc-ges:153128): GStreamer-CRITICAL **: 10:25:17.531: gst_mini_object_ref:
assertion 'mini_object != NULL' failed
0:00:00.666294689 153128 0x7fdd0c00d4f0 INFO GST_PADS
gstpad.c:2586:gst_pad_link_full: linked uridecodebin2:src_0 and queue1:sink,
successful
Thank you for your time.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list