wpesrc questions and issues
Frederic Turmel
fturmel at netflix.com
Sun May 31 20:20:57 UTC 2020
Hi, I wanted to play with wpesrc element. Having issues and have some
questions. Build seems to be broken for 1.16.x
Questions:
1-Do you need wayland to use GL or we need to use weston. Any hint?
2-Hitting issue compiling for stable 1.16 branch. Master can compile with
the same env See below.
3-When running with master and in software only mode, it works 1 out of 5.
There seems to be a race condition.
Got context from element 'wpesrc0': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
0:00:00.433971380 23250 0x55db8aebacf0 WARN basesrc
gstbasesrc.c:3075:gst_base_src_loop:<wpesrc0> error: Internal data stream
error.
0:00:00.434279847 23250 0x55db8aebacf0 WARN basesrc
gstbasesrc.c:3075:gst_base_src_loop:<wpesrc0> error: streaming stopped,
reason error (-5)
ERROR: from element /GstPipeline:pipeline0/GstWpeSrc:wpesrc0: Internal data
stream error
*With more debugging seems to be related to:*
GST_MESSAGE
gstelement.c:2191:gst_element_message_full_with_details:<wpesrc0> start
0:00:01.310356869 23620 0x561a8f22e4a0 INFO GST_ERROR_SYSTEM
gstelement.c:2222:gst_element_message_full_with_details:<wpesrc0> posting
message: Internal data stream error.
0:00:01.310396995 23620 0x561a8f22e4a0 WARN structure
gststructure.c:2006:priv_gst_structure_append_to_gstring: No value
transform to serialize field 'gerror' of type 'GError'
More details
Using ubuntu 18.04
I installed the latest stable dependency from webkit.org
Using gst-build with 1.16: I'm unable to build. getting this error:
git/gst-build/build/../subprojects/gst-plugins-bad/ext/wpe/gstwpesrc.cpp:502:
undefined reference to `gst_gl_display_wayland_get_type'
Using gst-build master:
Failing when running gl:
Got context from element 'wpesrc0': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
** (gst-launch-1.0:22754): CRITICAL **: 13:08:05.161:
gst_egl_image_new_wrapped: assertion 'context != NULL' failed
I'm able to run software only mode:
LIBGL_ALWAYS_SOFTWARE=true GST_DEBUG=3,wpesrc=7,wpe=7 gst-launch-1.0 -v
wpesrc location="http://cnn.com" !
video/x-raw,width=1280,height=720,format=BGRA,framerate=\(fraction\)30/1 !
videoconvert ! queue ! ximagesink sync=false async=false
FULL ERROR BLOB for 1.16 branch:
FAILED: subprojects/gst-plugins-bad/ext/wpe/libgstwpe.so
c++ -o subprojects/gst-plugins-bad/ext/wpe/libgstwpe.so
'subprojects/gst-plugins-bad/ext/wpe/9fb9286@@gstwpe at sha/WPEThreadedView.cpp.o'
'subprojects/gst-plugins-bad/ext/wpe/9fb9286@@gstwpe at sha/gstwpesrc.cpp.o'
-Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group
-Wl,-soname,libgstwpe.so
subprojects/gst-plugins-base/gst-libs/gst/video/libgstvideo-1.0.so.0.1602.0
subprojects/gstreamer/libs/gst/base/libgstbase-1.0.so.0.1602.0
subprojects/gstreamer/gst/libgstreamer-1.0.so.0.1602.0
subprojects/orc/orc/liborc-0.4.so.0.29.0
subprojects/gst-plugins-base/gst-libs/gst/gl/libgstgl-1.0.so.0.1602.0
/usr/lib/x86_64-linux-gnu/libEGL.so /usr/local/lib/libWPEWebKit-1.0.so
/usr/lib/x86_64-linux-gnu/libsoup-2.4.so /usr/lib/x86_64-linux-gnu/
libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so
/usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/local/lib/libwpe-1.0.so
/usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/local/lib/
libWPEBackend-fdo-1.0.so -Wl,--export-dynamic /usr/lib/x86_64-linux-gnu/
libgmodule-2.0.so -pthread -lm /usr/lib/x86_64-linux-gnu/libX11.so
/usr/lib/x86_64-linux-gnu/libX11-xcb.so /usr/lib/x86_64-linux-gnu/libxcb.so
-Wl,--end-group
'-Wl,-rpath,$ORIGIN/../../../gst-plugins-base/gst-libs/gst/video:$ORIGIN/../../../gstreamer/libs/gst/base:$ORIGIN/../../../gstreamer/gst:$ORIGIN/../../../orc/orc:$ORIGIN/../../../gst-plugins-base/gst-libs/gst/gl:$ORIGIN/../../../gst-plugins-base/gst-libs/gst/allocators'
-Wl,-rpath-link,/home/fturmel/git/gst-build/build/subprojects/gst-plugins-base/gst-libs/gst/video
-Wl,-rpath-link,/home/fturmel/git/gst-build/build/subprojects/gstreamer/libs/gst/base
-Wl,-rpath-link,/home/fturmel/git/gst-build/build/subprojects/gstreamer/gst
-Wl,-rpath-link,/home/fturmel/git/gst-build/build/subprojects/orc/orc
-Wl,-rpath-link,/home/fturmel/git/gst-build/build/subprojects/gst-plugins-base/gst-libs/gst/gl
-Wl,-rpath-link,/home/fturmel/git/gst-build/build/subprojects/gst-plugins-base/gst-libs/gst/allocators
subprojects/gst-plugins-bad/ext/wpe/9fb9286@@gstwpe at sha/gstwpesrc.cpp.o: In
function `gst_wpe_src_change_state(_GstElement*, GstStateChange)':
/home/fturmel/git/gst-build/build/../subprojects/gst-plugins-bad/ext/wpe/gstwpesrc.cpp:502:
undefined reference to `gst_gl_display_wayland_get_type'
collect2: error: ld returned 1 exit status
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200531/61d19e74/attachment.htm>
More information about the gstreamer-devel
mailing list