[Bug 724521] v4l2object: Inconvenient handling of V4L2_FRMSIZE_STEPWISE
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Feb 17 17:20:04 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=724521
GStreamer | gst-plugins-good | git
--- Comment #3 from Pavel Bludov <pbludov at altergeo.ru> 2014-02-18 01:40:11 UTC ---
In short, it is impossible to capture at maximum frame size.
>From v4l2src point of view, the tuner can capture frames with size from 144x115
to 605x576.
But the driver reports its maximum frame size as 720x576.
$gst-launch-1.0 --gst-debug=v4l2:5 v4l2src ! video/x-raw,width=720,height=576 !
fakesink
gst_v4l2_open:<v4l2src0> Trying to open device /dev/video0
gst_v4l2_get_capabilities:<v4l2src0> getting capabilities
gst_v4l2_fill_lists:<v4l2src0> getting enumerations
gst_v4l2_fill_lists:<v4l2src0> channels
...
gst_v4l2_object_probe_caps_for_format:<v4l2src0> Enumerating frame sizes
gst_v4l2_object_probe_caps_for_format:<v4l2src0> we have stepwise frame sizes:
gst_v4l2_object_probe_caps_for_format:<v4l2src0> min width: 144
gst_v4l2_object_probe_caps_for_format:<v4l2src0> min height: 115
gst_v4l2_object_probe_caps_for_format:<v4l2src0> max width: 720
gst_v4l2_object_probe_caps_for_format:<v4l2src0> min height: 576
gst_v4l2_object_probe_caps_for_format:<v4l2src0> step width: 1
gst_v4l2_object_probe_caps_for_format:<v4l2src0> step height: 1
gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0> Unable to enumerate
intervals for YUYV at 144x115
gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0> Unable to enumerate
intervals for YUYV at 145x116
...
gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0> Unable to enumerate
intervals for YUYV at 604x575
gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0> Unable to enumerate
intervals for YUYV at 605x576
gst_v4l2_object_probe_caps_for_format:<v4l2src0> done iterating stepwise frame
sizes
...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2809): gst_base_src_loop ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
--
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