i want to set option V4L_MEMORY_USERPTR, i had try with --stream-user, but it was fail like this
$ v4l2-ctl --set-fmt-video=width=1280,height=720,pixelformat=UYVY --stream-user --stream-count=1 -d /dev/video0 --verbose
VIDIOC_QUERYCAP: ok
VIDIOC_G_FMT: ok
VIDIOC_S_FMT: ok
Format Video Capture:
Width/Height : 1280/720
Pixel Format : 'UYVY'
Field : None
Bytes per Line : 2560
Size Image : 1843200
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Limited Range)
Flags :
VIDIOC_REQBUFS: ok
VIDIOC_QUERYBUF: ok
VIDIOC_QBUF: failed: Invalid argument
i found older thread, and updated v4l2-ctl to newest, tried again, but I got same result.
are there any check points using v4l2-ctl with V4L_MEMORY_USERPTR option?
it was failed, i was trying check with v4l2-ctl util.
but, i think there are some different way to use V4L2_MEMORY_USERPTR.
i checked Multimedia example source code, i can’t found example using V4L2_MEMORY_USERPTR.
where can i get some example for using V4L2_MEMORY_USERPTR option?
thank you ShaneCCC
I will check the example.
and i tried use v4l2-ctl newest version repo from here: GitHub - gjasny/v4l-utils
but it did not works.
where did you get src code of your v4l2-ctl-t186 binary ?