Newbie problem

parks gmparker2000 at gmail.com
Fri Dec 29 16:35:14 UTC 2017


I have been trying to get this tutorial to run:

https://gstreamer.freedesktop.org/documentation/tutorials/basic/toolkit-integration.html

I am running Ubuntu 17.10.  Things I did:

- created a new project in GTK Builder and replaced main.c with the tutorial
code

- added dependencies in meson.build
    -dependency('gstreamer-1.0')
    -dependency('gstreamer-video-1.0')

- added code to get a window handle under Wayland

    #elif defined (GDK_WINDOWING_X11)
        if (GDK_IS_WAYLAND_WINDOW (window)) {
            window_handle = gdk_wayland_window_get_wl_surface (window);
        } else if (GDK_IS_X11_WINDOW (window)) {
            window_handle = GDK_WINDOW_XID (window);
        } else {
            g_error ("Unsupported windowing system");
        }
    #endif

When I run I get a window with a black video surface.  There are a bunch of
errors like this:

AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default':
Connection refused
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default':
Connection refused

GStreamer-CRITICAL **: gst_caps_intersect_full: assertion 'GST_IS_CAPS
(caps1)' failed

GStreamer-CRITICAL **: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)'
failed

GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object !=
NULL' failed

....

Error received from element source: Internal data stream error.
Debugging information: gstbasesrc.c(2939): gst_base_src_loop ():
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
streaming stopped, reason not-negotiated (-4)

Anyone have any ideas?  
-- Thanks







--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list