[Bug 649832] New: [camerabin2]: negotiation problems when capturing
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon May 9 14:47:09 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=649832
GStreamer | gst-plugins-bad | git
Summary: [camerabin2]: negotiation problems when capturing
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: luciana at fujii.eti.br
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=187530)
--> (https://bugzilla.gnome.org/attachment.cgi?id=187530)
Patch to examples/camerabin2/gst-camera2.c to reproduce the problem
If I set "image-capture-caps" and "video-capture-caps" to caps with resolution
different than 640X480, camerabin2 errors out.
This can be reproduced by tests/examples/camerabin2/gst-camerabin2 if you set
"image-capture-caps" and "video-capture-caps" (patch attached).
The error is:
Error: Device '/dev/video0' cannot capture at 320x240 : gstv4l2object.c(2111):
gst_v4l2_object_set_format ():
/GstCameraBin2:camera/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstV4l2Src:camerasrc-real-src-actual-src-v4l:
Call to S_FMT failed for YUYV @ 320x240: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
After talking to Thiago I tested removing "g_object_set (self->output_selector,
"pad-negotiation-mode", 0, NULL);" (line 496) from wrappercamerabinsrc. This
solves the problem for when image-capture-caps and video-capture-caps are the
same, but not for when they are different.
--
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