Hi,
You can create NvBuffer in desired width/height and call NvBufferTransform() to convert decoded frames to the buffer. And then call encodeFromFd() to encode to JPEGs. May refer to code about MJPEG decoding in 12_camera_v4l2_cuda
Hi,
You can create NvBuffer in desired width/height and call NvBufferTransform() to convert decoded frames to the buffer. And then call encodeFromFd() to encode to JPEGs. May refer to code about MJPEG decoding in 12_camera_v4l2_cuda