We have a plugin that uses ExtractFdFromNvBuffer. It fails when the source is v4l2src.
This works:
gst-launch-1.0 v4l2src ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=NV12’ ! nvegltransform ! nveglglessink -e
But not this:
gst-launch-1.0 v4l2src ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=NV12’ ! nvtracker ! nvegltransform ! nveglglessink -e
Getting
PosixMemMap:71 [9] mmap failed
nvcaffe-gie Buffer mapping failed
nvbuf_utils: dmabuf_fd 1828717655 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
Presumably nvtracker uses ExtractFdFromNvBuffer too.
We are using a WebCam