v4l2src allocator fails

Sudhir vndkst at yahoo.com
Fri Nov 7 02:49:12 PST 2014


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



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/v4l2src-allocator-fails-tp4669426.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list