Alternatives to directly writing framebuffer?

Hi,
Due to security concern, this is not supported.

The supported use-case is to access frame data in NvBufSurface. If your data source is from camera or video file, the data can be captured into NvBufSurface and you can access it though NvBufSurface APIs.