Gstreamer v4l2src: Failed to allocate required memory
Andrea
andrea.rossetto at videomed.biz
Wed Mar 27 08:36:22 UTC 2019
I've installed v4l2-utils and run v4l2-compliance.
v4l2-compliance SHA : not available
Driver Info:
Driver name : video
Card type : PL video
Bus info : platform:Pl-0.0.0
Driver version: 4.14.0
Capabilities : 0x81200001
Video Capture
Read/Write
Extended Pix Format
Device Capabilities
Device Caps : 0x01200001
Video Capture
Read/Write
Extended Pix Format
Compliance test for device /dev/video0 (not using libv4l2):
Required ioctls:
test VIDIOC_QUERYCAP: OK
Allow for multiple opens:
test second video open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 1 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Test input 0:
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK (Not Supported)
test VIDIOC_QUERYCTRL: OK (Not Supported)
test VIDIOC_G/S_CTRL: OK (Not Supported)
test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 0 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
warn:
../../../v4l-utils-1.12.3/utils/v4l2-compliance/v4l2-test-formats.cpp(1121):
V4L2_MODE_HIGHQUALITY is poorly defined
warn:
../../../v4l-utils-1.12.3/utils/v4l2-compliance/v4l2-test-formats.cpp(1121):
V4L2_MODE_HIGHQUALITY is poorly defined
test VIDIOC_G/S_PARM: OK
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK
warn:
../../../v4l-utils-1.12.3/utils/v4l2-compliance/v4l2-test-formats.cpp(717):
TRY_FMT cannot handle an invalid pixelformat.
warn:
../../../v4l-utils-1.12.3/utils/v4l2-compliance/v4l2-test-formats.cpp(718):
This may or may not be a problem. For more information see:
warn:
../../../v4l-utils-1.12.3/utils/v4l2-compliance/v4l2-test-formats.cpp(719):
http://www.mail-archive.com/linux-media@vger.kernel.org/msg56550.html
test VIDIOC_TRY_FMT: OK
warn:
../../../v4l-utils-1.12.3/utils/v4l2-compliance/v4l2-test-formats.cpp(977):
S_FMT cannot handle an invalid pixelformat.
warn:
../../../v4l-utils-1.12.3/utils/v4l2-compliance/v4l2-test-formats.cpp(978):
This may or may not be a problem. For more information see:
warn:
../../../v4l-utils-1.12.3/utils/v4l2-compliance/v4l2-test-formats.cpp(979):
http://www.mail-archive.com/linux-media@vger.kernel.org/msg56550.html
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK (Not Supported)
test VIDIOC_EXPBUF: OK (Not Supported)
Test input 0:
Total: 43, Succeeded: 43, Failed: 0, Warnings: 8
After solving some fail, lanching again the pipeline the error did not
change:
DEBUG v4l2
gstv4l2object.c:4061:gst_v4l2_object_decide_allocation:<v4l2src0>
allocation: size:26542080 min:2 max:0 pool:(NULL)
DEBUG v4l2
gstv4l2object.c:4088:gst_v4l2_object_decide_allocation:<v4l2src0> read/write
mode: no downstream pool, using our own
DEBUG v4l2
gstv4l2object.c:4186:gst_v4l2_object_decide_allocation:<v4l2src0> activate
Video Meta
DEBUG v4l2
gstv4l2object.c:4195:gst_v4l2_object_decide_allocation:<v4l2src0> setting
own pool config to GstBufferPoolConfig, caps=(GstCaps)"video/x-raw\,\
format\=\(string\)RGB\,\ width\=\(int\)4096\,\ height\=\(int\)2160\,\
framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\
interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)sRGB",
size=(uint)26542080, min-buffers=(uint)4, max-buffers=(uint)0,
allocator=(GstAllocator)"NULL", params=(GstAllocationParams)NULL,
options=(string)< GstBufferPoolOptionVideoMeta >;
DEBUG v4l2bufferpool
gstv4l2bufferpool.c:509:gst_v4l2_buffer_pool_set_config:<v4l2src0:pool:src>
config GstBufferPoolConfig, caps=(GstCaps)"video/x-raw\,\
format\=\(string\)RGB\,\ width\=\(int\)4096\,\ height\=\(int\)2160\,\
framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\
interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)sRGB",
size=(uint)26542080, min-buffers=(uint)4, max-buffers=(uint)0,
allocator=(GstAllocator)"NULL", params=(GstAllocationParams)NULL,
options=(string)< GstBufferPoolOptionVideoMeta >;
DEBUG v4l2bufferpool
gstv4l2bufferpool.c:707:gst_v4l2_buffer_pool_start:<v4l2src0:pool:src>
activating pool
DEBUG v4l2bufferpool
gstv4l2bufferpool.c:1414:gst_v4l2_buffer_pool_release_buffer:<v4l2src0:pool:src>
release buffer 0x7f7c0110e0
DEBUG v4l2bufferpool
gstv4l2bufferpool.c:1414:gst_v4l2_buffer_pool_release_buffer:<v4l2src0:pool:src>
release buffer 0x7f7c0111f0
DEBUG v4l2bufferpool
gstv4l2bufferpool.c:1414:gst_v4l2_buffer_pool_release_buffer:<v4l2src0:pool:src>
release buffer 0x7f7c011300
DEBUG v4l2bufferpool
gstv4l2bufferpool.c:1414:gst_v4l2_buffer_pool_release_buffer:<v4l2src0:pool:src>
release buffer 0x7f7c011410
ERROR v4l2bufferpool
gstv4l2bufferpool.c:888:gst_v4l2_buffer_pool_start:<v4l2src0:pool:src>
failed to queue buffers into the capture queue
WARN v4l2src
gstv4l2src.c:555:gst_v4l2src_decide_allocation:<v4l2src0> error: Failed to
allocate required memory.
WARN v4l2src
gstv4l2src.c:555:gst_v4l2src_decide_allocation:<v4l2src0> error: Buffer pool
activation failed
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to
allocate required memory.
Additional debug info:
../../../git/sys/v4l2/gstv4l2src.c(555): gst_v4l2src_decide_allocation ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list