There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
This is not copy. Please create NvBufSurface as the sample in nvdsexample /opt/nvidia/deepstream/deepdtream/sources/gst-plugins/gst-dsexample