Gstreamer pipeline using nvv4l2h264enc to write from shared memory

Hi,
By using NvBuffer APIs, you can get NvBuffer in appsink and send to appsrc. Please check the samples:
[get NvBuffer in appsink]
How to run RTP Camera in deepstream on Nano - #29 by DaneLLL
[send NvBuffer to appsrc]
Creating a GStreamer source that publishes to NVMM - #7 by DaneLLL