[Bug 783945] v4l2src: gst-launch -e flag causes usb camera disconnection (Logitech C920)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 19 13:59:56 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783945

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |nicolas at ndufresne.ca
         Resolution|---                         |FIXED

--- Comment #2 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Tim-Philipp Müller from comment #1)
> For me it never starts streaming, even with videoconvert ! autovideosink,
> but says:
> 
> libv4l2: error set_fmt gave us a different result then try_fmt!
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device
> '/dev/video1' cannot capture in the specified format
> Additional debug info:
> gstv4l2object.c(3623): gst_v4l2_object_set_format_full ():
> /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> Tried to capture in YV12, but device returned format YUYV

That one is a bug in libv4l2, there is nothing in the spec that requires doing
a matching TRY_FMT before doing S_FMT. YV12 (aka I420) is an emulated format
for the C920. This should be reported to libv4l2.

About the reported issue, was there anything reported by your kernel ? (dmesg
output), otherwise please provide a trace with GST_DEBUG="v4l2*:7".

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