Tool/software:
Hello Team,
I am using below command to get image data from sensor.
gst-launch-1.0 -v v4l2src device=/dev/video-rpi-cam0 io-mode=dmabuf-import ! video/x-bayer, width=1920, height=1200, framerate=60/1, format=rggb10 ! appsink
In above command getting error:
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: No downstream pool to import from.
Additional debug info:
../gst-plugins-good-1.20.7/sys/v4l2/gstv4l2object.c(5303): gst_v4l2_object_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
When importing DMABUF or USERPTR, we need a pool to import from
Execution ended after 0:00:00.003360005
Setting pipeline to NULL ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../gstreamer-1.20.7/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Freeing pipeline ...
In above command if I use io-mode=dmabuf instead of io-mode=dmabuf-import than it's working.
Can you please guide me what is the issue here.
We have observed if we used dmabuf-import in that able to achieve fps instead of dmabuf. so, Can I use dmabuf-import in above command ?
Thanks,
Jaimin