[Bug 739771] New: v4l2src allocator fails

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 7 03:04:54 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=739771
  GStreamer | gst-plugins-good | 1.4.4

           Summary: v4l2src allocator fails
    Classification: Platform
           Product: GStreamer
           Version: 1.4.4
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: vndkst at yahoo.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Hi All, 

Recently I migrated from Gstreamer 1.2.2 to Gstreamer 1.4.4. 

I am facing problem with v4l2src. v4l2src working in 1.2.2, but in 1.4.4 below
given pipeline throwing errors. 

gst-launch v4l2src ! checksumsink --gst-debug=3 

WARN                    v4l2
gstv4l2object.c:1604:gst_v4l2_object_add_aspect_ratio:<v4l2src0> Failed to
probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument 
WARN           v4l2allocator
gstv4l2allocator.c:651:gst_v4l2_allocator_new:<v4l2src0:pool:src:allocator>
Could not probe supported memory type, assuming MMAP is supported, this is
expected for older drivers not  yet ported to videobuf2 framework 
WARN                    v4l2
gstv4l2bufferpool.c:995:gst_v4l2_buffer_pool_poll:<v4l2src0> error: poll error
1: Invalid argument (22) 
WARN                 v4l2src gstv4l2src.c:749:gst_v4l2src_create:<v4l2src0>
error: Failed to allocate a buffer 
WARN                 basesrc gstbasesrc.c:2980:gst_base_src_loop:<v4l2src0>
error: Internal data flow error. 
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not read
from resource. 
WARN                 basesrc gstbasesrc.c:2980:gst_base_src_loop:<v4l2src0>
error: streaming task paused, reason error (-5) 

gstv4l2allocator.c:776:gst_v4l2_allocator_stop:<v4l2src0:pool:src:allocator>
error releasing buffers buffers: Invalid argument 

In source code, 
gst_v4l2_allocator_new function, allocator probe is happening only for
GST_V4L2_IO_MMAP, USERPTR and DMABUF.. Probe is not happening for RW, USERPTR,
DMABUF IO mode. 

Does new v4lsrc supports RW, USERPTR, DMABUF IO modes? 
OR 
Am I missing some thing while configuring source element? 

~ Sudhir

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