This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7: Gstreamer v4l2src use dmabuf-import error

Part Number: AM62A7

Tool/software:

SDK ver: 10_00_00_08

I tried to run this command, and got error

gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
filesink location=/tmp/test.yuv sync=true

error:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: No downstream pool to import from.
Additional debug info:
/usr/src/debug/gstreamer1.0-plugins-good/1.22.12/sys/v4l2/gstv4l2object.c(5471): gst_v4l2_object_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
When importing DMABUF or USERPTR, we need a pool to import from
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Execution ended after 0:00:00.001818700
Setting pipeline to NULL ...
Additional debug info:
/usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesrc.c(3134): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Freeing pipeline ...

If I change io-mode to mmap or dmabuf, it work perfect.

 I noticed most examples use dmabuf-import with the TIovx GStreamer plugin - is there any real performance difference compared to plain dmabuf? Also, why can't I get dmabuf-import to work? Could this be a driver issue on my end?