wpesrc issues

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

wpesrc issues

Marianna S. Buschle
Hi, I have just installed the wpesrc and I'm trying to play with it but I'm getting a lot of errors:

This example segfaults:

gst-launch-1.0 -v wpesrc location="https://gstreamer.freedesktop.org" ! queue ! glimagesink

Caught SIGSEGV
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f0b5646176c in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0b5652d49c in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#3  0x00007f0b5656851e in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#4  0x00007f0b565683f9 in gst_iterator_next ()
#5  0x00007f0b56568832 in gst_iterator_fold ()
#6  0x00007f0b5652e903 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#7  0x00007f0b56534893 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#8  0x00007f0b56557018 in gst_element_query ()
#9  0x00007f0b565b6706 in gst_element_query_position ()
#10 0x000055c9e29a248f in  ()
#11 0x00007f0b564118f4 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f0b56410d6f in g_main_context_dispatch ()
#13 0x00007f0b56411118 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f0b5641140b in g_main_loop_run ()
#15 0x000055c9e29a221e in  ()
#16 0x00007f0b561a4d0a in __libc_start_main (main=
#17 0x000055c9e29a234a in _start ()

If I change to use 'videoconvert ! ximagesink' instead of 'glimagesink' it works

However if I try to change to a custom 'html' file it doesn't work (I want to use it for composing with overlays), fx:

msb@QTEC-P53-MSB-Debian:~$ gst-launch-1.0 wpesrc location="overlay.html" ! queue ! videoconvert ! ximagesink --gst-debug=*:3

PAUSERER rørledning ...
Rørledningen kører, og behøver ikke at blive PREROLL'ed ...
Rørledningen er PREROLL'ed ...
Rørledning sættes til AFSPIL ...
New clock: GstSystemClock
0:00:00.157061189 125846 0x5594cc103d80 WARN                  wpesrc WPEThreadedView.cpp:198:s_loadFailed:<wpesrc0> error: Failed to load overlay.html (The URL can’t be shown)

msb@QTEC-P53-MSB-Debian:~$ cat overlay.html
<!DOCTYPE html>
<html>
<body>

HTML Images

<p>HTML images are defined with the img tag:</p>

W3Schools.com

</body>
</html>

What am I doing wrong?