[Bug 645427] camerabin throws an error in gst_camerabin_capture_start gstcamerabin.c(4036)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri May 13 00:31:46 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=645427
  GStreamer | gst-plugins-bad | 0.10.21

Pedro Villavicencio <pvillavi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED

--- Comment #3 from Pedro Villavicencio <pvillavi at gnome.org> 2011-05-13 07:31:42 UTC ---
We got a comment from an affected user but not from the original reporter.
Pasting the information:

"I have the same issue and figured out the cause of it (but not yet how to
solve this). When you comment out the following line:

self.camerabin.set_property("image-encoder",gst.element_factory_make("pngenc",
"png_encoder"))

it works fine, except that it'll save as jpeg then instead of png.

As for the questions:
1) The same thing happens with stock gstreamer from Natty as from gstreamer
installed from the gstreamer-developers ppa

2) I commented out the following:
imagesink.set_xwindow_id(self.video_window.window.xid), which made gstreamer
creates its own window to show the webcam output. I also tried using a fakesink
so that nothing is shown. Both methods don't fix this problem.

3) Going to attach those to this bug.

4) That works fine, I launched it and afterwards closed the window once I could
view my webcam:
$ gst-launch camerabin
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element
/GstCameraBin:camerabin0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage:
Output window was closed
Additional debug info:
xvimagesink.c(1311): gst_xvimagesink_handle_xevents ():
/GstCameraBin:camerabin0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage
Execution ended after 1695783781 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
"
https://bugs.launchpad.net/ubuntu/+source/gst-plugins-bad0.10/+bug/734600/+attachment/2123130/+files/v4linfo

https://bugs.launchpad.net/ubuntu/+source/gst-plugins-bad0.10/+bug/734600/+attachment/2123131/+files/xvinfo

-- 
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