[Bug 721220] ximagesrc returns black screen

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 9 09:25:54 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=721220
  GStreamer | gst-plugins-good | 1.2.1

Vincent Penquerc'h <vincent.penquerch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
                 CC|                            |vincent.penquerch at collabora
                   |                            |.co.uk
     Ever Confirmed|0                           |1

--- Comment #4 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2014-01-09 17:25:50 UTC ---
With: gst-launch-1.0 ximagesrc ! video/x-raw,framerate=5/1 ! queue !
videoconvert ! autovideosink sync=false

It work on Ubuntu 12.04, but gives black on Fedora 18 (on which I do not have a
gst tree handy atm). Adding remote=1 makes it work on Fedora.

On the Fedora side, I see warnings:

Could not initialise Xv output

Looking at the code from there, it turns out the gst I get on Fedora is
apparently built without SHM, so we go into the XGetimage/XGetSubImage path
(strings -a on the plugin does not show the "Retrieving screen using XShm"
being compiled in).

So it'd seem like a bug (unless argued otherwise) in the builing setup for the
gst Fedora packages. This Fedora is a VM with no dev/gst setup so I can't
easily build gst there to double check it works when using shm, but it seems
likely.

remote=1 provides a workaround (though may have performance implications)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list