Hi all,
I’m developing a OSD drawing gstreamer plugin for Jetson camera. My expected pipeline is:
gst-launch-1.0 nvarguscamerasrc ! video/x-raw\(memory:NVMM\),width=1932,height=1090,format=NV12,framerate=30/1 \
! nvvidconv ! video/x-raw\(memory:NVMM\),format=RGBA \
! myosd ! fakesink
I plan to use nvosd.h APIs in myosd
custom plugin. But don’t have any idea to connect the DMA buffer fd (needed by nvosd APIs) and NVMM memory (can be gotten from GstBufer in transform_ip
plugin function?)
Can you please share some clues to:
- get GPU image buffer from GstBuffer
- get DMABUF FD from GPU image or GstBuffer
- Can cuda process function via
nvivafilter
plugin get metadata from pipeline?
Thank you for sharing.