GNOME Bugzilla – Bug 678990
camerabin2: Not showing anything
Last modified: 2015-04-21 12:51:31 UTC
Created attachment 217425 [details] The test file I've tried with the source attached the camerabin2 pipeline using clutter-gst, and so far it doesn't show anything. My systems specs are: gstreamer-bad-plugins-0.10.23 clutter-gst-1.6.0 I tested an example of clutter-gst from its tree, and works fine. This is the example I tested: http://git.gnome.org/browse/clutter-gst/tree/examples/video-sink.c
camerabin2 is delivering buffers to cluttersink, as I can see from the logs. For some reason it isn't rendering those buffers or reporting an error
I see that the buffers are being uploaded to the AYUV renderer (in my case) and passed to the clutter_texture_set_cogl_material. Is there some kind of debugging for clutter? So I can see any errors on its side?
(In reply to comment #2) > I see that the buffers are being uploaded to the AYUV renderer (in my case) and > passed to the clutter_texture_set_cogl_material. > > Is there some kind of debugging for clutter? So I can see any errors on its > side? Yeap, here: http://developer.gnome.org/clutter/stable/running-clutter.html#clutter-Debug-Flags
This: gst-launch-1.0 camerabin viewfinder-sink=cluttersink works fine for me, even though it takes a few (~3-5) seconds for the window to come up. You example code doesn't work for me though, but I wonder if it might be an issue with your use of clutter?
Erick, is this still an issue with gstreamer 1.x ?
(In reply to comment #5) > Erick, is this still an issue with gstreamer 1.x ? Tested right now on my F19, compiled with: gcc -o main main.c `pkg-config --cflags --libs gstreamer-1.0 gstreamer-plugins-base-1.0 clutter-gst-2.0` and it still doesn't output anything. Although, this: gst-launch-1.0 camerabin viewfinder-sink=cluttersink does work properly here.
The issue still looks the same. From the logs, cluttersink is receiving the buffers, but nothing is showing up. The difference is that it uses the app created texture/actor instead of creating one by itself.
Isn't the app responsible to redraw the clutter scene? Is this still a problem? I know cheese uses camerabin with clutter with success.
Got this to work with the clutter example file in upstream. Marking as obsolete.