How can I set my custom memory buffer to v4l2src userptr?
dongjin.ha at 42dot.ai
Thu Mar 4 08:31:12 UTC 2021
My c++ application runs the camera with
For example, my command string is here.
"v4l2src device=/dev/video" + std::to_string(num) + " ! video/x-raw,
format=UYVY, width=1920,height=1080 ! \
videoconvert ! video/x-raw, format=RGB ! appsink name=mysink"
Actually with this command, there's no problem.
But I want to allocate specific buffer and make my gst command use it.
I could set v4l2src io-mode to userptr but I don't know how can I assign my
buffer to my gstreamer pipeline in my application.
Could you help or give some guide to assign my buffer to my gstreamer
Thanks in advance.
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel