Deepstream5 JPEG encoder

Hi,
For saving the whole frame, you would need to use NvBufSurface APIs and cv::imwrite(). Please refer to