ximagesrc just black

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ximagesrc just black

Mathias Gyllengahm
Hi!

I've done a bit screencasting earlier but find that these don't work, it appears to be broken since I moved to ubuntu-lucid. Have compiled the latest release, but to no avail. The only thing that comes out of ximagesrc is a black screen. No error messages or anything whatsoever, just black.

Any ideas? The scripts used to work...
Here's one example:

gst-launch ximagesrc ! video/x-raw-rgb,framerate=5/1 ! ffmpegcolorspace ! ximagesink



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ximagesrc just black

Stefan Sauer
Am 23.05.2011 11:16, schrieb Mathias Gyllengahm:

> Hi!
>
> I've done a bit screencasting earlier but find that these don't work, it appears
> to be broken since I moved to ubuntu-lucid. Have compiled the latest release,
> but to no avail. The only thing that comes out of ximagesrc is a black screen.
> No error messages or anything whatsoever, just black.
>
> Any ideas? The scripts used to work...
> Here's one example:
>
> gst-launch ximagesrc ! video/x-raw-rgb,framerate=5/1 ! ffmpegcolorspace ! ximagesink
>
>

run with GST_DEBUG="*:2,ximage*:5" gst-launch-0.10 2>debug.log ximagesrc ! ...

and check the resulting log. If in doubt, file a bug and attach the log.

Stefan

>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ximagesrc just black

Stijn147
In reply to this post by Mathias Gyllengahm

Mathias,

I was facing the same problem.
To solve it, I installed libxext-dev   (sudo apt-get install libxext-dev)

After recompiling gst-plugins-good, ximagesrc worked fine.

I don't have a good explanation why this solves the problem, but when looking into the code gstximagesrc.c, I can see that now HAVE_XSHM is defined and XShmGetImage(..) is called instead of XGetImage(...)

Stijn
Reply | Threaded
Open this post in threaded view
|

Re: ximagesrc just black

Mathias Gyllengahm
Thanks! Not really using it regularly, but I found it strange that it just stopped working.

2011/8/11 Stijn147 <[hidden email]>

Mathias,

I was facing the same problem.
To solve it, I installed libxext-dev   (sudo apt-get install libxext-dev)

After recompiling gst-plugins-good, ximagesrc worked fine.

I don't have a good explanation why this solves the problem, but when
looking into the code gstximagesrc.c, I can see that now HAVE_XSHM is
defined and XShmGetImage(..) is called instead of XGetImage(...)

Stijn


--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/ximagesrc-just-black-tp3543469p3736010.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel